GVecErrorKSPMonitor

Displays the error at each iteration.

Synopsis

int GVecErrorKSPMonitor(KSP ksp,int it,double rnorm,void* dummy)
Collective on KSP

Input Parameters

ksp - the Krylov subspace context
it - the number of iterations so far
rnorm - the current (approximate) residual norm
ctx - viewer

Notes

The final argument to KSPSetMonitor() with this routine must bea pointer to a GVecErrorKSPMonitorCtx.

See Also

KSPDefaultMonitor(),KSPSetMonitor(),,GVecSolutionKSPMonitor(),
GVecResidualKSPMonitor(), GVecRhsKSPMonitor()

Location: src/gvec/interface/gvecksp.c
Discrete Function Index
Table of Contents