SNESMonitorLGRange#

Line-graph monitor that plots the residual norm together with residual-range statistics for a SNESSolve()

Synopsis#

#include "petscsnes.h"  
#include "petscsnes.h"  
PetscErrorCode SNESMonitorLGRange(SNES snes, PetscInt n, PetscReal rnorm, PetscCtx monctx)

Collective

Input Parameters#

Note#

Plots four line graphs in the viewer: the residual norm (log scale), the fraction of residual entries larger than 20% of the maximum entry, the relative decrease (prev - rnorm)/prev, and their product.

See Also#

SNES: Nonlinear Solvers, SNES, SNESMonitorSet(), SNESMonitorDefault(), PetscViewerDrawGetDrawLG(), PetscDrawLG

Level#

intermediate

Location#

src/snes/interface/snes.c


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