KSPPreSolve#

Runs the KSP pre-solve callbacks. Used in conjunction with KSPSetPreSolve() or the Eisenstat-Walker method.

Synopsis#

#include "petscksp.h" 
PetscErrorCode KSPPreSolve(KSP ksp, Vec rhs, Vec sol)

Collective

Input Parameters#

  • ksp - the solver object

  • rhs - the right-hand side vector

  • sol - the solution vector

Note#

KSPPreSolve() is typically used within KSPSolve(), so most users would not generally call this routine themselves.

See Also#

KSP: Linear System Solvers, KSPSolve(), KSP, KSPSetPreSolve(), KSPPostSolve(), SNESKSPSetUseEW()

Level#

developer

Location#

src/ksp/ksp/interface/itcreate.c

Implementations#

KSPPreSolve_SchurCorrection() in src/ksp/pc/impls/hpddm/pchpddm.cxx


Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages