Geant4
10.01.p02
|
#include <G4MPIRunMerger.hh>
Public Member Functions | |
G4MPIRunMerger (const G4Run *aRun, G4int destination=G4MPImanager::kRANK_MASTER, G4int verbosity=0) | |
virtual | ~G4MPIRunMerger () |
void | SetRun (G4Run *r) |
const G4Run * | GetRun () const |
void | SetDestinationRank (G4int i) |
G4int | GetDestinationRank () const |
G4int | GetCommSize () const |
virtual void | Merge () |
void | SetVerbosity (G4int ver) |
G4int | GetVerbosity () const |
Protected Member Functions | |
virtual void | Send () |
virtual void | Receive (G4int rank) |
void | SendDouble (G4double *val, G4int size=1) |
void | SendInt (G4int *val, G4int size=1) |
void | ReceiveDouble (G4int rank, G4double *val, G4int size=1) |
void | ReceiveInt (G4int rank, G4int *val, G4int size=1) |
Protected Attributes | |
G4int | destinationRank |
G4Run * | run |
G4int | commSize |
MPI::Intracomm | COMM_G4COMMAND_ |
G4int | verbose |
Definition at line 32 of file G4MPIRunMerger.hh.
G4MPIRunMerger::G4MPIRunMerger | ( | const G4Run * | aRun, |
G4int | destination = G4MPImanager::kRANK_MASTER , |
||
G4int | verbosity = 0 |
||
) |
Definition at line 29 of file G4MPIRunMerger.cc.
|
inlinevirtual |
Definition at line 37 of file G4MPIRunMerger.hh.
|
inline |
Definition at line 42 of file G4MPIRunMerger.hh.
References commSize.
|
inline |
Definition at line 41 of file G4MPIRunMerger.hh.
References destinationRank.
|
inline |
Definition at line 39 of file G4MPIRunMerger.hh.
References run.
|
inline |
Definition at line 45 of file G4MPIRunMerger.hh.
References verbose.
|
virtual |
Definition at line 97 of file G4MPIRunMerger.cc.
References COMM_G4COMMAND_, commSize, destinationRank, DMSG, Receive(), and Send().
|
protectedvirtual |
Definition at line 77 of file G4MPIRunMerger.cc.
References DMSG, G4Run::GetNumberOfEvent(), G4Run::Merge(), ReceiveInt(), G4Run::RecordEvent(), and run.
Referenced by Merge().
Definition at line 55 of file G4MPIRunMerger.cc.
References COMM_G4COMMAND_, DMSG, G4FFGEnumerations::DOUBLE, and G4MPImanager::kTAG_DATA.
Definition at line 62 of file G4MPIRunMerger.cc.
References COMM_G4COMMAND_, DMSG, G4FFGEnumerations::INT, and G4MPImanager::kTAG_DATA.
Referenced by Receive().
|
protectedvirtual |
Definition at line 69 of file G4MPIRunMerger.cc.
References DMSG, G4Run::GetNumberOfEvent(), run, and SendInt().
Referenced by Merge().
Definition at line 39 of file G4MPIRunMerger.cc.
References COMM_G4COMMAND_, destinationRank, DMSG, G4FFGEnumerations::DOUBLE, and G4MPImanager::kTAG_DATA.
Definition at line 47 of file G4MPIRunMerger.cc.
References COMM_G4COMMAND_, destinationRank, DMSG, G4FFGEnumerations::INT, and G4MPImanager::kTAG_DATA.
Referenced by Send().
|
inline |
Definition at line 40 of file G4MPIRunMerger.hh.
References destinationRank.
|
inline |
Definition at line 38 of file G4MPIRunMerger.hh.
References run.
|
inline |
Definition at line 44 of file G4MPIRunMerger.hh.
References verbose.
|
protected |
Definition at line 57 of file G4MPIRunMerger.hh.
Referenced by Merge(), ReceiveDouble(), ReceiveInt(), SendDouble(), and SendInt().
|
protected |
Definition at line 56 of file G4MPIRunMerger.hh.
Referenced by GetCommSize(), and Merge().
|
protected |
Definition at line 54 of file G4MPIRunMerger.hh.
Referenced by GetDestinationRank(), Merge(), SendDouble(), SendInt(), and SetDestinationRank().
|
protected |
|
protected |
Definition at line 58 of file G4MPIRunMerger.hh.
Referenced by GetVerbosity(), and SetVerbosity().