:orphan: # 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 src/dm/impls/network/networkcreate.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)