33 #ifdef G4MULTITHREADED
45 #include "ActionInitialization.hh"
46 #include "DetectorConstruction.hh"
51 int main(
int argc,
char** argv)
54 CLHEP::MTwistEngine randomEngine;
55 G4Random::setTheEngine(&randomEngine);
70 prompt +=
"[40;31m(%s)[40;36m[%/][00;30m:";
71 session-> SetPrompt(prompt);
76 #ifdef G4MULTITHREADED
78 runManager-> SetNumberOfThreads(4);
85 runManager-> SetUserInitialization(
new FTFP_BERT);
101 session-> SessionStart();
A terminal session for MPI application.
int main(int argc, char **argv)
A MPI example code.
G4GLOB_DLL std::ostream G4cout
static G4UIterminal * session
Action initialization class.
Detector construction class to demonstrate various ways of placement.