:orphan: # DMPlexSetRegularRefinement Set the flag indicating that this mesh was obtained by regular refinement from its coarse mesh ## Synopsis ``` #include "petscdmplex.h" PetscErrorCode DMPlexSetRegularRefinement(DM dm, PetscBool regular) ``` ## Input Parameters - ***dm -*** The `DMPLEX` object - ***regular -*** The flag ## See Also [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexGetRegularRefinement()` ## Level intermediate ## Location src/dm/impls/plex/plex.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plex.c) [Index of all DMPlex routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)