# PetscDSHasJacobianPreconditioner
Checks if a Jacobian preconditioner matrix has been set 
## Synopsis
```
#include "petscds.h" 
PetscErrorCode PetscDSHasJacobianPreconditioner(PetscDS ds, PetscBool *hasJacPre)
```
Not collective


## Input Parameter

- ***prob -*** The `PetscDS`



## Output Parameter

- ***hasJacPre -*** flag that pointwise function for Jacobian preconditioner matrix has been set





## See Also
 `PetscDS`, `PetscDSGetJacobianPreconditioner()`, `PetscDSSetJacobianPreconditioner()`, `PetscDSGetJacobian()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/interface/dtds.c.html#PetscDSHasJacobianPreconditioner">src/dm/dt/interface/dtds.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/interface/dtds.c)


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