TSRHSFunction#

A prototype of a TS right-hand-side evaluation function that would be passed to TSSetRHSFunction()

Synopsis#

#include <petscts.h> 
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode (*TSRHSFunction)(TS ts, PetscReal t, Vec u, Vec F, void *ctx);

Calling Sequence#

  • ts - timestep context

  • t - current time

  • u - input vector

  • F - function vector

  • ctx - [optional] user-defined function context

See Also#

TS: Scalable ODE and DAE Solvers, TS, TSSetRHSFunction(), DMTSSetRHSFunction(), TSIFunction(), TSIJacobian(), TSRHSJacobian()

Level#

beginner

Location#

include/petscts.h


Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages