: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
src/ksp/pc/impls/mg/mg.c
## Implementations
PCMGGetAdaptInterpolation_MG in src/ksp/pc/impls/mg/mg.c
---
[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)