# DMPlexInflateToGeomModel
Snaps the vertex coordinates of a `DMPLEX` object representing the mesh to its geometry if some vertices depart from the model. This usually happens with non-conforming refinement. 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexInflateToGeomModel(DM dm)
```
Collective on dm


## Input Parameter

- ***dm -*** The uninflated `DM` object representing the mesh



## Output Parameter

- ***dm -*** The inflated `DM` object representing the mesh





## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMCreate()`, `DMPlexCreateEGADS()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexegads.c.html#DMPlexInflateToGeomModel">src/dm/impls/plex/plexegads.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexegads.c)


[Index of all DMPlex routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
