#include "petscdmnetwork.h" PetscErrorCode DMNetworkGetComponent(DM dm, PetscInt p, PetscInt compnum, PetscInt *key, void **component)Not Collective
dm | - DMNetwork object | |
p | - edge or vertex point | |
compnum | - component number |
compkey | - the key set for this computing during registration | |
component | - the component data |
DMNetworkGetVertex/EdgeRange(dm,&Start,&End); Loop over vertices or edges DMNetworkGetNumComponents(dm,v,&numcomps); Loop over numcomps DMNetworkGetComponent(dm,v,compnum,&key,&component);