TSMonitorDMDARay#
Monitors the solution of a DMDA-based TS by scattering values along a ray to a viewer
Synopsis#
#include "petscdmda.h"
#include "petscts.h"
PetscErrorCode TSMonitorDMDARay(TS ts, PetscInt steps, PetscReal time, Vec u, void *mctx)
Collective
Input Parameters#
ts - the
TScontextsteps - the current time-step number
time - the current time
u - the current solution (unused; the current
TSsolution is fetched)mctx - the
TSMonitorDMDARayCtxcontext
Note#
This is not called directly by users; pass this function to TSMonitorSet() along with a context that has been populated with the scatter and viewer describing the ray.
See Also#
TS: Scalable ODE and DAE Solvers, TS, DMDA, TSMonitorSet(), TSMonitorLGDMDARay(), TSMonitorDMDARayDestroy()
Level#
developer
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages