material printout added but doesn't work yet
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
|
||||
#include "G4System.hh"
|
||||
#include <G4Material.hh>
|
||||
#include <G4NistManager.hh>
|
||||
#include <G4String.hh>
|
||||
|
||||
void G4System::init(ConstructionWrapper &CW){
|
||||
|
||||
@@ -122,6 +125,12 @@ void G4System::run_visualize(const std::string& partSpecies, double minEnergy, d
|
||||
runManager->BeamOn(1);
|
||||
}
|
||||
|
||||
void G4System::printMaterial(const std::string& materialName)const{
|
||||
// Get the material from the material name
|
||||
return ; //ToDo
|
||||
}
|
||||
|
||||
|
||||
void G4System::run_gui(){
|
||||
if(ui == nullptr){
|
||||
throw std::runtime_error("GUI not initialized");
|
||||
|
||||
Reference in New Issue
Block a user