Lines Matching refs:component
21 2. Create components and register them with the network. A “component”
32 Here, `name` is the component name, `size` is the size of
33 component data, and `compkey` is an integer key that can be
34 used for setting/getting the component at a vertex or an edge.
98 A component and number of variables are added to a vertex/edge by calling
106 `compkey` is the component key returned when registering the component
108 …component; and `nvar` is the number of variables associated to the added component at this network…
111 `DMNETWORK` currently assumes the component data to be stored in a
113 packing/unpacking before/after the component data gets distributed.
164 and retrieving local/global indices of vertex/edge component variables for
192 DMNetworkGetComponent(DM dm, PetscInt p, PetscInt compnum, PetscInt *compkey, void **component, Pet…
195 input `compnum` is the component number, output `compkey` is the key set by `DMNetworkRegisterCompo…
200 void *component;
206 DMNetworkGetComponent(dm, v, compnum, &key, &component, &nvar);
207 compdata = (UserCompDataType)(component);
212 The above example does not explicitly use the component key. It is
213 used when different component types are set at different vertices. In
214 this case, `compkey` is used to differentiate the component type.