:orphan:
# PCMGGetAdaptInterpolation
Get the flag to adapt the interpolator based upon a vector space which should be accurately captured by the next coarser mesh, and thus accurately interpolated. 
## Synopsis
```
#include "petscksp.h" 
PetscErrorCode PCMGGetAdaptInterpolation(PC pc, PetscBool *adapt)
```
Not Collective


## Input Parameter

- ***pc    -*** the multigrid context



## Output Parameter

- ***adapt -*** flag for adaptation of the interpolator





## See Also
 `PCMG`, `PCMGSetAdaptInterpolation()`, `PCMGSetGalerkin()`, `PCMGGetAdaptCoarseSpaceType()`, `PCMGSetAdaptCoarseSpaceType()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/mg/mg.c.html#PCMGGetAdaptInterpolation">src/ksp/pc/impls/mg/mg.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/mg/mg.c.html#PCMGGetAdaptInterpolation_MG">PCMGGetAdaptInterpolation_MG in src/ksp/pc/impls/mg/mg.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/mg/mg.c)


[Index of all PC routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
