# DMNetworkGetVertexLocalToGlobalOrdering
Get vertex global index 
## Synopsis
```
#include "petscdmnetwork.h"  
PetscErrorCode DMNetworkGetVertexLocalToGlobalOrdering(DM dm, PetscInt vloc, PetscInt *vg)
```
Not collective


## Input Parameters

- ***dm -*** the dm object
- ***vloc -*** local vertex ordering, start from 0



## Output Parameters

- ***vg  -*** global vertex ordering, start from 0





## See Also
 `DMNetworkSetVertexLocalToGlobalOrdering()`

## Level
advanced

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