Open ThomasDeschler opened 8 years ago
It is a real problem when the simulation contains only NIST materials and no external Material Database is used.
Causing this error: GateMaterialDatabase.cc (l.131): GateMaterialDatabase: could not find the definition for material 'Vacuum' in material
GateMaterialDatabase.cc (l.131): GateMaterialDatabase: could not find the definition for material 'Vacuum' in material
To solve this issue I propose to replace all the SetMaterialName("Vacuum") by SetMaterialName("G4_Galactic") defined in NIST materials.
SetMaterialName("Vacuum")
SetMaterialName("G4_Galactic")
Hi Tom, as we discuss : maybe rather check if Vacum does not exist, and replace by G4_Galactic in that case.
thanks, David
See #453
It is a real problem when the simulation contains only NIST materials and no external Material Database is used.
Causing this error:
GateMaterialDatabase.cc (l.131): GateMaterialDatabase: could not find the definition for material 'Vacuum' in material
To solve this issue I propose to replace all the
SetMaterialName("Vacuum")
bySetMaterialName("G4_Galactic")
defined in NIST materials.