# DMNetworkCreate
Creates a DMNetwork object, which encapsulates an unstructured network. 
## Synopsis
```
#include "petscdmnetwork.h"   
PetscErrorCode DMNetworkCreate(MPI_Comm comm, DM *network)
```
Collective


## Input Parameter

- ***comm -*** The communicator for the DMNetwork object



## Output Parameter

- ***network  -*** The DMNetwork object





## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/network/networkcreate.c.html#DMNetworkCreate">src/dm/impls/network/networkcreate.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/network/networkcreate.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)  
