#include "petscts.h" PetscErrorCode TSGetIJacobian(TS ts,Mat *Amat,Mat *Pmat,TSIJacobian *f,void **ctx)Not Collective, but parallel objects are returned if TS is parallel
ts | - The TS context obtained from TSCreate() |
Amat | - The (approximate) Jacobian of F(t,U,U_t) | |
Pmat | - The matrix from which the preconditioner is constructed, often the same as Amat | |
f | - The function to compute the matrices | |
ctx | - User-defined context for Jacobian evaluation routine |