petsc-3.3-p7 2013-05-11

DMDAComputeFunction

Evaluates a user provided function on each processor that share a DMDA

Synopsis

#include "petscdmda.h"   
PetscErrorCode  DMDAComputeFunction(DM da,PetscErrorCode (*lf)(void),Vec vu,Vec vfu,void *w)

Input Parameters

da - the DM that defines the grid
vu - input vector
vfu - output vector
w - any user data

Notes: Does NOT do ghost updates on vu upon entry

This should eventually replace DMDAComputeFunction1

See Also

DMDAComputeJacobian1WithAdic()

Level:advanced
Location:
src/dm/impls/da/da2.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages