TSMonitorWallClockTime#
Monitor wall-clock time, KSP iterations, and SNES iterations per step.
Synopsis#
#include "petscts.h"
PetscErrorCode TSMonitorWallClockTime(TS ts, PetscInt step, PetscReal ptime, Vec v, PetscViewerAndFormat *vf)
Input Parameters#
ts - the
TScontextstep - iteration number (after the final time step the monitor routine may be called with a step of -1, this indicates the solution has been interpolated to this time)
ptime - current time
v - current solution
vf - the viewer and format
Options Database Key#
-ts_monitor_wall_clock_time - Monitor wall-clock time, KSP iterations, and SNES iterations per step.
Note#
This is not called directly by users, rather one calls TSMonitorSetFromOptions(), with this function and TSMonitorWallClockTimeSetUp() as arguments, to cause the monitor
to be used during the TS integration.
See Also#
TS: Scalable ODE and DAE Solvers, TSMonitorSet(), TSMonitorDefault(), TSMonitorExtreme(), TSMonitorDrawSolution(),
TSMonitorDrawSolutionPhase(), TSMonitorDrawSolutionFunction(), TSMonitorDrawError(), TSMonitorSolution(), TSMonitorSolutionVTK(),
TSMonitorLGSolution(), TSMonitorLGError(), TSMonitorSPSwarmSolution(), TSMonitorError(), TSMonitorEnvelope(), TSDMSwarmMonitorMoments()
Level#
intermediate
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages