STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::dist_spec_impl::cb_gid_to_part< PartInfoView > Struct Template Reference

Mapping function from GID to partition id used to construct an arbitrary distribution specification from a container of partition information. More...

Public Member Functions

 cb_gid_to_part (PartInfoView const &part_info)
 
index_type operator() (gid_type id) const
 
void update (std::vector< std::tuple< std::pair< gid_type, gid_type >, index_type, location_type >> const &, size_t)
 Method required of all mapping functions. The method is called by the update_distribution method of containers.
 

Public Types

typedef unsigned long int gid_type
 
typedef unsigned long int index_type
 

Detailed Description

template<typename PartInfoView>
struct stapl::dist_spec_impl::cb_gid_to_part< PartInfoView >

Mapping function from GID to partition id used to construct an arbitrary distribution specification from a container of partition information.

Member Function Documentation

◆ operator()()

template<typename PartInfoView >
index_type stapl::dist_spec_impl::cb_gid_to_part< PartInfoView >::operator() ( gid_type  id) const

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