1 #ifndef _TRUERANDOMGENERATOR_HPP     2 #define _TRUERANDOMGENERATOR_HPP    14 #include <system/Mpi.hpp>    15 #include <utility/SingleInstance.hpp>    47     std::random_device::operator()();
    50       if(returningRank!=Mpi::ALL_RANKS)
    51     mpi.broadcast(val,returningRank);
 
auto operator()()
Returns the inner generated value. 
TrueRandomGenerator trueRandomGenerator
Global true random generator. 
int returningRank
Rank of which the result is returning. 
decltype(auto) operator+(T1 &&smet1, T2 &&smet2)
Implement smet1+smet2. 
TrueRandomGenerator(int returningRank=Mpi::MASTER_RANK)
Creates specifying the rank to be used for returning.