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
DMNETWORKobject
Output Parameters#
nVertices - the local number of vertices, pass
NULLif not neededNVertices - the global number of vertices, pass
NULLif not needed
See Also#
Level#
beginner
Location#
Examples#
src/dm/impls/network/tests/ex2.c
src/dm/impls/network/tests/ex3.c
Index of all DMNetwork routines
Table of Contents for all manual pages
Index of all manual pages