:orphan: # DMInterpolationGetDim Gets the spatial dimension for the interpolation context ## Synopsis ``` #include "petscdmplex.h" #include "petscsnes.h" PetscErrorCode DMInterpolationGetDim(DMInterpolationInfo ctx, PetscInt *dim) ``` Not Collective ## Input Parameter - ***ctx -*** the context ## Output Parameter - ***dim -*** the spatial dimension ## See Also `DMInterpolationInfo`, `DMInterpolationSetDim()`, `DMInterpolationEvaluate()`, `DMInterpolationAddPoints()` ## Level intermediate ## Location src/snes/utils/dmplexsnes.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)