OpenGATE / Gate

Official public repository of Gate
http://www.opengatecollaboration.org
GNU Lesser General Public License v3.0
236 stars 263 forks source link

"Vacuum" is chosen as default material for each volume geometry but is not defined anywhere in GATE #96

Open ThomasDeschler opened 8 years ago

ThomasDeschler commented 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

To solve this issue I propose to replace all the SetMaterialName("Vacuum") by SetMaterialName("G4_Galactic") defined in NIST materials.

dsarrut commented 7 years ago

Hi Tom, as we discuss : maybe rather check if Vacum does not exist, and replace by G4_Galactic in that case.

thanks, David

dsarrut commented 3 years ago

See #453