petsc-3.3-p7 2013-05-11

DMDAComputeFunctionLocalGhost

This is a universal function evaluation routine for a local DM function, but the ghost values of the output are communicated and added.

Synopsis

#include "petscdmda.h"   
PetscErrorCode  DMDAComputeFunctionLocalGhost(DM da, DMDALocalFunction1 func, Vec X, Vec F, void *ctx)
Collective on DMDA

Input Parameters

da - the DM context
func - The local function
X - input vector
F - function vector
ctx - A user context

See Also

DMDASetLocalFunction(), DMDASetLocalJacobian(), DMDASetLocalAdicFunction(), DMDASetLocalAdicMFFunction(),
SNESSetFunction(), SNESSetJacobian()

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