#include "petscts.h" PetscErrorCode TSMonitorError(TS ts,PetscInt step,PetscReal ptime,Vec u,PetscViewerAndFormat *vf)Collective on TS
ts | - the TS context | |
step | - current time-step | |
ptime | - current time | |
u | - current solution | |
dctx | - unused context |
The user must provide the solution using TSSetSolutionFunction() to use this monitor.
-ts_monitor_error | - create a graphical monitor of error history |