petsc-3.3-p7 2013-05-11

DMDAMultiplyByJacobian1WithAdic

Applies an ADIC-provided Jacobian function to a vector on each processor that shares a DMDA.

Synopsis

#include "petscdmda.h"   
PetscErrorCode  DMDAMultiplyByJacobian1WithAdic(DM da,Vec vu,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

This routine does NOT do ghost updates on vu 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