TSSolutionFunction#

A TS solution evaluation function

Synopsis#

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

Calling Sequence#

  • ts - timestep context

  • t - current time

  • u - output vector

  • ctx - [optional] user-defined function context

See Also#

TS: Scalable ODE and DAE Solvers, TS, TSSetSolutionFunction(), DMTSSetSolutionFunction()

Level#

advanced

Location#

include/petscts.h


Edit on GitLab

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