petsc-3.3-p7 2013-05-11

DMMeshRefine

Refines the mesh.

Synopsis

#include "petscdmmesh.h"   
PetscErrorCode DMMeshRefine(DM mesh, double refinementLimit, PetscBool  interpolate, DM *refinedMesh)
Not Collective

Input Parameters

mesh - The original DMMesh object
refinementLimit - The maximum size of any cell
interpolate - Flag to create intermediate mesh elements

Output Parameter

refinedMesh -The refined DMMesh object

Keywords

mesh, elements

See Also

DMMeshCreate(), DMMeshGenerate()

Level:intermediate
Location:
src/dm/impls/mesh/mesh.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex12.c.html