TSComputeIJacobian#
Evaluates the Jacobian of the DAE
Synopsis#
#include "petscts.h"
PetscErrorCode TSComputeIJacobian(TS ts, PetscReal t, Vec U, Vec Udot, PetscReal shift, Mat A, Mat B, PetscBool imex)
Collective
Input Parameters#
Output Parameters#
A - Jacobian matrix
B - matrix from which the preconditioner is constructed; often the same as
A
Notes#
If F(t,U,Udot)=0 is the DAE, the required Jacobian is
dF/dU + shift*dF/dUdot
Most users should not need to explicitly call this routine, as it is used internally within the nonlinear solvers.
See Also#
Level#
developer
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages