DMDASNESJacobianVecFn — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# DMDASNESJacobianVecFn

`Vec`-based variant of `DMDASNESJacobianFn`, set with `DMDASNESSetJacobianLocalVec()`

## Synopsis

    PETSC_EXTERN_TYPEDEF typedef PetscErrorCode DMDASNESJacobianVecFn(DMDALocalInfo *info, Vec u, Mat J, Mat Jp, PetscCtx ctx);

## Calling Sequence

- info - the local grid information from the `DMDA`

- u - the local input solution `Vec`

- J - the Jacobian matrix to assemble

- Jp - the preconditioner matrix to assemble

- ctx - optional user-provided context

## See Also

`DMDA`, `SNES`, `DMDASNESSetJacobianLocalVec()`, `DMDASNESJacobianFn`, `DMDASNESFunctionVecFn`, `DMDASNESObjectiveVecFn`

## Level

intermediate

## Location

include/petscsnes.h

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