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#

Note#

Vec X is kept in J, so updating X then updates the evaluation point.

See Also#

DM, DMSNESComputeJacobianAction()

Level#

advanced

Location#

src/snes/utils/dmplexsnes.c


Edit on GitLab

Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages