:orphan: # 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 `DM`, `DMNETWORK`, `DMNetworkEdgeSetMatrix()` ## Level advanced ## Location src/dm/impls/network/network.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)