DMNetworkGetNumVertices#
Get the local and global number of vertices for the entire network.
Synopsis#
#include "petscdmnetwork.h"
PetscErrorCode DMNetworkGetNumVertices(DM dm, PeOp PetscInt *nVertices, PeOp PetscInt *NVertices)
Not Collective
Input Parameter#
dm - the
DMNETWORK
object
Output Parameters#
nVertices - the local number of vertices, pass
NULL
if not neededNVertices - the global number of vertices, pass
NULL
if not needed
See Also#
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