:orphan:
# 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





## Notes
Users will typically use `DMSNESCreateJacobianMF()` followed by `MatMult()` instead of calling this routine directly.


## See Also
 `DM`, ``DMSNESCreateJacobianMF()`, `DMPlexSNESComputeResidualFEM()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/utils/dmplexsnes.c.html#DMSNESComputeJacobianAction">src/snes/utils/dmplexsnes.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/utils/dmplexsnes.c)


[Index of all SNES routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
