# DMNetworkHasJacobian
Sets global flag for using user's sub Jacobian matrices -- replaced by DMNetworkSetOption(network,userjacobian,PETSC_TURE)? 
## Synopsis
```
#include "petscdmnetwork.h"  
PetscErrorCode DMNetworkHasJacobian(DM dm, PetscBool eflg, PetscBool vflg)
```
Collective


## Input Parameters

- ***dm -*** the DMNetwork object
- ***eflg -*** turn the option on (PETSC_TRUE) or off (PETSC_FALSE) if user provides Jacobian for edges
- ***vflg -*** turn the option on (PETSC_TRUE) or off (PETSC_FALSE) if user provides Jacobian for vertices





## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/network/network.c.html#DMNetworkHasJacobian">src/dm/impls/network/network.c</A>


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


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