Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
G4MPIutils.hh File Reference
#include <map>
#include <vector>
#include <functional>
#include <numeric>

Go to the source code of this file.

Namespaces

namespace  G4mpi
 

Typedefs

typedef unsigned int G4mpi::rank_t
 
typedef std::pair< rank_t, rank_tG4mpi::couple_t
 
typedef std::map< int, std::vector< couple_t > > G4mpi::commMap_t
 
typedef std::function< void(std::function< void(unsigned int)>, std::function< void(unsigned int)>, std::function< void(void)>, unsigned int, unsigned int)> G4mpi::mergerHandler_t
 

Functions

commMap_t G4mpi::buildCommunicationMap (std::vector< rank_t > &input)
 
void G4mpi::Merge (std::function< void(unsigned int)> senderF, std::function< void(unsigned int)> receiverF, std::function< void(void)> barrierF, unsigned int commSize, unsigned int myrank)
 

Applications | User Support | Publications | Collaboration