petsc-3.3-p7 2013-05-11

DMDASetLocalFunctioni

Caches in a DM a local function that evaluates a single component

Synopsis

#include "petscdmda.h"   
PetscErrorCode  DMDASetLocalFunctioni(DM da,PetscErrorCode (*lfi)(DMDALocalInfo*,MatStencil*,void*,PetscScalar*,void*))
Logically Collective on DMDA

Input Parameter

da - initial distributed array
lfi - the local function

Keywords

distributed array, refine

See Also

DMDACreate1d(), DMDACreate2d(), DMDACreate3d(), DMDestroy(), DMDAGetLocalFunction(), DMDASetLocalFunction()

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