ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/extended/parallel/MPI/source/include/G4VMPIsession.hh>
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 G4UIsession * | SessionStart ()=0 |
Public Member Functions inherited from G4UIsession | |
G4UIsession () | |
G4UIsession (G4int iBatch) | |
virtual | ~G4UIsession () |
G4int | GetLastReturnCode () const |
Public Member Functions inherited from G4coutDestination | |
G4coutDestination ()=default | |
virtual | ~G4coutDestination () |
void | AddCoutTransformer (const Transformer &t) |
void | AddCoutTransformer (Transformer &&t) |
void | AddCerrTransformer (const Transformer &t) |
void | AddCerrTransformer (Transformer &&t) |
virtual void | ResetTransformers () |
G4int | ReceiveG4cout_ (const G4String &msg) |
G4int | ReceiveG4cerr_ (const G4String &msg) |
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) |
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 | |
G4MPImanager * | g4mpi_ |
G4bool | is_master_ |
G4bool | is_slave_ |
G4int | rank_ |
Additional Inherited Members | |
Public Types inherited from G4coutDestination | |
using | Transformer = std::function< G4bool(G4String &)> |
Static Public Member Functions inherited from G4UIsession | |
static G4int | InSession () |
Static Protected Attributes inherited from G4UIsession | |
static G4ICOMS_DLL G4int | inSession = 0 |
Definition at line 38 of file G4VMPIsession.hh.
View newest version in sPHENIX GitHub at line 38 of file G4VMPIsession.hh
G4VMPIsession::G4VMPIsession | ( | ) |
Definition at line 35 of file G4VMPIsession.cc.
View newest version in sPHENIX GitHub at line 35 of file G4VMPIsession.cc
References g4mpi_, G4MPImanager::GetManager(), is_master_, is_slave_, and rank_.
G4VMPIsession::~G4VMPIsession | ( | ) |
Definition at line 47 of file G4VMPIsession.cc.
View newest version in sPHENIX GitHub at line 47 of file G4VMPIsession.cc
Definition at line 173 of file G4VMPIsession.cc.
View newest version in sPHENIX GitHub at line 173 of file G4VMPIsession.cc
References G4cout, G4endl, g4mpi_, incremental_prev_tag::idx, is_master_, and G4String::replace().
Referenced by ExecCommand(), and G4MPIbatch::ReadCommand().
Definition at line 76 of file G4VMPIsession.cc.
View newest version in sPHENIX GitHub at line 76 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().
|
protectedvirtual |
Implements G4VBasicShell.
Definition at line 64 of file G4VMPIsession.cc.
View newest version in sPHENIX GitHub at line 64 of file G4VMPIsession.cc
References G4cin.
Implements G4VBasicShell.
Definition at line 52 of file G4VMPIsession.cc.
View newest version in sPHENIX GitHub at line 52 of file G4VMPIsession.cc
References G4cin.
Implements G4VBasicShell.
Definition at line 71 of file G4VMPIsession.cc.
View newest version in sPHENIX GitHub at line 71 of file G4VMPIsession.cc
Reimplemented from G4UIsession.
Definition at line 264 of file G4VMPIsession.cc.
View newest version in sPHENIX GitHub at line 264 of file G4VMPIsession.cc
References g4mpi_, and pyG4Element::Print().
Reimplemented from G4UIsession.
Definition at line 257 of file G4VMPIsession.cc.
View newest version in sPHENIX GitHub at line 257 of file G4VMPIsession.cc
References g4mpi_, and pyG4Element::Print().
Definition at line 148 of file G4VMPIsession.cc.
View newest version in sPHENIX GitHub at line 148 of file G4VMPIsession.cc
References incremental_prev_tag::idx.
Referenced by G4MPIsession::GetCommand().
|
protected |
Definition at line 49 of file G4VMPIsession.hh.
View newest version in sPHENIX GitHub at line 49 of file G4VMPIsession.hh
Referenced by BypassCommand(), ExecCommand(), G4MPIsession::G4MPIsession(), G4VMPIsession(), ReceiveG4cerr(), ReceiveG4cout(), G4MPIbatch::SessionStart(), G4MPIsession::SessionStart(), and G4MPIsession::TryForcedTerminate().
|
protected |
Definition at line 52 of file G4VMPIsession.hh.
View newest version in sPHENIX GitHub at line 52 of file G4VMPIsession.hh
Referenced by BypassCommand(), ExecCommand(), G4MPIbatch::G4MPIbatch(), G4MPIsession::G4MPIsession(), G4VMPIsession(), G4MPIbatch::SessionStart(), G4MPIsession::SessionStart(), and G4MPIsession::TryForcedTerminate().
|
protected |
Definition at line 53 of file G4VMPIsession.hh.
View newest version in sPHENIX GitHub at line 53 of file G4VMPIsession.hh
Referenced by G4VMPIsession().
|
protected |
Definition at line 54 of file G4VMPIsession.hh.
View newest version in sPHENIX GitHub at line 54 of file G4VMPIsession.hh
Referenced by G4VMPIsession().