# DMPlexUninterpolate
Take in a mesh with all intermediate faces, edges, etc. and return a cell-vertex mesh 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexUninterpolate(DM dm, DM *dmUnint)
```
Collective on dm


## Input Parameter

- ***dm -*** The complete DMPlex object



## Output Parameter

- ***dmUnint -*** The DMPlex object with only cells and vertices





## Notes
It does not copy over the coordinates.


## Developer Notes
It sets plex->interpolated = DMPLEX_INTERPOLATED_NONE.


## See Also
 `DMPlexInterpolate()`, `DMPlexCreateFromCellListPetsc()`, `DMPlexCopyCoordinates()`

## Level
intermediate

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexinterpolate.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)  
