petsc-3.11.4 2019-09-28
TSTrajectorySetTransform
Solution vector will be transformed by provided function before being saved to disk
Synopsis
#include "petscts.h"
PetscErrorCode TSTrajectorySetTransform(TSTrajectory tj,PetscErrorCode (*transform)(void*,Vec,Vec*),PetscErrorCode (*destroy)(void*),void *tctx)
Collective on TSLGCtx
Input Parameters
| tj | - the TSTrajectory context
|
| transform | - the transform function
|
| destroy | - function to destroy the optional context
|
| ctx | - optional context used by transform function
|
Keywords
TSTrajectory, vector, monitor, view
See Also
TSTrajectorySetVariableNames(), TSTrajectory, TSMonitorLGSetTransform()
Level
intermediate
Location
src/ts/trajectory/interface/traj.c
Examples
src/ts/examples/tutorials/extchem.c.html
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages