#include "petscdmnetwork.h" PetscErrorCode DMNetworkGetComponentKeyOffset(DM dm,PetscInt p, PetscInt compnum, PetscInt *compkey, PetscInt *offset)Not Collective
dm | - The DMNetwork object | |
p | - vertex/edge point | |
compnum | - component number |
compkey | - the key obtained when registering the component | |
offset | - offset into the component data array associated with the vertex/edge point |
DMNetworkGetComponentDataArray(dm, &arr); DMNetworkGetVertex/EdgeRange(dm,&Start,&End); Loop over vertices or edges DMNetworkGetNumComponents(dm,v,&numcomps); Loop over numcomps DMNetworkGetComponentKeyOffset(dm,v,compnum,&key,&offset); compdata = (UserCompDataType)(arr+offset);
Level:intermediate
Location:src/dm/impls/network/network.c
Index of all DMNetwork routines
Table of Contents for all manual pages
Index of all manual pages