DMDASNESFunctionFn#
Function type for the local residual callback set with DMDASNESSetFunctionLocal() on a DMDA-based SNES
Synopsis#
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode DMDASNESFunctionFn(DMDALocalInfo *info, void *u, void *f, PetscCtx ctx);
Calling Sequence#
info - the local grid information from the
DMDAu - pointer to the local input solution array
f - pointer to the local output residual array to be filled
ctx - optional user-provided context
See Also#
DMDA, SNES, DMDASNESSetFunctionLocal(), DMDASNESJacobianFn, DMDASNESObjectiveFn, DMDASNESFunctionVecFn
Level#
intermediate
Location#
Examples#
src/snes/tutorials/ex15.c
src/snes/tutorials/ex16.c
src/snes/tutorials/ex19.c
src/snes/tutorials/ex25.c
src/snes/tutorials/ex30.c
src/snes/tutorials/ex33.c
src/snes/tutorials/ex4.c
src/snes/tutorials/ex46.c
src/snes/tutorials/ex48.c
src/snes/tutorials/ex5.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages