Partitioner that slices off dimensions of a d-dimensional domain to produce subdomains of dimension d-|Slices|. More...
Public Member Functions | |
sliced_partition (Dom const &domain) | |
Dom const & | global_domain () const |
The original domain that is being partitioned. | |
domain_type const & | domain () const |
The domain that contains the indices of the subdomains. | |
domain_type::size_type | dimensions () const |
The size in each dimension of the number of subdomains. | |
value_type | operator[] (index_type const &idx) const |
Returns the idx-th domain in the partition. | |
size_t | size () const |
Return the number of partitions generated. | |
Public Types | |
typedef detail::SLICED_view_domain< original_dimension_t::value-number_of_slices_t::value, scalar_index_t >::type | value_type |
The type of the produces subdomains. They have dimensionality d-|Slices|. | |
typedef detail::SLICED_view_domain< number_of_slices_t::value, scalar_index_t >::type | domain_type |
typedef value_type::index_type | gid_type |
The type of the GIDs in the produced subdomains. | |
typedef domain_type::gid_type | index_type |
The type used to index subdomains in this partition. | |
typedef Slices | slices_type |
Partitioner that slices off dimensions of a d-dimensional domain to produce subdomains of dimension d-|Slices|.
This partitioner is only valid on domains that have homogeneous GID types.
Slices | A tuple of compile time integral constants to specify the dimensions to slice off |
Dom | The multidimensional domain type that is being sliced |
typedef detail::SLICED_view_domain< number_of_slices_t::value, scalar_index_t >::type stapl::sliced_partition< Slices, Dom >::domain_type |
The type of the domain of this partition, which has dimensionality |Slices|
stapl::sliced_partition< Slices, Dom >::sliced_partition | ( | Dom const & | domain | ) |
domain | The global domain to partition |