SNESDefaultMonitor

Monitoring progress of the SNES solvers (default).

Synopsis

int SNESDefaultMonitor(SNES snes,int its,double fgnorm,void *dummy)
Collective on SNES

Input Parameters

snes - the SNES context
its - iteration number
fgnorm - 2-norm of residual (or gradient)
dummy - unused context

Notes

For SNES_NONLINEAR_EQUATIONS methods the routine prints theresidual norm at each iteration.

For SNES_UNCONSTRAINED_MINIMIZATION methods the routine prints thefunction value and gradient norm at each iteration.

Keywords

SNES, nonlinear, default, monitor, norm

See Also

SNESSetMonitor()

Location: src/snes/interface/snesut.c
SNES Index
Table of Contents