petsc-3.5.4 2015-05-23
Report Typos and Errors

KSP

Abstract PETSc object that manages all Krylov methods. This is the object that manages the linear solves in PETSc (even those such as direct solvers that do no use Krylov accelerators).

Synopsis

typedef struct _p_KSP*     KSP;

Notes: When a direct solver is used but no Krylov solver is used the KSP object is still used by with a KSPType of KSPPREONLY (meaning application of the preconditioner is only used as the linear solver).

See Also

KSPCreate(), KSPSetType(), KSPType, SNES, TS, PC, KSP, KSPDestroy()

Level:beginner
Location:
src/ksp/ksp/../../../include/petscksp.h
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ksp/ksp/examples/tutorials/ex1.c.html
src/ksp/ksp/examples/tutorials/ex2.c.html
src/ksp/ksp/examples/tutorials/ex3.c.html
src/ksp/ksp/examples/tutorials/ex5.c.html
src/ksp/ksp/examples/tutorials/ex7.c.html
src/ksp/ksp/examples/tutorials/ex8.c.html
src/ksp/ksp/examples/tutorials/ex8g.c.html
src/ksp/ksp/examples/tutorials/ex9.c.html
src/ksp/ksp/examples/tutorials/ex10.c.html
src/ksp/ksp/examples/tutorials/ex11.c.html
src/ksp/ksp/examples/tutorials/ex12.c.html