DMRefineHierarchy#
Refines a DM
object, all levels at once
Synopsis#
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMRefineHierarchy(DM dm, PetscInt nlevels, DM dmf[])
Collective
Input Parameters#
dm - the
DM
objectnlevels - the number of levels of refinement
Output Parameter#
dmf - the refined
DM
hierarchy
See Also#
DM Basics, DM
, DMCoarsen()
, DMCoarsenHierarchy()
, DMDestroy()
, DMView()
, DMCreateGlobalVector()
, DMCreateInterpolation()
Level#
developer
Location#
Examples#
src/ts/tutorials/ex30.c
src/snes/tutorials/ex48.c
src/ksp/ksp/tutorials/ex35.cxx
src/ksp/ksp/tutorials/ex36.cxx
Implementations#
DMRefineHierarchy_DA() in src/dm/impls/da/da.c
DMRefineHierarchy_Moab() in src/dm/impls/moab/dmmbmg.cxx
DMRefineHierarchy_Plex() in src/dm/impls/plex/plexrefine.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages