Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::parallel::variant_distribution< ProcessGroup, SizeType > Class Template Reference

#include <distribution.hpp>

Inheritance diagram for boost::parallel::variant_distribution< ProcessGroup, SizeType >:

Public Types

typedef
ProcessGroup::process_id_type 
process_id_type
 
typedef
ProcessGroup::process_size_type 
process_size_type
 
typedef SizeType size_type
 

Public Member Functions

 variant_distribution ()
 
template<typename Distribution >
 variant_distribution (const Distribution &distribution)
 
size_type block_size (process_id_type id, size_type n) const
 
process_id_type operator() (size_type i) const
 
size_type local (size_type i) const
 
size_type global (size_type n) const
 
size_type global (process_id_type id, size_type n) const
 
 operator bool () const
 
void clear ()
 
template<typename T >
Tas ()
 
template<typename T >
const Tas () const
 

Member Typedef Documentation

template<typename ProcessGroup, typename SizeType = std::size_t>
typedef ProcessGroup::process_id_type boost::parallel::variant_distribution< ProcessGroup, SizeType >::process_id_type
template<typename ProcessGroup, typename SizeType = std::size_t>
typedef ProcessGroup::process_size_type boost::parallel::variant_distribution< ProcessGroup, SizeType >::process_size_type
template<typename ProcessGroup, typename SizeType = std::size_t>
typedef SizeType boost::parallel::variant_distribution< ProcessGroup, SizeType >::size_type

Constructor & Destructor Documentation

template<typename ProcessGroup, typename SizeType = std::size_t>
boost::parallel::variant_distribution< ProcessGroup, SizeType >::variant_distribution ( )
inline
template<typename ProcessGroup, typename SizeType = std::size_t>
template<typename Distribution >
boost::parallel::variant_distribution< ProcessGroup, SizeType >::variant_distribution ( const Distribution &  distribution)
inline

Member Function Documentation

template<typename ProcessGroup, typename SizeType = std::size_t>
template<typename T >
T* boost::parallel::variant_distribution< ProcessGroup, SizeType >::as ( )
inline
template<typename ProcessGroup, typename SizeType = std::size_t>
template<typename T >
const T* boost::parallel::variant_distribution< ProcessGroup, SizeType >::as ( ) const
inline
template<typename ProcessGroup, typename SizeType = std::size_t>
size_type boost::parallel::variant_distribution< ProcessGroup, SizeType >::block_size ( process_id_type  id,
size_type  n 
) const
inline
template<typename ProcessGroup, typename SizeType = std::size_t>
void boost::parallel::variant_distribution< ProcessGroup, SizeType >::clear ( )
inline
template<typename ProcessGroup, typename SizeType = std::size_t>
size_type boost::parallel::variant_distribution< ProcessGroup, SizeType >::global ( size_type  n) const
inline
template<typename ProcessGroup, typename SizeType = std::size_t>
size_type boost::parallel::variant_distribution< ProcessGroup, SizeType >::global ( process_id_type  id,
size_type  n 
) const
inline
template<typename ProcessGroup, typename SizeType = std::size_t>
size_type boost::parallel::variant_distribution< ProcessGroup, SizeType >::local ( size_type  i) const
inline
template<typename ProcessGroup, typename SizeType = std::size_t>
boost::parallel::variant_distribution< ProcessGroup, SizeType >::operator bool ( ) const
inline
template<typename ProcessGroup, typename SizeType = std::size_t>
process_id_type boost::parallel::variant_distribution< ProcessGroup, SizeType >::operator() ( size_type  i) const
inline

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