Import Geant4 10.6.0 source tree
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
|
||||
Category History file
|
||||
---------------------
|
||||
29.08.2019 - S. Guatelli;doiPET-V10-05-01
|
||||
G4VIS_USE and G4_UI removed
|
||||
|
||||
17.12.2018 - G. Cosmo;doiPET-V10-05-00
|
||||
Fixed compilation warnings on clang for unused data members in
|
||||
|
||||
@@ -56,15 +56,6 @@
|
||||
#include "G4RunManager.hh"
|
||||
#endif
|
||||
|
||||
//
|
||||
#ifdef G4VIS_USE
|
||||
#include "G4VisExecutive.hh"
|
||||
#endif
|
||||
|
||||
#ifdef G4UI_USE
|
||||
#include "G4UIExecutive.hh"
|
||||
#endif
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
int main(int argc,char** argv)
|
||||
@@ -125,21 +116,15 @@ int main(int argc,char** argv)
|
||||
|
||||
else //define visualization and UI terminal for interactive mode
|
||||
{
|
||||
#ifdef G4VIS_USE
|
||||
G4VisManager* visManager = new G4VisExecutive;
|
||||
visManager->Initialize();
|
||||
#endif
|
||||
|
||||
#ifdef G4UI_USE
|
||||
G4UIExecutive * ui = new G4UIExecutive(argc,argv);
|
||||
ui->SessionStart();
|
||||
delete ui;
|
||||
#endif
|
||||
|
||||
//
|
||||
#ifdef G4VIS_USE
|
||||
delete visManager;
|
||||
#endif
|
||||
delete visManager;
|
||||
}
|
||||
|
||||
//close the file
|
||||
|
||||
Reference in New Issue
Block a user