:orphan: # DMPlexGetRegularRefinement Get the flag indicating that this mesh was obtained by regular refinement from its coarse mesh ## Synopsis ``` #include "petscdmplex.h" PetscErrorCode DMPlexGetRegularRefinement(DM dm, PetscBool *regular) ``` ## Input Parameter - ***dm -*** The `DMPLEX` object ## Output Parameter - ***regular -*** The flag ## See Also [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexSetRegularRefinement()` ## 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)