#include "petscsnes.h" #include "petscdm.h" PetscErrorCode MatCreateSNESMF(SNES snes,Mat *J)Collective on SNES and Vec
Notes: The difference between this routine and MatCreateMFFD() is that this matrix automatically gets the current base vector from the SNES object and not from an explicit call to MatMFFDSetBase().
You can call SNESSetJacobian() with MatMFFDComputeJacobian() if you are using matrix and not a different preconditioner matrix
Level:advanced
Location:src/snes/mf/snesmfj.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages