:orphan:
# DMInterpolationAddPoints
Add points at which we will interpolate the fields
## Synopsis
```
#include "petscdmplex.h"
#include "petscsnes.h"
PetscErrorCode DMInterpolationAddPoints(DMInterpolationInfo ctx, PetscInt n, PetscReal points[])
```
Not Collective
## Input Parameters
- ***ctx -*** the context
- ***n -*** the number of points
- ***points -*** the coordinates for each point, an array of size n * dim
## Note
The coordinate information is copied.
## See Also
`DMInterpolationInfo`, `DMInterpolationSetDim()`, `DMInterpolationEvaluate()`, `DMInterpolationCreate()`
## Level
intermediate
## 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)