# PCDeflationGetCoarseKSP
Returns the coarse problem `KSP`. 
## Synopsis
```
#include "petscksp.h" 
PetscErrorCode PCDeflationGetCoarseKSP(PC pc, KSP *ksp)
```
Not Collective


## Input Parameter

- ***pc -*** preconditioner context



## Output Parameter

- ***ksp -*** coarse problem `KSP` context





## See Also
 `PCDEFLATION`, `PCDeflationSetCoarseMat()`

## Level
advanced

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

## Implementations

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/deflation/deflation.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)  
