HavoqGT
havoqgt::mpi::owner_source_id Class Reference

#include <edge_node_identifier.hpp>

Public Member Functions

 owner_source_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 86 of file edge_node_identifier.hpp.

Constructor & Destructor Documentation

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

Definition at line 88 of file edge_node_identifier.hpp.

Member Function Documentation

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

Definition at line 90 of file edge_node_identifier.hpp.

90 { return i.first % m_mpi_size; }

Member Data Documentation

uint64_t havoqgt::mpi::owner_source_id::m_mpi_size
private

Definition at line 92 of file edge_node_identifier.hpp.


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