DMTSGetIJacobianLocal#
get a local Jacobian evaluation function
Synopsis#
#include "petscts.h"
PetscErrorCode DMTSGetIJacobianLocal(DM dm, PetscErrorCode (**func)(DM dm, PetscReal t, Vec u, Vec udot, PetscReal shift, Mat J, Mat Jpre, PetscCtx ctx), PetscCtxRt ctx)
Logically Collective
Input Parameter#
dm -
DMto associate callback with
Output Parameters#
func - local Jacobian evaluation
ctx - optional context for local Jacobian evaluation
Calling sequence of func#
dm - the
DMt - the current time
u - the current solution
udot - the derivative of
ushift - the shift factoring arising from the implicit time-step
J - output, the Jacobian
Jpre - output, matrix from which to compute the preconditioner for
J, often the same asJctx - the application context for the function
See Also#
TS: Scalable ODE and DAE Solvers, DM, DMTSSetIJacobianLocal(), DMTSSetIFunctionLocal(), DMTSSetIJacobian(), DMTSSetIFunction()
Level#
beginner
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages