#include "petscts.h" PetscErrorCode PETSCTS_DLLEXPORT TSComputeIJacobian(TS ts,PetscReal t,Vec X,Vec Xdot,PetscReal shift,Mat *A,Mat *B,MatStructure *flg)Collective on TS and Vec
Input
ts | - the TS context | |
t | - current timestep | |
X | - state vector | |
Xdot | - time derivative of state vector | |
shift | - shift to apply, see note below |
A | - Jacobian matrix | |
B | - optional preconditioning matrix | |
flag | - flag indicating matrix structure |
dF/dX + shift*dF/dXdot
Most users should not need to explicitly call this routine, as it is used internally within the nonlinear solvers.
TSComputeIJacobian() is valid only for TS_NONLINEAR
Level:developer
Location:src/ts/interface/ts.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages