MeshTriangular2DCalcAreas

Calculate and store the area of each element

Synopsis

#include "mesh.h" 
int MeshTriangular2DCalcAreas(Mesh mesh, PetscTruth create)
Collective on Mesh

Input Parameters

mesh - The mesh
create - The flag which creates the storage if it does not already exist

Note

If areas have not been calculated before, and 'create' is PETSC_FALSE, then no action taken.

Keywords

mesh, element, area

See Also

MeshTriangular2DCalcAspectRatios()

Level:beginner
Location:
src/mesh/impls/triangular/2d/tri2d.c
Index of all Mesh routines
Table of Contents for all manual pages
Index of all manual pages