petsc-3.3-p7 2013-05-11

DMDAComputeFunctionLocal

This is a universal function evaluation routine for a local DM function.

Synopsis

#include "petscdmda.h"   
PetscErrorCode  DMDAComputeFunctionLocal(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