GVecErrorSNESMonitor

Displays the error at each iteration.

Synopsis

int GVecErrorSNESMonitor(SNES snes,int it,double rnorm,void* dummy)
Collective on SNES

Input Parameters

snes - the nonlinear context
it - the number of iterations so far
rnorm - the current (approximate) residual norm
ctx - viewer

Notes

The final argument to SNESSetMonitor() with this routine must bea pointer to a GVecErrorSNESMonitorCtx.

See Also

SNESDefaultMonitor(),SNESSetMonitor(),,GVecSolutionSNESMonitor(),
GVecResidualSNESMonitor()

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