TSDMSwarmMonitorMoments#
Monitors the first three moments of a DMSarm being evolved by the TS
Synopsis#
#include "petscts.h"
PetscErrorCode TSDMSwarmMonitorMoments(TS ts, PetscInt step, PetscReal t, Vec U, PetscViewerAndFormat *vf)
Not collective
Input Parameters#
ts - the TS context
step - current timestep
t - current time
u - current solution
ctx - not used
Options Database#
-ts_dmswarm_monitor_moments - Monitor moments of particle distribution
Notes#
This requires a DMSwarm be attached to the TS.
This is not called directly by users, rather one calls TSMonitorSet(), with this function as an argument, to cause the monitor
to be used during the TS integration.
See Also#
Level#
intermediate
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages