#include "petscts.h" PetscErrorCode TSComputeIJacobianP(TS ts,PetscReal t,Vec U,Vec Udot,PetscReal shift,Mat Amat,PetscBool imex)Collective on TS
ts | - the TS context | |
t | - current timestep | |
U | - state vector | |
Udot | - time derivative of state vector | |
shift | - shift to apply, see note below | |
imex | - flag indicates if the method is IMEX so that the RHSJacobian should be kept separate |
A | - Jacobian matrix |