Geant4
10.01.p02
|
#include <G4MPIbatch.hh>
Public Member Functions | |
G4MPIbatch (const G4String &fname="", G4bool qbatch=false) | |
~G4MPIbatch () | |
virtual G4UIsession * | SessionStart () |
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) |
G4UIcommandTree * | FindDirectory (const char *dirName) const |
G4UIcommand * | FindCommand (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 | |
G4MPImanager * | g4mpi_ |
G4bool | is_master_ |
G4bool | is_slave_ |
G4int | rank_ |
Additional Inherited Members | |
Static Protected Attributes inherited from G4coutDestination | |
static G4coutDestination * | masterG4coutDestination = 0 |
Definition at line 34 of file G4MPIbatch.hh.
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_.
|
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().
|
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().
|
protected |
Definition at line 42 of file G4MPIbatch.hh.
Referenced by G4MPIbatch(), ReadCommand(), and ~G4MPIbatch().
|
protected |
Definition at line 44 of file G4MPIbatch.hh.
|
protected |
Definition at line 43 of file G4MPIbatch.hh.
Referenced by G4MPIbatch(), SessionStart(), and ~G4MPIbatch().