# PCMGSetAdaptCR
Monitor the coarse space quality using an auxiliary solve with compatible relaxation. 
## Synopsis
```
#include "petscksp.h" 
PetscErrorCode PCMGSetAdaptCR(PC pc, PetscBool cr)
```
Logically Collective


## Input Parameters

- ***pc -*** the multigrid context
- ***cr -*** flag for compatible relaxation



## Options Database Key

- ***-pc_mg_adapt_cr -*** Turn on compatible relaxation





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

## Level
intermediate

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

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/mg/mg.c.html#PCMGSetAdaptCR_MG">PCMGSetAdaptCR_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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
