One dimensional block-cyclic domain.
More...
|
| dom1Dbc (size_type size) |
| Domain constructor [0..size-1] without cyclicity.
|
|
| dom1Dbc (dom1Dbc const &other) |
|
| dom1Dbc (size_t blksz, size_t step, size_type size, size_t p=0) |
| Domain constructor using a specific block size and cyclicity. More...
|
|
size_type | size () const |
|
gid_type | first () const |
|
gid_type | last () const |
|
index_type | advance (index_type idx, long n) const |
|
size_t | distance (index_type const &i0, index_type const &i1) const |
| Return the positive distance between two indices based on the domain order.
|
|
bool | empty () const |
|
bool | contains (index_type idx) const |
|
|
typedef Index_Type | index_type |
|
typedef Index_Type | gid_type |
|
typedef size_t | size_type |
|
|
gid_type | logic_to_global (size_t i) const |
| Maps indices from the logical (local) position into a global position.
|
|
size_t | global_to_logic (gid_type g) const |
| Maps indices from global position into a logic (local) position.
|
|
|
template<typename T1 > |
std::ostream & | operator<< (std::ostream &os, dom1Dbc< T1 > const &d) |
|
template<typename Index_Type>
struct stapl::dom1Dbc< Index_Type >
One dimensional block-cyclic domain.
- Template Parameters
-
Index_Type | define the type of the gids in the domain |
◆ dom1Dbc()
template<typename Index_Type >
Domain constructor using a specific block size and cyclicity.
- Parameters
-
blksz | Block size. |
step | Cyclicity. |
size | Number of elements in the domain. |
p | Partition where this domain belongs to. |
The documentation for this struct was generated from the following file: