DMSNESComputeJacobianAction#
Compute the action of the Jacobian J(X) on Y
Synopsis#
#include "petscdmplex.h" 
#include "petscsnes.h"   
PetscErrorCode DMSNESComputeJacobianAction(DM dm, Vec X, Vec Y, Vec F, void *user)
Input Parameters#
- dm - The - DM
- X - Local solution vector 
- Y - Local input vector 
- user - The user context 
Output Parameter#
- F - local output vector 
Note#
Users will typically use DMSNESCreateJacobianMF() followed by MatMult() instead of calling this routine directly.
This only works with DMPLEX
Developer Note#
This should be called DMPlexSNESComputeJacobianAction()
See Also#
SNES: Nonlinear Solvers, DM, DMSNESCreateJacobianMF(), DMPlexSNESComputeResidualFEM()
Level#
developer
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages