Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4MPIutils.hh File Reference
#include <map>
#include <vector>
#include <functional>
#include <numeric>
Include dependency graph for G4MPIutils.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 G4mpi
 

Typedefs

typedef unsigned int G4mpi::rank_t
 
typedef std::pair< rank_t, rank_t > G4mpi::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)