FleCSI User API Version: 2.3.0
 
Loading...
Searching...
No Matches
axis_color Struct Reference

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.
 

Detailed Description

High-level information about one axis of one color.

This class is supported for GPU execution.

Member Function Documentation

◆ low()

bool low ( ) const

Whether the current color is at the low end of the axis.

◆ high()

bool high ( ) const

Whether the color is at the high end of the axis.

◆ global_id()

util::gid global_id ( util::id  i) const

The global index for a given local index.

Member Data Documentation

◆ axis

Color-independent information.

◆ color

Color color

The color index along the axis.

◆ logical

util::id logical

The number of logical index points.

◆ offset

util::gid offset

The position of the first logical index point on the global axis.