HavoqGT
havoqgt::mpi::local_source_id Class Reference

#include <edge_node_identifier.hpp>

Public Member Functions

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

Private Attributes

uint64_t m_mpi_size
 

Detailed Description

Definition at line 59 of file edge_node_identifier.hpp.

Constructor & Destructor Documentation

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

Definition at line 61 of file edge_node_identifier.hpp.

Member Function Documentation

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

Definition at line 63 of file edge_node_identifier.hpp.

63 { return i.first / m_mpi_size; }

Member Data Documentation

uint64_t havoqgt::mpi::local_source_id::m_mpi_size
private

Definition at line 65 of file edge_node_identifier.hpp.


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