High-level information about one axis of one color. More...
Public Member Functions | |
util::gid | global_id (util::id i) const |
The global index for a given local index. | |
bool | high () const |
Whether the color is at the high end of the axis. | |
bool | low () const |
Whether the current color is at the low end of the axis. | |
Public Attributes | |
narray_impl::axis | axis |
Color-independent information. | |
Color | color |
The color index along the axis. | |
util::id | logical |
The number of logical index points. | |
util::gid | offset |
The position of the first logical index point on the global axis. | |
High-level information about one axis of one color.
This class is supported for GPU execution.
bool low | ( | ) | const |
Whether the current color is at the low end of the axis.
bool high | ( | ) | const |
Whether the color is at the high end of the axis.
Color-independent information.
Color color |
The color index along the axis.
util::id logical |
The number of logical index points.
util::gid offset |
The position of the first logical index point on the global axis.