SNESMonitor#

runs the user provided monitor routines, if they exist

Synopsis#

#include "petscsnes.h"  
PetscErrorCode SNESMonitor(SNES snes, PetscInt iter, PetscReal rnorm)

Collective

Input Parameters#

  • snes - nonlinear solver context obtained from SNESCreate()

  • iter - iteration number

  • rnorm - relative norm of the residual

Note#

This routine is called by the SNES implementations. It does not typically need to be called by the user.

See Also#

SNES: Nonlinear Solvers, SNES, SNESMonitorSet()

Level#

developer

Location#

src/snes/interface/snes.c


Edit on GitLab

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