TSMonitorLGSNESIterations#

Monitors the number of nonlinear (SNES) iterations used per time step in a line-graph plot

Synopsis#

#include "petscts.h"  
PetscErrorCode TSMonitorLGSNESIterations(TS ts, PetscInt n, PetscReal ptime, Vec v, PetscCtx monctx)

Collective

Input Parameters#

  • ts - the TS context

  • n - iteration number (a negative value indicates an interpolated solution and is ignored)

  • ptime - current time

  • v - current solution

  • monctx - the TSMonitorLGCtx object that contains all the options for the monitoring, created with TSMonitorLGCtxCreate()

Note#

This is not called directly by users; pass this function to TSMonitorSet() along with the context created by TSMonitorLGCtxCreate() and TSMonitorLGCtxDestroy().

See Also#

TS: Scalable ODE and DAE Solvers, TS, TSMonitorSet(), TSMonitorLGCtxCreate(), TSMonitorLGKSPIterations()

Level#

intermediate

Location#

src/ts/interface/tsmon.c


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