# DMNetworkDistribute
Distributes the network and moves associated component data 
## Synopsis
```
#include "petscdmnetwork.h"  
PetscErrorCode DMNetworkDistribute(DM *dm, PetscInt overlap)
```
Collective


## Input Parameters

- ***DM -*** the DMNetwork object
- ***overlap -*** the overlap of partitions, 0 is the default



## Options Database Key

- ***-dmnetwork_view -*** Calls DMView() at the conclusion of DMSetUp()
- ***-dmnetwork_view_distributed -*** Calls DMView() at the conclusion of DMNetworkDistribute()



## Notes
Distributes the network with <overlap>-overlapping partitioning of the edges.




## See Also
 `DMNetworkCreate()`

## Level
intermediate

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