petsc-3.3-p7 2013-05-11

DMRefine

Refines a DM object

Synopsis

#include "petscdm.h"     
PetscErrorCode  DMRefine(DM dm,MPI_Comm comm,DM *dmf)
Collective on DM

Input Parameter

dm - the DM object
comm - the communicator to contain the new DM object (or MPI_COMM_NULL)

Output Parameter

dmf -the refined DM, or PETSC_NULL

Note: If no refinement was done, the return value is PETSC_NULL

See Also

DMCoarsen(), DMDestroy(), DMView(), DMCreateGlobalVector(), DMCreateInterpolation()

Level:developer
Location:
src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/dm/examples/tutorials/ex3.c.html
src/snes/examples/tutorials/ex52.c.html
src/snes/examples/tutorials/ex62.c.html