Function object that initializes an n-dimensional tuple of partitions to n balanced partitions, each partitioned by the number of locations.
More...
|
| partitions_generator (Domain const &domain) |
|
| partitions_generator (Domain const &domain, location_type nlocs) |
|
Tuple | operator() (Tuple t) |
| Function operator to initialize the tuple. More...
|
|
template<typename NParts > |
Tuple | operator() (Tuple t, NParts nparts) |
| Function operator to initialize the tuple. More...
|
|
|
Domain | m_domain |
|
location_type | m_nlocs |
|
template<int I, typename Domain, typename Tuple>
struct stapl::partitions_impl::partitions_generator< I, Domain, Tuple >
Function object that initializes an n-dimensional tuple of partitions to n balanced partitions, each partitioned by the number of locations.
- Template Parameters
-
I | The dimension of the partition that is currently being populated. |
Domain | The domain that is to be partitioned |
Tuple | The type of the tuple to populate |
◆ operator()() [1/2]
template<int I, typename Domain , typename Tuple >
Function operator to initialize the tuple.
- Parameters
-
t | The tuple of partitions that is to be initialized. |
◆ operator()() [2/2]
template<int I, typename Domain , typename Tuple >
template<typename NParts >
Function operator to initialize the tuple.
- Parameters
-
t | The tuple of partitions that is to be initialized. |
nparts | The number of partitions to generate in this dimension |
The documentation for this struct was generated from the following file: