#include "petscts.h" PetscErrorCode TSGetRHSJacobian(TS ts,Mat *Amat,Mat *Pmat,TSRHSJacobian *func,void **ctx)Not Collective, but parallel objects are returned if TS is parallel
ts | - The TS context obtained from TSCreate() |
Amat | - The (approximate) Jacobian J of G, where U_t = G(U,t) (or NULL) | |
Pmat | - The matrix from which the preconditioner is constructed, usually the same as Amat (or NULL) | |
func | - Function to compute the Jacobian of the RHS (or NULL) | |
ctx | - User-defined context for Jacobian evaluation routine (or NULL) |