Gate icon indicating copy to clipboard operation
Gate copied to clipboard

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

Open ThomasDeschler opened this issue 9 years ago • 2 comments

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.

ThomasDeschler avatar Oct 28 '16 14:10 ThomasDeschler

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

thanks, David

dsarrut avatar Nov 24 '16 16:11 dsarrut

See #453

dsarrut avatar Aug 25 '21 13:08 dsarrut