PCPatchGetSubKSP#
Get the per-patch KSP objects used to solve each local patch problem in a PCPATCH preconditioner
Synopsis#
#include "petscpc.h"
#include "petscmat.h"
PetscErrorCode PCPatchGetSubKSP(PC pc, PetscInt *npatch, KSP *ksp[])
Not Collective
Input Parameter#
pc - the
PCPATCHpreconditioner
Output Parameters#
Note#
PCSetUp() must have been called on the PCPATCH (typically through KSPSetUp() on the outer KSP) before calling this routine.
See Also#
Level#
advanced
Location#
src/ksp/pc/impls/patch/pcpatch.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages