root/trunk/thune/component.h

Revision 458, 0.6 kB (checked in by krobillard, 15 months ago)

Merged Thune thread_safe branch into trunk (r386:457)

Line 
1#ifndef COMPONENT_H
2#define COMPONENT_H
3/* Internal definitions for component datatype */
4
5
6enum ComponentContextValues
7{
8    COMPONENT_SELF = 0,
9    COMPONENT_COUNTS,
10    COMPONENT_BODY,
11    COMPONENT_CELLS
12};
13
14
15// Component Count Accessors
16#define ur_ccIn(cell)       (cell)->coord.elem[0]
17#define ur_ccOut(cell)      (cell)->coord.elem[1]
18#define ur_ccLoc(cell)      (cell)->coord.elem[2]
19#define ur_ccMask(cell)     (cell)->coord.elem[3]
20#define ur_ccSpec(cell)     (cell)->dt.mask1
21
22// LIMIT: ur_ccMask limits number of component inputs to 16.
23
24
25#endif  /*COMPONENT_H*/
Note: See TracBrowser for help on using the browser.