:orphan: # 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`, `DMAdaptor`, `DMAdaptationStrategy`, `DMAdaptationCriterion`, `DMAdaptorSolve()`, `DMAdaptLabel()` ## Level beginner ## Location include/petscdmtypes.h ## Examples src/dm/impls/plex/tutorials/ex10.c
src/ts/tutorials/ex11.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscdmtypes.h) [Index of all DM routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)