#include "petscdmnetwork.h" PetscErrorCode DMNetworkGetComponent(DM dm,PetscInt p,PetscInt compnum,PetscInt *compkey,void **component,PetscInt *nvar)Not Collective
dm | - the DMNetwork object | |
p | - vertex/edge point | |
compnum | - component number; use ALL_COMPONENTS if sum up all the components |
compkey | - the key obtained when registering the component (use NULL if not required) | |
component | - the component data (use NULL if not required) | |
nvar | - number of variables (use NULL if not required) |