:orphan:
# DMPlexInterpolate
Take in a cell-vertex mesh and return one with all intermediate faces, edges, etc. 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexInterpolate(DM dm, DM *dmInt)
```
Collective


## Input Parameter

- ***dm -*** The `DMPLEX` object with only cells and vertices



## Output Parameter

- ***dmInt -*** The complete `DMPLEX` object





## Note
Labels and coordinates are copied.


## Developer Note
It sets plex->interpolated = `DMPLEX_INTERPOLATED_FULL`.


## See Also
 `DMPLEX`, `DMPlexUninterpolate()`, `DMPlexCreateFromCellListPetsc()`, `DMPlexCopyCoordinates()`

## Level
intermediate

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

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/tutorials/ex3f90.F90.html">src/dm/impls/plex/tutorials/ex3f90.F90</A><BR>


---
[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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
