:orphan: # DMDAGetInterpolationType Gets the type of interpolation that will be used by `DMCreateInterpolation()` ## Synopsis ``` #include "petscdmda.h" PetscErrorCode DMDAGetInterpolationType(DM da, DMDAInterpolationType *ctype) ``` Not Collective ## Input Parameter - ***da -*** distributed array ## Output Parameter - ***ctype -*** interpolation type (`DMDA_Q1` and `DMDA_Q0` are currently the only supported forms) ## See Also `DM`, `DMDA`, `DMDAInterpolationType`, `DMDASetInterpolationType()`, `DMCreateInterpolation()` ## Level intermediate ## Location src/dm/impls/da/da.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/da/da.c) [Index of all DMDA routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)