Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::parallel::twod_block_cyclic Struct Reference

#include <distribution.hpp>

Public Member Functions

template<typename LinearProcessGroup >
 twod_block_cyclic (const LinearProcessGroup &pg, std::size_t block_rows, std::size_t block_columns, std::size_t data_columns_per_row)
 
template<typename SizeType >
SizeType block_size (SizeType n) const
 
template<typename SizeType , typename ProcessID >
SizeType block_size (ProcessID id, SizeType n) const
 
template<typename SizeType >
SizeType operator() (SizeType i) const
 
template<typename SizeType >
SizeType local (SizeType i) const
 
template<typename SizeType >
SizeType global (SizeType i) const
 

Constructor & Destructor Documentation

template<typename LinearProcessGroup >
boost::parallel::twod_block_cyclic::twod_block_cyclic ( const LinearProcessGroup &  pg,
std::size_t  block_rows,
std::size_t  block_columns,
std::size_t  data_columns_per_row 
)
inlineexplicit

Member Function Documentation

template<typename SizeType >
SizeType boost::parallel::twod_block_cyclic::block_size ( SizeType  n) const
inline
template<typename SizeType , typename ProcessID >
SizeType boost::parallel::twod_block_cyclic::block_size ( ProcessID  id,
SizeType  n 
) const
inline

References local(), and boost::n.

template<typename SizeType >
SizeType boost::parallel::twod_block_cyclic::global ( SizeType  i) const
inline

References BOOST_ASSERT, and local().

template<typename SizeType >
SizeType boost::parallel::twod_block_cyclic::local ( SizeType  i) const
inline

Referenced by block_size(), and global().

template<typename SizeType >
SizeType boost::parallel::twod_block_cyclic::operator() ( SizeType  i) const
inline

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