Geant4  10.02
G4MPIbatch Class Reference

#include <G4MPIbatch.hh>

+ Inheritance diagram for G4MPIbatch:
+ Collaboration diagram for G4MPIbatch:

Public Member Functions

 G4MPIbatch (const G4String &fname="", G4bool qbatch=false)
 
 ~G4MPIbatch ()
 
virtual G4UIsessionSessionStart ()
 
- Public Member Functions inherited from G4VMPIsession
 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 ()
 
- Public Member Functions inherited from G4UIsession
 G4UIsession ()
 
virtual ~G4UIsession ()
 
- Public Member Functions inherited from G4coutDestination
 G4coutDestination ()
 
virtual ~G4coutDestination ()
 

Protected Member Functions

G4String ReadCommand ()
 
- Protected Member Functions inherited from G4VMPIsession
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

std::ifstream batch_stream_
 
G4bool is_opened_
 
G4bool is_batch_mode_
 
- Protected Attributes inherited from G4VMPIsession
G4MPImanagerg4mpi_
 
G4bool is_master_
 
G4bool is_slave_
 
G4int rank_
 

Additional Inherited Members

- Static Protected Attributes inherited from G4coutDestination
static G4coutDestinationmasterG4coutDestination = 0
 

Detailed Description

Definition at line 34 of file G4MPIbatch.hh.

Constructor & Destructor Documentation

G4MPIbatch::G4MPIbatch ( const G4String fname = "",
G4bool  qbatch = false 
)

Definition at line 64 of file G4MPIbatch.cc.

References batch_stream_, G4cerr, G4endl, G4VMPIsession::is_master_, and is_opened_.

G4MPIbatch::~G4MPIbatch ( )

Definition at line 79 of file G4MPIbatch.cc.

References batch_stream_, and is_opened_.

Member Function Documentation

G4String G4MPIbatch::ReadCommand ( )
protected

Definition at line 85 of file G4MPIbatch.cc.

References batch_stream_, G4String::both, G4VMPIsession::BypassCommand(), G4Exception(), JustWarning, G4String::replace(), G4String::strip(), and Tokenize().

Referenced by SessionStart().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4UIsession * G4MPIbatch::SessionStart ( )
virtual

Implements G4VBasicShell.

Definition at line 154 of file G4MPIbatch.cc.

References G4VMPIsession::ExecCommand(), fCommandSucceeded, G4cerr, G4cout, G4endl, G4VMPIsession::g4mpi_, G4UImanager::GetUIpointer(), G4VMPIsession::is_master_, is_opened_, and ReadCommand().

+ Here is the call graph for this function:

Member Data Documentation

std::ifstream G4MPIbatch::batch_stream_
protected

Definition at line 42 of file G4MPIbatch.hh.

Referenced by G4MPIbatch(), ReadCommand(), and ~G4MPIbatch().

G4bool G4MPIbatch::is_batch_mode_
protected

Definition at line 44 of file G4MPIbatch.hh.

G4bool G4MPIbatch::is_opened_
protected

Definition at line 43 of file G4MPIbatch.hh.

Referenced by G4MPIbatch(), SessionStart(), and ~G4MPIbatch().


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