:orphan:
# PCRedistributeGetKSP
Gets the `KSP` created by the `PCREDISTRIBUTE` 
## Synopsis
```
#include "petscksp.h" 
PetscErrorCode PCRedistributeGetKSP(PC pc, KSP *innerksp)
```
Not Collective


## Input Parameter

- ***pc -*** the preconditioner context



## Output Parameter

- ***innerksp -*** the inner `KSP`





## See Also
 `KSP`, `PCREDISTRIBUTE`

## Level
advanced

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


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