DMDATSRHSFunctionLocal#

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

See Also#

DMDA, DMDATSSetRHSFunctionLocal(), TSRHSFunction(), DMDATSRHSJacobianLocal(), 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