#include "petscdmnetwork.h" PetscErrorCode DMNetworkGetComponent(DM dm, PetscInt p, PetscInt compnum, PetscInt *key, void **component)Not Collective
Input Parameters
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);