:orphan:
# DMInterpolationCreate
Creates a `DMInterpolationInfo` context
## Synopsis
```
#include "petscdmplex.h"
#include "petscsnes.h"
PetscErrorCode DMInterpolationCreate(MPI_Comm comm, DMInterpolationInfo *ctx)
```
Collective
## Input Parameter
- ***comm -*** the communicator
## Output Parameter
- ***ctx -*** the context
## See Also
`DMInterpolationInfo`, `DMInterpolationEvaluate()`, `DMInterpolationAddPoints()`, `DMInterpolationDestroy()`
## Level
beginner
## Location
src/snes/utils/dmplexsnes.c
## Examples
src/snes/tutorials/ex63.c
src/ts/tutorials/ex77.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/utils/dmplexsnes.c)
[Index of all SNES routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)