DASH
0.3.0
|
Contains all specified Halo regions. More...
#include <Halo.h>
Public Types | |
using | RegionSpec_t = RegionSpec< NumDimensions > |
using | Specs_t = std::array< RegionSpec_t, RegionsMax > |
using | region_extent_t = typename RegionSpec_t::region_extent_t |
using | HaloExtsMaxPair_t = std::pair< region_extent_t, region_extent_t > |
using | HaloExtsMax_t = std::array< HaloExtsMaxPair_t, NumDimensions > |
Public Member Functions | |
constexpr | HaloSpec (const Specs_t &specs) |
template<typename StencilSpecT > | |
HaloSpec (const StencilSpecT &stencil_spec) | |
template<typename StencilSpecT , typename... Args> | |
HaloSpec (const StencilSpecT &stencil_spec, const Args &... stencil_specs) | |
template<typename... ARGS> | |
HaloSpec (const RegionSpec_t ®ion_spec, const ARGS &... args) | |
HaloSpec (const Self_t &other) | |
constexpr RegionSpec_t | spec (const region_index_t index) const |
Matching RegionSpec for a given region index. More... | |
constexpr region_extent_t | extent (const region_index_t index) const |
Extent for a given region index. More... | |
constexpr region_size_t | num_regions () const |
Number of specified regions. More... | |
const Specs_t & | specs () const |
Used RegionSpec instance. More... | |
const HaloExtsMaxPair_t & | halo_extension_max (dim_t dim) const |
Returns the maximal extension for a specific dimension. More... | |
const HaloExtsMax_t & | halo_extension_max () const |
Returns the maximal halo extension for every dimension. More... | |
Static Public Member Functions | |
static constexpr dim_t | ndim () |
Contains all specified Halo regions.
HaloSpec can be build with StencilSpec.
|
inline |
Extent for a given region index.
Definition at line 129 of file Halo.h.
References dash::index().
Referenced by dash::halo::HaloMatrixWrapper< MatrixT, SigReady >::stencil_operator().
|
inline |
|
inline |
Returns the maximal halo extension for every dimension.
Definition at line 153 of file Halo.h.
References dash::begin(), dash::extent(), dash::index(), and dash::halo::StencilSpec< StencilPointT, NumStencilPoints >::specs().
|
inline |
|
inline |
Matching RegionSpec for a given region index.
Definition at line 122 of file Halo.h.
References dash::index().
Referenced by dash::halo::HaloMatrixWrapper< MatrixT, SigReady >::stencil_operator().
|
inline |