DMNetworkGetNumEdges#

Get the local and global number of edges for the entire network.

Synopsis#

#include "petscdmnetwork.h"  
PetscErrorCode DMNetworkGetNumEdges(DM dm, PetscInt *nEdges, PetscInt *NEdges)

Not Collective

Input Parameter#

Output Parameters#

  • nEdges - the local number of edges

  • NEdges - the global number of edges

See Also#

DM, DMNETWORK, DMNetworkGetNumVertices()

Level#

beginner

Location#

src/dm/impls/network/network.c


Index of all DMNetwork routines
Table of Contents for all manual pages
Index of all manual pages