petsc-3.3-p7 2013-05-11

DMDAComputeFunctioni1

Evaluates a user provided point-wise function

Synopsis

#include "petscdmda.h"   
PetscErrorCode  DMDAComputeFunctioni1(DM da,PetscInt i,Vec vu,PetscScalar *vfu,void *w)

Input Parameters

da - the DM that defines the grid
i - the component of the function we wish to compute (must be local)
vu - input vector
vfu - output value
w - any user data

Notes: Does NOT do ghost updates on vu upon entry

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