TSRHSJacobianP#
A prototype of a function that computes the Jacobian of G w.r.t. the parameters P where U_t = G(U,P,t), as well as the location to store the matrix that would be passed to TSSetRHSJacobianP()
Synopsis#
#include <petscts.h>
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode (*TSRHSJacobianP)(TS ts, PetscReal t, Vec U, Mat A, void *ctx);
Calling Sequence#
ts - the
TS
contextt - current timestep
U - input vector (current ODE solution)
A - output matrix
ctx - [optional] user-defined function context
See Also#
TS: Scalable ODE and DAE Solvers, TS
, TSSetRHSJacobianP()
, TSGetRHSJacobianP()
Level#
beginner
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages