|
DASH
0.3.0
|
Region specification connecting RegionCoords with an extent. More...
#include <Region.h>
Public Types | |
| using | RegionCoords_t = RegionCoords< NumDimensions > |
| using | region_extent_t = uint16_t |
Public Member Functions | |
| RegionSpec (const RegionCoords_t &coords, const region_extent_t extent) | |
| Constructor using RegionCoords and the extent. More... | |
| RegionSpec (region_index_t index, const region_extent_t extent) | |
| Constructor using a region index and an extent. More... | |
| constexpr region_index_t | index () const |
| Returns the region index. More... | |
| constexpr const RegionCoords_t & | coords () const |
| Returns the RegionCoords. More... | |
| constexpr region_extent_t | extent () const |
| Returns the extent. More... | |
| constexpr region_coord_t | operator[] (const region_index_t index) const |
| Returns the RegionCoords for a given region index. More... | |
| constexpr bool | operator== (const Self_t &other) const |
| constexpr bool | operator!= (const Self_t &other) const |
| dim_t | relevant_dim () const |
| Returns the highest dimension with region values != 1. More... | |
| dim_t | level () const |
| returns the number of coordinates unequal the center (1) for all dimensions More... | |
Static Public Member Functions | |
| template<typename StencilT > | |
| static region_index_t | index (const StencilT &stencil) |
| Returns the region index for a given StencilPoint. More... | |
Region specification connecting RegionCoords with an extent.
The region extent applies to all dimensions.
|
inline |
Constructor using RegionCoords and the extent.
Definition at line 306 of file Region.h.
|
inline |
Constructor using a region index and an extent.
Definition at line 314 of file Region.h.
|
inline |
|
inline |
Returns the extent.
Definition at line 359 of file Region.h.
Referenced by dash::halo::RegionSpec< NumDimensions >::level().
|
inlinestatic |
Returns the region index for a given StencilPoint.
Definition at line 328 of file Region.h.
References dash::index().
|
inline |
|
inline |
returns the number of coordinates unequal the center (1) for all dimensions
Definition at line 385 of file Region.h.
References dash::halo::RegionSpec< NumDimensions >::extent().
|
inline |
Returns the RegionCoords for a given region index.
Definition at line 364 of file Region.h.
References dash::index(), and dash::halo::RegionCoords< NumDimensions >::index().
|
inline |