DMDATSIFunctionLocalFn#

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(DMDATSIFunctionLocalFn)(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

Note#

The deprecated DMDATSIFunctionLocal still works as a replacement for DMDATSIFunctionLocalFn *.

See Also#

DMDA, DMDATSSetIFunctionLocal(), DMDATSIJacobianLocalFn, TSIFunctionFn

Level#

beginner

Location#

include/petscts.h


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