TSMonitorLGKSPIterations#
Monitors the number of linear (KSP) iterations used per time step in a line-graph plot
Synopsis#
#include "petscts.h"
PetscErrorCode TSMonitorLGKSPIterations(TS ts, PetscInt n, PetscReal ptime, Vec v, PetscCtx monctx)
Collective
Input Parameters#
ts - the
TScontextn - iteration number (a negative value indicates an interpolated solution and is ignored)
ptime - current time
v - current solution
monctx - the
TSMonitorLGCtxobject that contains all the options for the monitoring, created withTSMonitorLGCtxCreate()
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(), TSMonitorLGSNESIterations()
Level#
intermediate
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages