Import Geant4 9.4.0 source tree
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4MPImanager.hh,v 1.1 2007/11/16 14:05:40 kmura Exp $
|
||||
// $Name: geant4-09-02 $
|
||||
// $Id: G4MPImanager.hh,v 1.2 2010/05/18 06:03:27 kmura Exp $
|
||||
// $Name: geant4-09-04-beta-01 $
|
||||
//
|
||||
// ====================================================================
|
||||
// G4MPImanager.hh
|
||||
@@ -54,7 +54,7 @@ private:
|
||||
static G4MPImanager* theManager;
|
||||
G4MPImessenger* messenger;
|
||||
G4MPIsession* session;
|
||||
|
||||
|
||||
G4int verbose;
|
||||
G4MPIstatus* status; // status for each node
|
||||
|
||||
@@ -139,6 +139,7 @@ public:
|
||||
void ShowStatus();
|
||||
void ShowSeeds();
|
||||
void SetSeed(G4int inode, G4long seed);
|
||||
void WaitBeamOn();
|
||||
|
||||
// methods for MPI environment
|
||||
void DistributeSeeds();
|
||||
@@ -225,7 +226,7 @@ inline const G4String& G4MPImanager::GetMacroFileName() const
|
||||
inline void G4MPImanager::SetMasterWeight(G4double aweight)
|
||||
{
|
||||
masterWeight= aweight;
|
||||
|
||||
|
||||
if(aweight<0.) masterWeight= 0.;
|
||||
if(aweight>1.) masterWeight= 1.;
|
||||
}
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4MPImessenger.hh,v 1.1 2007/11/16 14:05:40 kmura Exp $
|
||||
// $Name: geant4-09-02 $
|
||||
// $Id: G4MPImessenger.hh,v 1.3 2010/12/03 08:21:29 kmura Exp $
|
||||
// $Name: geant4-09-04 $
|
||||
//
|
||||
// ====================================================================
|
||||
// G4MPImessenger.hh
|
||||
@@ -62,7 +62,7 @@ private:
|
||||
G4UIcmdWithAString* execute;
|
||||
|
||||
G4UIcommand* beamOn;
|
||||
G4UIcmdWithAnInteger* dotbeamOn;
|
||||
G4UIcommand* dotbeamOn;
|
||||
G4UIcmdWithADouble* masterWeight;
|
||||
|
||||
G4UIcmdWithoutParameter* showSeeds;
|
||||
@@ -72,10 +72,10 @@ private:
|
||||
public:
|
||||
G4MPImessenger(G4MPImanager* manager);
|
||||
~G4MPImessenger();
|
||||
|
||||
|
||||
virtual void SetNewValue(G4UIcommand* command, G4String newValue);
|
||||
virtual G4String GetCurrentValue(G4UIcommand* command);
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4VMPIsession.hh,v 1.1 2007/11/16 14:05:41 kmura Exp $
|
||||
// $Name: geant4-09-02 $
|
||||
// $Id: G4VMPIsession.hh,v 1.2 2010/05/18 06:05:05 kmura Exp $
|
||||
// $Name: geant4-09-04-beta-01 $
|
||||
//
|
||||
// ====================================================================
|
||||
// G4VMPIsession.hh
|
||||
@@ -57,7 +57,7 @@ protected:
|
||||
G4bool isSlave;
|
||||
G4int rank;
|
||||
|
||||
G4int ExecCommand(G4String aCommand);
|
||||
G4int ExecCommand(G4String acommand);
|
||||
G4String TruncateCommand(const G4String& command) const;
|
||||
G4String BypassCommand(const G4String& command) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user