#include "petscts.h" PetscErrorCode TSMonitorSPSwarmSolution(TS ts,PetscInt step,PetscReal ptime,Vec u,void *dctx)
ts | - the TS context | |
step | - current time-step | |
ptime | - current time | |
u | - current solution | |
dctx | - the TSMonitorSPCtx object that contains all the options for the monitoring, this is created with TSMonitorSPCtxCreate() |