# 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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/da/da.c.html#DMDAGetInterpolationType">src/dm/impls/da/da.c</A>


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