GSNESErrorMonitor

Displays the error at each iteration.

Synopsis

#include "petscsnes.h" 
#include "gsolver.h" 
int GSNESErrorMonitor(GSNES snes, int it, PetscReal rnorm, void *monCtx)
Collective on GSNES

Input Parameters

snes - The nonlinear context
it - The number of iterations so far
rnorm - The current (approximate) residual norm
monCtx - A GSNESErrorMonitorCtx

Notes

The final argument to SNESSetMonitor() with this routine must be a pointer to a GSNESErrorMonitorCtx.

Keywords

grid SNES, monitor, residual

See Also

GSNESSolutionMonitor(), GSNESResidualMonitor(), SNESDefaultMonitor(), SNESSetMonitor()

Level:advanced
Location:
src/gsolver/interface/gsnes.c
Index of all GSolver routines
Table of Contents for all manual pages
Index of all manual pages