Geant4  10.00.p01
G4VMPIsession Class Reference

#include <G4VMPIsession.hh>

+ Inheritance diagram for G4VMPIsession:
+ Collaboration diagram for G4VMPIsession:

Public Member Functions

 G4VMPIsession ()
 
 ~G4VMPIsession ()
 
virtual void PauseSessionStart (const G4String &msg)
 
virtual G4int ReceiveG4cout (const G4String &coutString)
 
virtual G4int ReceiveG4cerr (const G4String &cerrString)
 
- Public Member Functions inherited from G4VBasicShell
 G4VBasicShell ()
 
virtual ~G4VBasicShell ()
 
virtual G4UIsessionSessionStart ()=0
 
- Public Member Functions inherited from G4UIsession
 G4UIsession ()
 
virtual ~G4UIsession ()
 
- Public Member Functions inherited from G4coutDestination
 G4coutDestination ()
 
virtual ~G4coutDestination ()
 

Protected Member Functions

G4int ExecCommand (const G4String &acommand)
 
G4String TruncateCommand (const G4String &command) const
 
G4String BypassCommand (const G4String &command) const
 
virtual G4bool GetHelpChoice (G4int &aval)
 
virtual void ExitHelp () const
 
- Protected Member Functions inherited from G4VBasicShell
G4String ModifyToFullPathCommand (const char *aCommandLine) const
 
G4String GetCurrentWorkingDirectory () const
 
G4bool ChangeDirectory (const char *newDir)
 
G4UIcommandTreeFindDirectory (const char *dirName) const
 
G4UIcommandFindCommand (const char *commandName) const
 
G4String Complete (const G4String &)
 
G4String FindMatchingPath (G4UIcommandTree *, const G4String &)
 
virtual void ExecuteCommand (const G4String &)
 
void ApplyShellCommand (const G4String &, G4bool &, G4bool &)
 
void ShowCurrent (const G4String &) const
 
void ChangeDirectoryCommand (const G4String &)
 
void ListDirectory (const G4String &) const
 
void TerminalHelp (const G4String &)
 

Protected Attributes

G4MPImanagerg4mpi_
 
G4bool is_master_
 
G4bool is_slave_
 
G4int rank_
 

Detailed Description

Definition at line 38 of file G4VMPIsession.hh.

Constructor & Destructor Documentation

G4VMPIsession::G4VMPIsession ( )

Definition at line 35 of file G4VMPIsession.cc.

References g4mpi_, G4MPImanager::GetManager(), is_master_, is_slave_, and rank_.

+ Here is the call graph for this function:

G4VMPIsession::~G4VMPIsession ( )

Definition at line 46 of file G4VMPIsession.cc.

Member Function Documentation

G4String G4VMPIsession::BypassCommand ( const G4String command) const
protected

Definition at line 172 of file G4VMPIsession.cc.

References G4cout, G4endl, g4mpi_, is_master_, and G4String::replace().

Referenced by ExecCommand(), and G4MPIbatch::ReadCommand().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4VMPIsession::ExecCommand ( const G4String acommand)
protected

Definition at line 75 of file G4VMPIsession.cc.

References BypassCommand(), fAliasNotFound, fCommandNotFound, fCommandSucceeded, fIllegalApplicationState, G4VBasicShell::FindCommand(), fParameterOutOfCandidates, fParameterOutOfRange, fParameterUnreadable, G4cerr, G4cout, G4endl, g4mpi_, G4UIcommand::GetParameter(), G4UImanager::GetUIpointer(), and is_master_.

Referenced by G4MPIbatch::SessionStart(), and G4MPIsession::SessionStart().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VMPIsession::ExitHelp ( ) const
protectedvirtual

Implements G4VBasicShell.

Definition at line 63 of file G4VMPIsession.cc.

References G4cin.

G4bool G4VMPIsession::GetHelpChoice ( G4int aval)
protectedvirtual

Implements G4VBasicShell.

Definition at line 51 of file G4VMPIsession.cc.

References G4cin.

void G4VMPIsession::PauseSessionStart ( const G4String msg)
virtual

Implements G4VBasicShell.

Definition at line 70 of file G4VMPIsession.cc.

G4int G4VMPIsession::ReceiveG4cerr ( const G4String cerrString)
virtual

Reimplemented from G4UIsession.

Definition at line 263 of file G4VMPIsession.cc.

References g4mpi_, and pyG4Element::Print().

+ Here is the call graph for this function:

G4int G4VMPIsession::ReceiveG4cout ( const G4String coutString)
virtual

Reimplemented from G4UIsession.

Definition at line 256 of file G4VMPIsession.cc.

References g4mpi_, and pyG4Element::Print().

+ Here is the call graph for this function:

G4String G4VMPIsession::TruncateCommand ( const G4String command) const
protected

Definition at line 147 of file G4VMPIsession.cc.

Referenced by G4MPIsession::GetCommand().

+ Here is the caller graph for this function:

Member Data Documentation

G4bool G4VMPIsession::is_slave_
protected

Definition at line 53 of file G4VMPIsession.hh.

Referenced by G4VMPIsession().

G4int G4VMPIsession::rank_
protected

Definition at line 54 of file G4VMPIsession.hh.

Referenced by G4VMPIsession().


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