DMDATSIFunctionLocal#
A prototype of a local residual evaluation function for use with DMDA
that would be passed to DMDATSSetIFunctionLocal()
Synopsis#
#include <petscts.h>
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode (*DMDATSIFunctionLocal)(DMDALocalInfo *info, PetscReal t, void *x, void *xdot, void *imode, 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
xdot - array of local time derivative information
imode - output array of local function evaluation information
ctx - optional context
See Also#
DMDA
, DMDATSSetIFunctionLocal()
, DMDATSIJacobianLocal()
, TSIFunction()
Level#
beginner
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages