# DMNetworkVertexSetMatrix
Sets user-provided Jacobian matrix for this vertex to the network 
## Synopsis
```
#include "petscdmnetwork.h"  
PetscErrorCode DMNetworkVertexSetMatrix(DM dm, PetscInt p, Mat J[])
```
Not Collective


## Input Parameters

- ***dm -*** The DMNetwork object
- ***p -*** the vertex point
- ***J -*** array of Jacobian (size = 2*(num of supporting edges) + 1) submatrices for this vertex point:
J[0]:       this vertex
J[1+2*i]:   i-th supporting edge
J[1+2*i+1]: i-th connected vertex





## See Also
 `DMNetworkEdgeSetMatrix()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/network/network.c.html#DMNetworkVertexSetMatrix">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)  
