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&)
116 void ParseArguments(
G4int argc,
char** argv);
137 MPI::Intracomm COMM_G4COMMAND_;
141 std::ofstream fscout_;
150 pthread_t thread_id_;
170 if( iverbose > 1 ) lv = 1;
171 if( iverbose < 0 ) lv = 0;
205 return init_file_name_;
216 return macro_file_name_;
221 master_weight_ = aweight;
223 if( aweight < 0. ) master_weight_ = 0.;
224 if( aweight > 1. ) master_weight_ = 1.;
229 return master_weight_;
234 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)