Base class of mapping functions used in view-based distribution specifications. The distribution_spec_view holds its mapping function using this base class. More...
Public Member Functions | |
mapping_base (std::shared_ptr< mapping_base > const &other) | |
virtual Index | operator() (GID) const |
virtual void | update (std::vector< std::tuple< std::pair< ContainerGID, ContainerGID >, ContainerCID, 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 GID | gid_type |
typedef Index | index_type |
Base class of mapping functions used in view-based distribution specifications. The distribution_spec_view holds its mapping function using this base class.