DMForestGetAdaptivityLabel#

Get the label of the pre-adaptation forest (see DMForestGetAdaptivityForest()) that holds the adaptation flags (refinement, coarsening, or some combination).

Synopsis#

#include "petscdmforest.h" 
#include "petscdm.h" 
#include "petscdmlabel.h" 
PetscErrorCode DMForestGetAdaptivityLabel(DM dm, DMLabel *adaptLabel)

Not Collective

Input Parameter#

  • dm - the forest

Output Parameter#

  • adaptLabel - the name of the label in the pre-adaptation forest

Note#

The interpretation of the label values is up to the subtype of DMFOREST, but DM_ADAPT_DETERMINE, DM_ADAPT_KEEP, DM_ADAPT_REFINE, and DM_ADAPT_COARSEN have been reserved as choices that should be accepted by all subtypes.

See Also#

DM, DMFOREST, DMForestSetAdaptivityLabel()

Level#

intermediate

Location#

src/dm/impls/forest/forest.c


Index of all DMForest routines
Table of Contents for all manual pages
Index of all manual pages