PCKSPGetKSP#
Gets the KSP context for a PCKSP.
Synopsis#
#include "petscksp.h" 
PetscErrorCode PCKSPGetKSP(PC pc, KSP *ksp)
Not Collective but ksp returned is parallel if pc was parallel
Input Parameter#
- pc - the preconditioner context 
Output Parameter#
- ksp - the - KSPsolver
Note#
See Also#
Level#
advanced
Location#
Examples#
Implementations#
PCKSPGetKSP_KSP() in src/ksp/pc/impls/ksp/pcksp.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages