petsc-3.3-p7 2013-05-11

DMGetLocalFunction

Get the local residual function from this DM

Synopsis

#include "petscdm.h"     
PetscErrorCode DMGetLocalFunction(DM dm, PetscErrorCode (**lf)(DM, Vec, Vec, void *))
Not collective

Input Parameter

dm -The DM

Output Parameter

lf -The local residual function

Calling sequence of lf

   lf (SNES snes, Vec x, Vec f, void *ctx);

snes - the SNES context
x - local vector with the state at which to evaluate residual
f - local vector to put residual in
ctx - optional user-defined function context

See Also

DMSetLocalFunction(), DMGetLocalJacobian(), DMSetLocalJacobian()

Level:intermediate
Location:
src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages