:orphan: # DMNetworkGetSharedVertices Returns the info for the shared vertices ## Synopsis ``` #include "petscdmnetwork.h" PetscErrorCode DMNetworkGetSharedVertices(DM dm, PetscInt *nsv, const PetscInt **svtx) ``` Not Collective ## Input Parameter - ***dm -*** the `DMNETWORK` object ## Output Parameters - ***nsv -*** number of local shared vertices - ***svtx -*** local shared vertices ## Notes Cannot call this routine before `DMNetworkLayoutSetup()` ## See Also `DM`, `DMNETWORK`, `DMNetworkGetSubnetwork()`, `DMNetworkLayoutSetUp()`, `DMNetworkAddSharedVertices()` ## 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)