#include "petscsnes.h" PetscErrorCode SNESMonitorSet(SNES snes,PetscErrorCode (*f)(SNES,PetscInt,PetscReal,void*),void *mctx,PetscErrorCode (*monitordestroy)(void**))Logically Collective on SNES Many br
snes | - the SNES context Many br | |
f | - the monitor function, see SNESMonitorFunction for the calling sequence Many br | |
mctx | - [optional] user-defined context for private data for the Many brmonitor routine (use NULL if no context is desired) Many br | |
monitordestroy | - [optional] routine that frees monitor context Many br(may be NULL) Many br |
-snes_monitor | - sets SNESMonitorDefault() Many br | |
-snes_monitor_lg_residualnorm | - sets line graph monitor, Many bruses SNESMonitorLGCreate() Many br | |
-snes_monitor_cancel | - cancels all monitors that have Many brbeen hardwired into a code by Many brcalls to SNESMonitorSet(), but Many brdoes not cancel those set via Many brthe options database. Many br |
Fortran notes: Only a single monitor function can be set for each SNES object Many br
Many br
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