DMAdaptFlag — PETSc 3.22.5 documentation

Skip to main content
`Ctrl`+`K`

# DMAdaptFlag

Marker in the label prescribing what adaptation to perform

## Synopsis

    typedef enum {
      DM_ADAPT_DETERMINE = PETSC_DETERMINE,
      DM_ADAPT_KEEP      = 0,
      DM_ADAPT_REFINE,
      DM_ADAPT_COARSEN,
      DM_ADAPT_COARSEN_LAST,
      DM_ADAPT_RESERVED_COUNT
    } DMAdaptFlag;

## Values

- `DM_ADAPT_DETERMINE` - undocumented

- `DM_ADAPT_KEEP` - undocumented

- `DM_ADAPT_REFINE` - undocumented

- `DM_ADAPT_COARSEN` - undocumented

- `DM_ADAPT_COARSEN_LAST` - undocumented

## See Also

DM Basics, `DM`, `DMAdaptor`, `DMAdaptationStrategy`, `DMAdaptationCriterion`, `DMAdaptorSolve()`, `DMAdaptLabel()`

## Level

beginner

## Location

include/petscdmtypes.h

## Examples

src/ts/tutorials/ex11.c
src/dm/impls/plex/tutorials/ex10.c
src/snes/tutorials/ex27.c

## Examples

src/ts/tutorials/ex11.c
src/ts/tutorials/ex30.c
src/dm/impls/plex/tutorials/ex10.c
src/snes/tutorials/ex27.c

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