Skip to content
Snippets Groups Projects
Commit 04e41fff authored by Johannes Junggeburth's avatar Johannes Junggeburth :dog2:
Browse files

Fix EtherName

parent 76f80bd1
No related branches found
No related tags found
1 merge request!284Fix EtherName
...@@ -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));
......
...@@ -30,7 +30,7 @@ bool StrictErrorHandler::handleError(const xercesc::DOMError &domError) { ...@@ -30,7 +30,7 @@ bool StrictErrorHandler::handleError(const xercesc::DOMError &domError) {
msglog << "\nFatal Error at file \n"; msglog << "\nFatal Error at file \n";
} }
msglog << XMLString::transcode(domError.getLocation()->getURI()) msglog << XMLString::transcode(domError.getLocation()->getURI())
<< ", line " << domError.getLocation()->getLineNumber() << " - line " << domError.getLocation()->getLineNumber()
<< ", char " << domError.getLocation()->getColumnNumber() << ", char " << domError.getLocation()->getColumnNumber()
<< "\n Message: " << XMLString::transcode(domError.getMessage()) << endmsg; << "\n Message: " << XMLString::transcode(domError.getMessage()) << endmsg;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment