TSRHSJacobian#

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

Synopsis#

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

Calling Sequence#

  • ts - the TS context obtained from TSCreate()

  • t - current time

  • u - input vector

  • Amat - (approximate) Jacobian matrix

  • Pmat - matrix from which preconditioner is to be constructed (usually the same as Amat)

  • ctx - [optional] user-defined context for matrix evaluation routine

See Also#

TS: Scalable ODE and DAE Solvers, TS, TSSetRHSJacobian(), DMTSSetRHSJacobian(), TSRHSFunction(), TSIFunction(), TSIJacobian()

Level#

beginner

Location#

include/petscts.h


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