:orphan:
# DMNetworkGetEdgeOffset
Get the offset for accessing the variables associated with the given edge from the local subvector 
## Synopsis
```
#include "petscdmnetwork.h"  
PetscErrorCode DMNetworkGetEdgeOffset(DM dm, PetscInt p, PetscInt *offset)
```
Not Collective


## Input Parameters

- ***dm -*** the `DMNETWORK` object
- ***p -*** the edge point



## Output Parameter

- ***offset -*** the offset





## See Also
 `DM`, `DMNETWORK`, `DMNetworkGetLocalVecOffset()`, `DMGetLocalVector()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/network/network.c.html#DMNetworkGetEdgeOffset">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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
