TSRHSJacobianSetReuse#
restore the RHS Jacobian before calling the user-provided TSRHSJacobianFn
function again
Synopsis#
#include "petscts.h"
PetscErrorCode TSRHSJacobianSetReuse(TS ts, PetscBool reuse)
Logically Collective
Input Parameters#
reuse -
PETSC_TRUE
if the RHS Jacobian
Notes#
Without this flag, TS
will change the sign and shift the RHS Jacobian for a
finite-time-step implicit solve, in which case the user function will need to recompute the
entire Jacobian. The reuse
flag must be set if the evaluation function assumes that the
matrix entries have not been changed by the TS
.
See Also#
TS: Scalable ODE and DAE Solvers, TS
, TSSetRHSJacobian()
, TSComputeRHSJacobianConstant()
Level#
intermediate
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages