petsc-3.12.5 2020-03-29
DMNetworkAddComponent
Adds a network component at the given point (vertex/edge)
Synopsis
#include "petscdmnetwork.h"
PetscErrorCode DMNetworkAddComponent(DM dm, PetscInt p,PetscInt componentkey,void* compvalue)
Not Collective
Input Parameters
| dm | - The DMNetwork object
|
| p | - vertex/edge point
|
| componentkey | - component key returned while registering the component
|
| compvalue | - pointer to the data structure for the component
|
See Also
DMNetworkGetVertexRange, DMNetworkGetEdgeRange, DMNetworkRegisterComponent
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