petsc-main 2021-04-20
Report Typos and Errors

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

Notes

This requires a DMSwarm be attached to the TS.

See Also

TSMonitorSet(), TSMonitorDefault(), DMSWARM

Level

intermediate

Location

src/ts/interface/tsmon.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages