petsc-3.6.1 2015-08-06
Report Typos and Errors

SNESMonitorSetRatio

Sets SNES to use a monitor that prints the ratio of the function norm at each iteration.

Synopsis

#include "petsc/private/snesimpl.h"   
PetscErrorCode  SNESMonitorSetRatio(SNES snes,PetscViewer viewer)
Collective on SNES

Input Parameters

snes - the SNES context
viewer - ASCII viewer to print output

Keywords

SNES, nonlinear, monitor, norm

See Also

SNESMonitorSet(), SNESMonitorSolution(), SNESMonitorDefault()

Level:intermediate
Location:
src/snes/interface/snesut.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages