Geant4_10
Public Types | Public Member Functions | Static Public Member Functions | List of all members
G4MPImanager Class Reference

#include <G4MPImanager.hh>

Public Types

enum  { kRANK_MASTER = 0 }
 
enum  { kTAG_G4COMMAND = 100, kTAG_G4STATUS = 200, kTAG_G4SEED = 300, kTAG_DATA = 1000 }
 

Public Member Functions

 G4MPImanager ()
 
 G4MPImanager (int argc, char **argv)
 
 ~G4MPImanager ()
 
G4MPIsessionGetMPIsession () const
 
G4int GetVerbose () const
 
void SetVerbose (G4int iverbose)
 
G4int GetSize () const
 
G4int GetRank () const
 
G4bool IsMaster () const
 
G4bool IsSlave () const
 
G4bool IsInitMacro () const
 
const G4StringGetInitFileName () const
 
G4bool IsBatchMode () const
 
const G4StringGetMacroFileName () const
 
void SetMasterWeight (G4double aweight)
 
G4double GetMasterWeight () const
 
G4VMPIseedGeneratorGetSeedGenerator () const
 
G4String BcastCommand (const G4String &command)
 
void ShowStatus ()
 
void ShowSeeds ()
 
void SetSeed (G4int inode, G4long seed)
 
void WaitBeamOn ()
 
void DistributeSeeds ()
 
void ExecuteMacroFile (const G4String &fname, G4bool qbatch=false)
 
G4bool CheckThreadStatus ()
 
void ExecuteThreadCommand (const G4String &command)
 
void ExecuteBeamOnThread (const G4String &command)
 
void JoinBeamOnThread ()
 
void BeamOn (G4int nevent, G4bool qdivide=true)
 
void Print (const G4String &message)
 
void ShowHelp () const
 

Static Public Member Functions

static G4MPImanagerGetManager ()
 

Detailed Description

Definition at line 45 of file G4MPImanager.hh.

Member Enumeration Documentation

anonymous enum
Enumerator
kRANK_MASTER 

Definition at line 48 of file G4MPImanager.hh.

anonymous enum
Enumerator
kTAG_G4COMMAND 
kTAG_G4STATUS 
kTAG_G4SEED 
kTAG_DATA 

Definition at line 50 of file G4MPImanager.hh.

Constructor & Destructor Documentation

G4MPImanager::G4MPImanager ( )

Definition at line 68 of file G4MPImanager.cc.

Here is the call graph for this function:

G4MPImanager::G4MPImanager ( int  argc,
char **  argv 
)

Definition at line 78 of file G4MPImanager.cc.

Here is the call graph for this function:

G4MPImanager::~G4MPImanager ( )

Definition at line 89 of file G4MPImanager.cc.

Here is the call graph for this function:

Member Function Documentation

G4String G4MPImanager::BcastCommand ( const G4String command)

Definition at line 416 of file G4MPImanager.cc.

void G4MPImanager::BeamOn ( G4int  nevent,
G4bool  qdivide = true 
)

Definition at line 460 of file G4MPImanager.cc.

Here is the call graph for this function:

G4bool G4MPImanager::CheckThreadStatus ( )

Definition at line 325 of file G4MPImanager.cc.

Here is the caller graph for this function:

void G4MPImanager::DistributeSeeds ( )

Definition at line 287 of file G4MPImanager.cc.

Here is the call graph for this function:

void G4MPImanager::ExecuteBeamOnThread ( const G4String command)

Definition at line 385 of file G4MPImanager.cc.

Here is the call graph for this function:

void G4MPImanager::ExecuteMacroFile ( const G4String fname,
G4bool  qbatch = false 
)

Definition at line 449 of file G4MPImanager.cc.

void G4MPImanager::ExecuteThreadCommand ( const G4String command)

Definition at line 356 of file G4MPImanager.cc.

Here is the call graph for this function:

const G4String & G4MPImanager::GetInitFileName ( ) const
inline

Definition at line 199 of file G4MPImanager.hh.

Here is the caller graph for this function:

const G4String & G4MPImanager::GetMacroFileName ( ) const
inline

Definition at line 210 of file G4MPImanager.hh.

Here is the caller graph for this function:

G4MPImanager * G4MPImanager::GetManager ( )
static

Definition at line 103 of file G4MPImanager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4MPImanager::GetMasterWeight ( ) const
inline

Definition at line 223 of file G4MPImanager.hh.

Here is the caller graph for this function:

G4MPIsession * G4MPImanager::GetMPIsession ( ) const
inline

Definition at line 153 of file G4MPImanager.hh.

G4int G4MPImanager::GetRank ( ) const
inline

Definition at line 173 of file G4MPImanager.hh.

G4VMPIseedGenerator * G4MPImanager::GetSeedGenerator ( ) const
inline

Definition at line 228 of file G4MPImanager.hh.

G4int G4MPImanager::GetSize ( ) const
inline

Definition at line 178 of file G4MPImanager.hh.

G4int G4MPImanager::GetVerbose ( ) const
inline

Definition at line 158 of file G4MPImanager.hh.

Here is the caller graph for this function:

G4bool G4MPImanager::IsBatchMode ( ) const
inline

Definition at line 205 of file G4MPImanager.hh.

G4bool G4MPImanager::IsInitMacro ( ) const
inline

Definition at line 193 of file G4MPImanager.hh.

G4bool G4MPImanager::IsMaster ( ) const
inline

Definition at line 183 of file G4MPImanager.hh.

G4bool G4MPImanager::IsSlave ( ) const
inline

Definition at line 188 of file G4MPImanager.hh.

void G4MPImanager::JoinBeamOnThread ( )

Definition at line 407 of file G4MPImanager.cc.

void G4MPImanager::Print ( const G4String message)

Definition at line 532 of file G4MPImanager.cc.

Here is the caller graph for this function:

void G4MPImanager::SetMasterWeight ( G4double  aweight)
inline

Definition at line 215 of file G4MPImanager.hh.

void G4MPImanager::SetSeed ( G4int  inode,
G4long  seed 
)

Definition at line 317 of file G4MPImanager.cc.

Here is the call graph for this function:

void G4MPImanager::SetVerbose ( G4int  iverbose)
inline

Definition at line 163 of file G4MPImanager.hh.

void G4MPImanager::ShowHelp ( ) const

Definition at line 546 of file G4MPImanager.cc.

void G4MPImanager::ShowSeeds ( )

Definition at line 294 of file G4MPImanager.cc.

Here is the call graph for this function:

void G4MPImanager::ShowStatus ( )

Definition at line 238 of file G4MPImanager.cc.

Here is the call graph for this function:

void G4MPImanager::WaitBeamOn ( )

Definition at line 511 of file G4MPImanager.cc.


The documentation for this class was generated from the following files: