petsc-3.13.6 2020-09-29
Report Typos and Errors

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/tutorials/ex12.c.html

Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages