#include "petscts.h" PetscErrorCode TSMonitor(TS ts,PetscInt step,PetscReal ptime,Vec u)Collective on TS
ts | - time stepping context obtained from TSCreate() | |
step | - step number that has just completed | |
ptime | - model time of the state | |
u | - state at the current model time |
A step of -1 indicates that the monitor is being called on a solution obtained by interpolating from computed solutions