:orphan: # 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 Keys - ***-dmnetwork_view -*** Calls `DMView()` at the conclusion of `DMSetUp()` - ***-dmnetwork_view_distributed -*** Calls `DMView()` at the conclusion of `DMNetworkDistribute()` - ***-dmnetwork_view_tmpdir -*** Sets the temporary directory to use when viewing with the `draw` option ## Note Distributes the network with -overlapping partitioning of the edges. ## See Also `DM`, `DMNETWORK`, `DMNetworkCreate()` ## Level intermediate ## 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)