Abstract PETSc object that manages all Krylov methods. This is the object that manages the linear solves in PETSc (even those such as direct factorization-based solvers that do no use Krylov accelerators).
typedef struct _p_KSP *KSP;
When a direct solver is used, but no Krylov solver is used, the
KSP object is still used but with a
KSPPREONLY (or equivalently
KSPNONE), meaning that only application of the preconditioner is used as the linear solver.
Summary of Sparse Linear Solvers Available In PETSc, KSP: Linear System Solvers,
_p_KSP in include/petsc/private/kspimpl.h
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages