MeshCoarsen

Coarsen a mesh based on area constraints.

Synopsis

#include "mesh.h" 
int MeshCoarsen(Mesh mesh, PointFunction area, Mesh *newmesh)
Collective on Mesh

Input Parameters

mesh - The initial mesh
area - A function which gives an area constraint when evaluated inside an element

Output Parameter

newmesh -The coarse mesh

Note

If PETSC_NULL is used for the 'area' argument, then the mesh consisting only of vertices is returned.

Keywords

mesh, coarsening

See Also

MeshRefine(), MeshDestroy()

Level:beginner
Location:
src/mesh/interface/mesh.c
Index of all Mesh routines
Table of Contents for all manual pages
Index of all manual pages