: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 src/ksp/pc/impls/redistribute/redistribute.c --- [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)