TSForcingFunction#
A prototype of a TS
forcing function evaluation function that would be passed to TSSetForcingFunction()
Synopsis#
#include <petscts.h>
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode (*TSForcingFunction)(TS ts, PetscReal t, Vec f, void *ctx);
Calling Sequence#
ts - timestep context
t - current time
f - output vector
ctx - [optional] user-defined function context
See Also#
TS: Scalable ODE and DAE Solvers, TS
, TSSetForcingFunction()
, DMTSSetForcingFunction()
Level#
advanced
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages