|
Hermes
|
Holds 3-dimensional index coordinates. More...
#include <index.h>
Public Member Functions | |
| HERMES_DEVICE_CALLABLE | Index3 (T v) |
| HERMES_DEVICE_CALLABLE | Index3 (T i, T j, T k) |
| Construct a new Index2 object. | |
| HERMES_DEVICE_CALLABLE T | operator[] (int _i) const |
| HERMES_DEVICE_CALLABLE T & | operator[] (int _i) |
Public Attributes | |
| T | i {0} |
| 0-th coordinate value | |
| T | j {0} |
| 1-th coordinate value | |
| T | k {0} |
| 2-th coordinate value | |
Holds 3-dimensional index coordinates.
| T | must be an integer type |
|
inlineexplicit |
| v |
|
inline |
Construct a new Index2 object.
| i | - i coordinate value |
| j | - j coordinate value |
| k | - k coordinate value |
|
inline |
| _i |
|
inline |
| _i |