Skip to content
Snippets Groups Projects

Fix EtherName

Merged Johannes Junggeburth requested to merge EtherName into main
2 files
+ 3
3
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -201,12 +201,12 @@ void MaterialManager::buildSpecialMaterials() {
@@ -201,12 +201,12 @@ void MaterialManager::buildSpecialMaterials() {
// Ether
// Ether
GeoIntrusivePtr<GeoElement> ethElement{new GeoElement("Ether","ET",500.0,0.0)};
GeoIntrusivePtr<GeoElement> ethElement{new GeoElement("Ether","ET",500.0,0.0)};
m_elements.insert(std::make_pair("Ether",ethElement));
m_elements.insert(std::make_pair("Ether",ethElement));
GeoIntrusivePtr<GeoMaterial> ether{new GeoMaterial("Ether",0.0)};
GeoIntrusivePtr<GeoMaterial> ether{new GeoMaterial("special::Ether",0.0)};
ether->add(ethElement,1.);
ether->add(ethElement,1.);
ether->lock();
ether->lock();
m_materials.insert(std::make_pair("special::Ether", ether));
m_materials.insert(std::make_pair("special::Ether", ether));
// HyperUranium
// HyperUranium
GeoIntrusivePtr<GeoMaterial> hu{new GeoMaterial("HyperUranium",0.0)};
GeoIntrusivePtr<GeoMaterial> hu{new GeoMaterial("special::HyperUranium",0.0)};
hu->add(ethElement,1.);
hu->add(ethElement,1.);
hu->lock();
hu->lock();
m_materials.insert(std::make_pair("special::HyperUranium", hu));
m_materials.insert(std::make_pair("special::HyperUranium", hu));
Loading