#include "petscdmda.h" PetscErrorCode DMDAMultiplyByJacobian1WithAD(DM da,Vec u,Vec v,Vec f,void *w)
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 |
Automatically calls DMDAMultiplyByJacobian1WithAdifor() or DMDAMultiplyByJacobian1WithAdic() depending on whether DMDASetLocalAdicMFFunction() or DMDASetLocalAdiforMFFunction() was called.
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