DMDATSIJacobianLocal#

A prototype of a local residual evaluation function for use with DMDA that would be passed to DMDATSSetIJacobianLocal()

Synopsis#

#include <petscts.h> 
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode (*DMDATSIJacobianLocal)(DMDALocalInfo *info, PetscReal t, void *x, void *xdot, PetscReal shift, Mat J, Mat B, void *ctx);

Calling Sequence#

  • info - defines the subdomain to evaluate the residual on

  • t - time at which to evaluate the jacobian

  • x - array of local state information

  • xdot - time derivative at this state

  • shift - see TSSetIJacobian() for the meaning of this parameter

  • J - Jacobian matrix

  • B - matrix from which to construct the preconditioner; often same as J

  • ctx - optional context

See Also#

DMDA DMDATSSetIJacobianLocal(), TSIJacobian(), DMDATSIFunctionLocal(), DMDATSRHSFunctionLocal(), DMDATSRHSJacob ianlocal()

Level#

beginner

Location#

include/petscts.h


Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages