DASetLocalFunctioni

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

Synopsis

#include "petscda.h"   
int DASetLocalFunctioni(DA da,int (*lfi)(DALocalInfo*,MatStencil*,void*,PetscScalar*,void*))
Collective on DA

Input Parameter

da - initial distributed array
lfi - the local function

Keywords

distributed array, refine

See Also

DACreate1d(), DACreate2d(), DACreate3d(), DADestroy(), DAGetLocalFunction(), DASetLocalFunction()

Level:intermediate
Location:
src/dm/da/src/da2.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages