: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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plex.c.html#DMPlexGetRegularRefinement">src/dm/impls/plex/plex.c</A>


---
[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)  
