petsc-3.13.6 2020-09-29
Report Typos and Errors

DMNetworkGetNumComponents

Get the number of components at a vertex/edge

Synopsis

#include "petscdmnetwork.h"  
PetscErrorCode DMNetworkGetNumComponents(DM dm,PetscInt p,PetscInt *numcomponents)
Not Collective

Input Parameters

dm - The DMNetwork object
p - vertex/edge point

Output Parameters

numcomponents -Number of components at the vertex/edge

See Also

DMNetworkRegisterComponent, DMNetworkAddComponent

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