:orphan:
# PCHPDDMGetCoarseCorrectionType
Gets the coarse correction type.
## Synopsis
```
#include "petscpc.h"
PetscErrorCode PCHPDDMGetCoarseCorrectionType(PC pc, PCHPDDMCoarseCorrectionType *type)
```
## Input Parameter
- ***pc -*** preconditioner context
## Output Parameter
- ***type -*** `PC_HPDDM_COARSE_CORRECTION_DEFLATED`, `PC_HPDDM_COARSE_CORRECTION_ADDITIVE`, or `PC_HPDDM_COARSE_CORRECTION_BALANCED`
## See Also
`PCHPDDMSetCoarseCorrectionType()`, `PCHPDDM`, `PCHPDDMCoarseCorrectionType`
## Level
intermediate
## Location
src/ksp/pc/impls/hpddm/pchpddm.cxx
## Implementations
PCHPDDMGetCoarseCorrectionType_HPDDM in src/ksp/pc/impls/hpddm/pchpddm.cxx
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/hpddm/pchpddm.cxx)
[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)