TSGetRHSJacobianP#
Gets the 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.
Synopsis#
#include <petscts.h>
PetscErrorCode TSGetRHSJacobianP(TS ts, Mat *Amat, TSRHSJacobianP *func, void **ctx)
Logically Collective
Input Parameter#
Output Parameters#
Amat - JacobianP matrix
func - function
ctx - [optional] user-defined function context
Note#
Amat
has the same number of rows and the same row parallel layout as u
, Amat
has the same number of columns and parallel layout as p
See Also#
TS: Scalable ODE and DAE Solvers, TSSetRHSJacobianP()
, TS
, TSRHSJacobianP
Level#
intermediate
Location#
src/ts/interface/sensitivity/tssen.c
Index of all Sensitivity routines
Table of Contents for all manual pages
Index of all manual pages