MeshReform

Reform a mesh using the original boundary.

Synopsis

#include "meshMovement.h" 
#include "grid.h" 
#include "gvec.h" 
int MeshReform(Mesh mesh, PetscTruth refine, PointFunction area, PetscTruth newBd, Mesh *newMesh)
Collective on Mesh

Input Parameters

mesh - The previous mesh
refine - Flag indicating whether to refine or recreate the mesh
area - A function which gives an area constraint when evaluated inside an element
newBd - Flag to determine whether the boundary should be generated (PETSC_TRUE) or taken from storage

Output Parameter

newMesh -The new mesh

Keywords

mesh, refinement, reform

See Also

MeshReform(), MeshSetBoundary()

Level:beginner
Location:
src/gvec/interface/meshMovement.c
Index of all GVec routines
Table of Contents for all manual pages
Index of all manual pages