Itoyori  v0.0.1
ityr::ito::dist_range Class Reference

#include <adws.hpp>

Public Types

using value_type = double
 

Public Member Functions

 dist_range ()
 
 dist_range (common::topology::rank_t n_ranks)
 
 dist_range (value_type begin, value_type end)
 
value_type begin () const
 
value_type end () const
 
common::topology::rank_t begin_rank () const
 
common::topology::rank_t end_rank () const
 
bool is_at_end_boundary () const
 
void move_to_end_boundary ()
 
template<typename T >
std::pair< dist_range, dist_rangedivide (T r1, T r2) const
 
common::topology::rank_t owner () const
 
bool is_cross_worker () const
 
void make_non_cross_worker ()
 
bool is_sufficiently_small () const
 

Member Typedef Documentation

◆ value_type

Constructor & Destructor Documentation

◆ dist_range() [1/3]

ityr::ito::dist_range::dist_range ( )
inline

◆ dist_range() [2/3]

ityr::ito::dist_range::dist_range ( common::topology::rank_t  n_ranks)
inline

◆ dist_range() [3/3]

ityr::ito::dist_range::dist_range ( value_type  begin,
value_type  end 
)
inline

Member Function Documentation

◆ begin()

value_type ityr::ito::dist_range::begin ( ) const
inline

◆ begin_rank()

common::topology::rank_t ityr::ito::dist_range::begin_rank ( ) const
inline

◆ divide()

template<typename T >
std::pair<dist_range, dist_range> ityr::ito::dist_range::divide ( r1,
r2 
) const
inline

◆ end()

value_type ityr::ito::dist_range::end ( ) const
inline

◆ end_rank()

common::topology::rank_t ityr::ito::dist_range::end_rank ( ) const
inline

◆ is_at_end_boundary()

bool ityr::ito::dist_range::is_at_end_boundary ( ) const
inline

◆ is_cross_worker()

bool ityr::ito::dist_range::is_cross_worker ( ) const
inline

◆ is_sufficiently_small()

bool ityr::ito::dist_range::is_sufficiently_small ( ) const
inline

◆ make_non_cross_worker()

void ityr::ito::dist_range::make_non_cross_worker ( )
inline

◆ move_to_end_boundary()

void ityr::ito::dist_range::move_to_end_boundary ( )
inline

◆ owner()

common::topology::rank_t ityr::ito::dist_range::owner ( ) const
inline

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