petsc-3.3-p7 2013-05-11

DMDAMultiplyByJacobian1WithAdifor

Applies a ADIFOR provided Jacobian function on each processor that share a DM to a vector

Synopsis

#include "petscdmda.h"   
PetscErrorCode  DMDAMultiplyByJacobian1WithAdifor(DM da,Vec u,Vec v,Vec f,void *w)

Input Parameters

da - the DM that defines the grid
vu - Jacobian is computed at this point (ghosted)
v - product is done on this vector (ghosted)
fu - output vector = J(vu)*v (not ghosted)
w - any user data

Notes: Does NOT do ghost updates on vu and v upon entry

See Also

DMDAComputeFunction1()

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