petsc-3.12.5 2020-03-29
SNESMonitorDefault
Monitors progress of the SNES solvers (default).
Synopsis
#include "petsc/private/snesimpl.h"
PetscErrorCode SNESMonitorDefault(SNES snes,PetscInt its,PetscReal fgnorm,PetscViewerAndFormat *vf)
Collective on SNES
Input Parameters
| snes | - the SNES context
|
| its | - iteration number
|
| fgnorm | - 2-norm of residual
|
| vf | - viewer and format structure
|
Notes
This routine prints the residual norm at each iteration.
See Also
SNESMonitorSet(), SNESMonitorSolution()
Level
intermediate
Location
src/snes/interface/snesut.c
Examples
src/snes/examples/tutorials/ex12.c.html
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages