28 #ifndef G4MPI_MANAGER_H
29 #define G4MPI_MANAGER_H
36 #define DISALLOW_COPY_AND_ASSIGN(TypeName) \
37 TypeName(const TypeName&); \
38 void operator=(const TypeName&)
112 void ParseArguments(
G4int argc,
char** argv);
133 MPI::Intracomm COMM_G4COMMAND_;
137 std::ofstream fscout_;
146 pthread_t thread_id_;
166 if( iverbose > 1 ) lv = 1;
167 if( iverbose < 0 ) lv = 0;
201 return init_file_name_;
212 return macro_file_name_;
217 master_weight_ = aweight;
219 if( aweight < 0. ) master_weight_ = 0.;
220 if( aweight > 1. ) master_weight_ = 1.;
225 return master_weight_;
230 return seed_generator_;
G4bool IsInitMacro() const
const G4String & GetInitFileName() const
void SetVerbose(G4int iverbose)
void ExecuteThreadCommand(const G4String &command)
G4double GetMasterWeight() const
const G4String & GetMacroFileName() const
G4bool IsBatchMode() const
G4String BcastCommand(const G4String &command)
void SetMasterWeight(G4double aweight)
static G4MPImanager * GetManager()
void Print(const G4String &message)
G4MPIsession * GetMPIsession() const
G4bool CheckThreadStatus()
void BeamOn(G4int nevent, G4bool qdivide=true)
G4VMPIseedGenerator * GetSeedGenerator() const
void ExecuteMacroFile(const G4String &fname, G4bool qbatch=false)
void ExecuteBeamOnThread(const G4String &command)
void SetSeed(G4int inode, G4long seed)