KSPSingularValueMonitor
Prints the two norm of the true residual and estimation of the extreme singular values of the preconditioned problem at each iteration.
Synopsis
int KSPSingularValueMonitor(KSP ksp,int n,double rnorm,void *dummy)
Collective on
KSP
Input Parameters
ksp | - the iterative context
|
n | - the iteration
|
rnorm | - the two norm of the residual
|
Options Database Key
-ksp_singmonitor -Activates KSPSingularValueMonitor()
Notes
The CG solver uses the Lanczos technique for eigenvalue computation,
while GMRES uses the Arnoldi technique; other iterative methods
donot currently compute singular values.
Keywords
KSP, CG, default, monitor, extreme, singular values, Lanczos, Arnoldi
See Also
KSPComputeExtremeSingularValues()
Location: src/ksp/interface/iterativ.c
KSP Index
Table of Contents