TSMonitorLGCtxSetTransform#
Solution vector will be transformed by provided function before being displayed
Synopsis#
#include "petscts.h"
PetscErrorCode TSMonitorLGCtxSetTransform(TSMonitorLGCtx ctx, PetscErrorCode (*transform)(void *, Vec, Vec *), PetscCtxDestroyFn *destroy, void *tctx)
Collective
Input Parameters#
tctx - the
TS
contexttransform - the transform function
destroy - function to destroy the optional context, see
PetscCtxDestroyFn
for its calling sequencectx - optional context used by transform function
See Also#
TS: Scalable ODE and DAE Solvers, TS
, TSMonitorSet()
, TSMonitorDefault()
, VecView()
, TSMonitorLGSetVariableNames()
, TSMonitorLGSetTransform()
, PetscCtxDestroyFn
Level#
intermediate
Location#
Examples#
src/ts/tutorials/extchemfield.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages