DMDATSRHSJacobianLocal#

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 (*DMDATSRHSJacobianLocal)(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

See Also#

DMDA, DMDATSSetRHSJacobianLocal(), TSRHSJacobian(), DMDATSRHSFunctionLocal(), DMDATSIJacobianLocal(), DMDATSIFunctionLocal()

Level#

beginner

Location#

include/petscts.h


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