DMDASetLocalFunction
Caches in a DM a local function.
Synopsis
#include "petscdmda.h"
PetscErrorCode DMDASetLocalFunction(DM da,DMDALocalFunction1 lf)
Logically Collective on DMDA
Input Parameter
| da | - initial distributed array
|
| lf | - the local function
|
Notes: The routine SNESDAFormFunction() uses this the cached function to evaluate the user provided function.
Keywords
distributed array, refine
See Also
DMDACreate1d(), DMDACreate2d(), DMDACreate3d(), DMDestroy(), DMDAGetLocalFunction(), DMDASetLocalFunctioni()
Level:intermediate
Location:src/dm/impls/da/da2.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/snes/examples/tutorials/ex5.c.html
src/snes/examples/tutorials/ex24.c.html
src/snes/examples/tutorials/ex26.c.html
src/snes/examples/tutorials/ex50.c.html
src/snes/examples/tutorials/ex5f.F.html