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