DASH  0.3.0
dash::halo::Region< ElementT, PatternT, GlobMemT > Class Template Reference

Provides RegionIter and some region metadata like RegionSpec, size etc. More...

#include <Region.h>

Public Types

using iterator = GlobViewIter< ElementT, PatternT, GlobMemT >
 
using const_iterator = const iterator
 
using RegionSpec_t = RegionSpec< NumDimensions >
 
using GlobMem_t = GlobMemT
 
using ViewSpec_t = typename PatternT::viewspec_type
 
using extent_size_t = typename ViewSpec_t::size_type
 
using pattern_size_t = typename PatternT::size_type
 
using EnvRegInfo_t = EnvironmentRegionInfo< ViewSpec_t >
 
using BorderPair_t = typename EnvRegInfo_t::PrePostBool_t
 
using RegBorders_t = typename EnvRegInfo_t::RegionBorders_t
 

Public Member Functions

 Region (const RegionSpec_t &region_spec, const ViewSpec_t &view, GlobMem_t &globmem, const PatternT &pattern, const EnvRegInfo_t &env_reg_info)
 
 Region (const Self_t &other)
 
 Region (const Self_t &&other)
 
Self_toperator= (const Self_t &other)
 
Self_toperator= (const Self_t &&other)
 
const region_index_t index () const
 
const RegionSpec_tspec () const
 
const ViewSpec_t & view () const
 
pattern_size_t size () const
 
const RegBorders_t & border () const
 
bool is_border_region () const
 
bool is_custom_region () const
 
BorderPair_t border_dim (dim_t dim) const
 Returns a pair of two booleans for a given dimension. More...
 
bool border_dim (dim_t dim, RegionPos pos) const
 
iterator begin () const
 
iterator end () const
 

Detailed Description

template<typename ElementT, typename PatternT, typename GlobMemT>
class dash::halo::Region< ElementT, PatternT, GlobMemT >

Provides RegionIter and some region metadata like RegionSpec, size etc.

Definition at line 411 of file Region.h.

Member Function Documentation

◆ border_dim()

template<typename ElementT, typename PatternT, typename GlobMemT>
BorderPair_t dash::halo::Region< ElementT, PatternT, GlobMemT >::border_dim ( dim_t  dim) const
inline

Returns a pair of two booleans for a given dimension.

In case the region is the global border in this dimension the value is true, otherwise false first -> Pre center position; second -> Post center position

Definition at line 505 of file Region.h.

505 { return _env_reg_info->region_borders[dim]; }

The documentation for this class was generated from the following file: