DMDATSRHSJacobianLocalFn#
A prototype of a local residual evaluation function for use with DMDA
that would be passed to DMDATSSetRHSJacobianLocal()
Synopsis#
#include <petscts.h>
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode(DMDATSRHSJacobianLocalFn)(DMDALocalInfo *info, PetscReal t, void *x, Mat J, Mat B, void *ctx);
Calling Sequence#
info - defines the subdomain to evaluate the residual on
t - time at which to evaluate residual
x - array of local state information
J - Jacobian matrix
B - matrix from which to construct the preconditioner; often same as
J
ctx - optional context
Note#
The deprecated DMDATSRHSJacobianLocal
still works as a replacement for DMDATSRHSJacobianLocalFn
*.
See Also#
DMDA
, DMDATSSetRHSJacobianLocal()
, TSRHSJacobianFn
, DMDATSRHSFunctionLocalFn
, DMDATSIJacobianLocalFn
, DMDATSIFunctionLocalFn
Level#
beginner
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages