Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
G4MPImanager Class Reference

#include <G4MPImanager.hh>

Public Types

enum  { RANK_MASTER = 0 }
 
enum  { TAG_G4COMMAND = 100, TAG_G4STATUS = 200, TAG_G4SEED = 300, TAG_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 41 of file G4MPImanager.hh.

Member Enumeration Documentation

anonymous enum
Enumerator
RANK_MASTER 

Definition at line 44 of file G4MPImanager.hh.

anonymous enum
Enumerator
TAG_G4COMMAND 
TAG_G4STATUS 
TAG_G4SEED 
TAG_DATA 

Definition at line 46 of file G4MPImanager.hh.

Constructor & Destructor Documentation

G4MPImanager::G4MPImanager ( )

Definition at line 53 of file G4MPImanager.cc.

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

Definition at line 63 of file G4MPImanager.cc.

G4MPImanager::~G4MPImanager ( )

Definition at line 74 of file G4MPImanager.cc.

Here is the call graph for this function:

Member Function Documentation

G4String G4MPImanager::BcastCommand ( const G4String command)

Definition at line 422 of file G4MPImanager.cc.

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

Definition at line 466 of file G4MPImanager.cc.

Here is the call graph for this function:

G4bool G4MPImanager::CheckThreadStatus ( )

Definition at line 330 of file G4MPImanager.cc.

Here is the caller graph for this function:

void G4MPImanager::DistributeSeeds ( )

Definition at line 292 of file G4MPImanager.cc.

Here is the call graph for this function:

void G4MPImanager::ExecuteBeamOnThread ( const G4String command)

Definition at line 390 of file G4MPImanager.cc.

Here is the call graph for this function:

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

Definition at line 455 of file G4MPImanager.cc.

void G4MPImanager::ExecuteThreadCommand ( const G4String command)

Definition at line 361 of file G4MPImanager.cc.

Here is the call graph for this function:

const G4String & G4MPImanager::GetInitFileName ( ) const
inline

Definition at line 193 of file G4MPImanager.hh.

Here is the caller graph for this function:

const G4String & G4MPImanager::GetMacroFileName ( ) const
inline

Definition at line 204 of file G4MPImanager.hh.

Here is the caller graph for this function:

G4MPImanager * G4MPImanager::GetManager ( )
static

Definition at line 90 of file G4MPImanager.cc.

Here is the caller graph for this function:

G4double G4MPImanager::GetMasterWeight ( ) const
inline

Definition at line 217 of file G4MPImanager.hh.

Here is the caller graph for this function:

G4MPIsession * G4MPImanager::GetMPIsession ( ) const
inline

Definition at line 147 of file G4MPImanager.hh.

G4int G4MPImanager::GetRank ( ) const
inline

Definition at line 167 of file G4MPImanager.hh.

G4VMPIseedGenerator * G4MPImanager::GetSeedGenerator ( ) const
inline

Definition at line 222 of file G4MPImanager.hh.

G4int G4MPImanager::GetSize ( ) const
inline

Definition at line 172 of file G4MPImanager.hh.

Here is the caller graph for this function:

G4int G4MPImanager::GetVerbose ( ) const
inline

Definition at line 152 of file G4MPImanager.hh.

Here is the caller graph for this function:

G4bool G4MPImanager::IsBatchMode ( ) const
inline

Definition at line 199 of file G4MPImanager.hh.

G4bool G4MPImanager::IsInitMacro ( ) const
inline

Definition at line 187 of file G4MPImanager.hh.

G4bool G4MPImanager::IsMaster ( ) const
inline

Definition at line 177 of file G4MPImanager.hh.

G4bool G4MPImanager::IsSlave ( ) const
inline

Definition at line 182 of file G4MPImanager.hh.

void G4MPImanager::JoinBeamOnThread ( )

Definition at line 413 of file G4MPImanager.cc.

void G4MPImanager::Print ( const G4String message)

Definition at line 519 of file G4MPImanager.cc.

Here is the caller graph for this function:

void G4MPImanager::SetMasterWeight ( G4double  aweight)
inline

Definition at line 209 of file G4MPImanager.hh.

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

Definition at line 322 of file G4MPImanager.cc.

Here is the call graph for this function:

void G4MPImanager::SetVerbose ( G4int  iverbose)
inline

Definition at line 157 of file G4MPImanager.hh.

void G4MPImanager::ShowHelp ( ) const

Definition at line 533 of file G4MPImanager.cc.

void G4MPImanager::ShowSeeds ( )

Definition at line 299 of file G4MPImanager.cc.

Here is the call graph for this function:

void G4MPImanager::ShowStatus ( )

Definition at line 243 of file G4MPImanager.cc.

Here is the call graph for this function:

void G4MPImanager::WaitBeamOn ( )

Definition at line 497 of file G4MPImanager.cc.


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