#include "petscda.h" int DAMultiplyByJacobian1WithAD(DA da,Vec u,Vec v,Vec f,void *w)
da | - the DA 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 DAMultiplyByJacobian1WithAdifor() or DAMultiplyByJacobian1WithAdic() depending on whether DASetLocalAdicMFFunction() or DASetLocalAdiforMFFunction() was called.
Level:advanced
Location:src/dm/da/src/da2.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages