DMDATSRHSFunctionLocalFn#

A prototype of a local TS right-hand side residual evaluation function for use with DMDA that would be passed to DMDATSSetRHSFunctionLocal()

Synopsis#

#include <petscts.h> 
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode(DMDATSRHSFunctionLocalFn)(DMDALocalInfo *info, PetscReal t, void *x, void *f, 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

  • f - output array of local residual information

  • ctx - optional user context

Note#

The deprecated DMDATSRHSFunctionLocal still works as a replacement for DMDATSRHSFunctionLocalFn *.

See Also#

DMDA, DMDATSSetRHSFunctionLocal(), TSRHSFunctionFn, DMDATSRHSJacobianLocalFn, DMDATSIJacobianLocalFn, DMDATSIFunctionLocalFn

Level#

beginner

Location#

include/petscts.h


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