|
| Domain (const std::initializer_list< std::array< IndexType, 2 >> &ranges) |
| Example: More...
|
|
self_t & | translate (const std::array< IndexType, NumDim > &offs) |
|
self_t & | resize (const std::array< IndexType, NumDim > &extents) |
|
self_t & | expand (const std::array< IndexType, NumDim > &ext) |
|
IndexType | offset (dim_t d) const |
|
std::array< IndexType, NumDim > | offsets () const |
|
IndexType | extent (dim_t d) const |
|
std::array< IndexType, NumDim > | extents () const |
|
template<dim_t NumDim, typename IndexType = dash::default_index_t>
class dash::Domain< NumDim, IndexType >
Definition at line 17 of file Domain.h.
◆ Domain()
template<dim_t NumDim, typename IndexType = dash::default_index_t>
dash::Domain< NumDim, IndexType >::Domain |
( |
const std::initializer_list< std::array< IndexType, 2 >> & |
ranges | ) |
|
|
inline |
Example:
Definition at line 33 of file Domain.h.
35 NumDim, ranges.size(),
36 "wrong number of dimensions in domain ranges");
38 for (
auto & range : ranges) {
39 _extents[d] = range[1] - range[0];
40 _offsets[d] = range[0];
int dim_t
Scalar type for a dimension value, with 0 indicating the first dimension.
The documentation for this class was generated from the following file:
- /tmp/tmporruphar/dash/include/dash/Domain.h