DMDATSSetIFunctionLocal#
set a local residual evaluation function for use with DMDA
Synopsis#
#include "petscdmda.h"
#include "petscts.h"
PetscErrorCode DMDATSSetIFunctionLocal(DM dm, InsertMode imode, DMDATSIFunctionLocalFn *func, void *ctx)
Logically Collective
Input Parameters#
dm -
DM
to associate callback withimode - the insert mode of the function
func - local residual evaluation, see
DMDATSIFunctionLocalFn
for the calling sequencectx - optional context for local residual evaluation
See Also#
TS: Scalable ODE and DAE Solvers, DMDA
, DMDATSIFunctionLocalFn
, DMTSSetIFunction()
,
DMDATSSetIJacobianLocal()
, DMDASNESSetFunctionLocal()
Level#
beginner
Location#
Examples#
src/ts/tutorials/ex29.c
src/ts/tutorials/ex26.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages