#include "petscsnes.h" #include "petscdm.h" PetscErrorCode MatMFFDComputeJacobian(SNES snes,Vec x,Mat jac,Mat B,void *dummy)Logically Collective on SNES
| snes | - the nonlinear solver context | |
| x | - the point at which the Jacobian vector products will be performed | |
| jac | - the matrix-free Jacobian object | |
| B | - either the same as jac or another matrix type (ignored) | |
| flag | - not relevent for matrix-free form | |
| dummy | - the user context (ignored) |