DMNetworkGetComponent#
Gets the component key, the component data, and the number of variables at a given network point
Synopsis#
#include "petscdmnetwork.h"  
PetscErrorCode DMNetworkGetComponent(DM dm, PetscInt p, PetscInt compnum, PetscInt *compkey, void **component, PetscInt *nvar)
Not Collective
Input Parameters#
- dm - the - DMNETWORKobject
- p - vertex/edge point 
- compnum - component number; use ALL_COMPONENTS if sum up all the components 
Output Parameters#
- compkey - the key obtained when registering the component (use - NULLif not required)
- component - the component data (use - NULLif not required)
- nvar - number of variables (use - NULLif not required)
See Also#
DM, DMNETWORK, DMNetworkAddComponent(), DMNetworkGetNumComponents()
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