DMSNESCreateJacobianMF#
Create a Mat
which computes the action of the Jacobian matrix-free
Synopsis#
#include "petscdmplex.h"
#include "petscsnes.h"
PetscErrorCode DMSNESCreateJacobianMF(DM dm, Vec X, void *user, Mat *J)
Collective
Input Parameters#
dm - The
DM
X - The evaluation point for the Jacobian
user - A user context, or
NULL
Output Parameter#
J - The
Mat
Note#
Vec X
is kept in J
, so updating X
then updates the evaluation point.
See Also#
Level#
advanced
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages