KSPComputeExtremeSingularValues
Computes the extreme singular values for the preconditioned operator. Called after or during KSPSolve() (SLESSolve()).
Synopsis
int KSPComputeExtremeSingularValues(KSP ksp,double *emax,double *emin)
Not
Collective
Input Parameter
ksp -iterative context obtained from KSPCreate()
Output Parameters
emin, emax -extreme singular values
Notes
One must call KSPSetComputeSingularValues() before calling KSPSetUp()
(or use the option -ksp_eigen) in order for this routine to work correctly.
Many users may just want to use the monitoring
routineKSPSingularValueMonitor() (which can be set with option -ksp_singmonitor)
to print the singular values at each iteration of the linear solve.
Keywords
KSP, compute, extreme, singular, values
See Also
KSPSetComputeSingularValues(), KSPSingularValueMonitor(), KSPComputeEigenvalues()
Location: src/ksp/interface/itfunc.c
KSP Index
Table of Contents