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

#include <one_bit_color_map.hpp>

Inheritance diagram for boost::one_bit_color_map< parallel::distributed_property_map< ProcessGroup, GlobalMap, StorageMap > >:
Collaboration diagram for boost::one_bit_color_map< parallel::distributed_property_map< ProcessGroup, GlobalMap, StorageMap > >:

Public Types

typedef property_traits
< GlobalMap >::key_type 
key_type
 The key type of the property map. More...
 
typedef property_traits
< one_bit_color_map
< StorageMap > >::value_type 
value_type
 The value type of the property map. More...
 
typedef property_traits
< one_bit_color_map
< StorageMap > >::reference 
reference
 
typedef ProcessGroup process_group_type
 
typedef
multi_index::multi_index_container
< std::pair< key_type,
value_type >
, multi_index::indexed_by
< multi_index::sequenced
<>, multi_index::hashed_unique
< pair_first_extractor
< key_type, value_type > > > > 
ghost_cells_type
 The type of the ghost cells. More...
 
typedef ghost_cells_type::iterator iterator
 Iterator into the ghost cells. More...
 
typedef
ghost_cells_type::template
nth_index< 1 >::type 
ghost_cells_key_index_type
 Key-based index into the ghost cells. More...
 
typedef
ghost_cells_key_index_type::iterator 
key_iterator
 Iterator into the ghost cells (by key) More...
 
typedef
detail::make_nonlvalue_property_map
< (is_base_and_derived
< lvalue_property_map_tag,
local_category >::value||is_same
< lvalue_property_map_tag,
local_category >::value)>
::template apply
< local_category >::type 
category
 The property map category. More...
 

Public Member Functions

 one_bit_color_map (std::size_t inital_size, const index_map_type &index=index_map_type())
 
inheritedbase ()
 
const inheritedbase () const
 
void set_reduce (const Reduce &reduce)
 Set the reduce operation of the distributed property map. More...
 
void set_consistency_model (int model)
 
int get_consistency_model () const
 
void set_max_ghost_cells (std::size_t max_ghost_cells)
 
void clear ()
 
void reset ()
 
void flush ()
 
reference operator[] (const key_type &key) const
 
process_group_type process_group () const
 
void request_put (process_id_type p, const key_type &k, const value_type &v) const
 Sends a "put" request. More...
 
value_typecell (const key_type &k, bool request_if_missing=true) const
 Access the ghost cell for the given key. More...
 
void do_synchronize ()
 Perform synchronization. More...
 
const GlobalMap & global () const
 
GlobalMap & global ()
 

Public Attributes

shared_ptr< data_tdata
 

Member Typedef Documentation

typedef detail::make_nonlvalue_property_map< (is_base_and_derived<lvalue_property_map_tag, local_category>::value || is_same<lvalue_property_map_tag, local_category>::value)>::template apply<local_category>::type boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::category
inherited

The property map category.

A distributed property map cannot be an Lvalue Property Map, because values on remote processes cannot be addresses.

typedef ghost_cells_type::template nth_index<1>::type boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::ghost_cells_key_index_type
inherited

Key-based index into the ghost cells.

The type of the ghost cells.

typedef ghost_cells_type::iterator boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::iterator
inherited

Iterator into the ghost cells.

typedef ghost_cells_key_index_type::iterator boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::key_iterator
inherited

Iterator into the ghost cells (by key)

typedef property_traits<GlobalMap>::key_type boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::key_type
inherited

The key type of the property map.

typedef ProcessGroup boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::process_group_type
inherited
typedef property_traits<one_bit_color_map< StorageMap > >::reference boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::reference
inherited
typedef property_traits<one_bit_color_map< StorageMap > >::value_type boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::value_type
inherited

The value type of the property map.

Constructor & Destructor Documentation

template<typename ProcessGroup , typename GlobalMap , typename StorageMap >
boost::one_bit_color_map< parallel::distributed_property_map< ProcessGroup, GlobalMap, StorageMap > >::one_bit_color_map ( std::size_t  inital_size,
const index_map_type index = index_map_type() 
)
inline

Member Function Documentation

template<typename ProcessGroup , typename GlobalMap , typename StorageMap >
inherited& boost::one_bit_color_map< parallel::distributed_property_map< ProcessGroup, GlobalMap, StorageMap > >::base ( )
inline
template<typename ProcessGroup , typename GlobalMap , typename StorageMap >
const inherited& boost::one_bit_color_map< parallel::distributed_property_map< ProcessGroup, GlobalMap, StorageMap > >::base ( ) const
inline
value_type& boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::cell ( const key_type k,
bool  request_if_missing = true 
) const
inherited

Access the ghost cell for the given key.

void boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::clear ( void  )
inherited
void boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::do_synchronize ( )
inherited

Perform synchronization.

void boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::flush ( )
inherited
int boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::get_consistency_model ( ) const
inlineinherited
const GlobalMap& boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::global ( ) const
inlineinherited
GlobalMap& boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::global ( )
inlineinherited
reference boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::operator[] ( const key_type key) const
inlineinherited
process_group_type boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::process_group ( ) const
inlineinherited
void boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::request_put ( process_id_type  p,
const key_type k,
const value_type v 
) const
inlineinherited

Sends a "put" request.

void boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::reset ( void  )
inherited
void boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::set_consistency_model ( int  model)
inherited
void boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::set_max_ghost_cells ( std::size_t  max_ghost_cells)
inherited
void boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::set_reduce ( const Reduce &  reduce)
inherited

Set the reduce operation of the distributed property map.

Member Data Documentation

shared_ptr<data_t> boost::parallel::distributed_property_map< ProcessGroup, GlobalMap, one_bit_color_map< StorageMap > >::data
inherited

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