#include "petscdmnetwork.h" PetscErrorCode DMNetworkAddComponent(DM dm,PetscInt p,PetscInt componentkey,void* compvalue,PetscInt nvar)Not Collective
dm | - the DMNetwork | |
p | - the vertex/edge point | |
componentkey | - component key returned while registering the component; ignored if compvalue=NULL | |
compvalue | - pointer to the data structure for the component, or NULL if not required. | |
nvar | - number of variables for the component at the vertex/edge point |