HavoqGT
havoqgt::mpi::owner_dest_id Class Reference

#include <edge_node_identifier.hpp>

Public Member Functions

 owner_dest_id (int p)
 
template<typename T >
int operator() (std::pair< T, T > i) const
 

Private Attributes

uint64_t m_mpi_size
 

Detailed Description

Definition at line 95 of file edge_node_identifier.hpp.

Constructor & Destructor Documentation

havoqgt::mpi::owner_dest_id::owner_dest_id ( int  p)
inlineexplicit

Definition at line 97 of file edge_node_identifier.hpp.

Member Function Documentation

template<typename T >
int havoqgt::mpi::owner_dest_id::operator() ( std::pair< T, T >  i) const
inline

Definition at line 99 of file edge_node_identifier.hpp.

99 { return i.second % m_mpi_size; }

Member Data Documentation

uint64_t havoqgt::mpi::owner_dest_id::m_mpi_size
private

Definition at line 101 of file edge_node_identifier.hpp.


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