|Message: Materials properties not being set in GDML||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Hello, Nobody responding to this thread, but I live in hope! I am using Geant version 4.9.2.p04. I am in the process of upgrading the code to the most recent version of Geant4, but I find that the current program doesn't work under 4.9.2.p04 although it should (at least it did before under DOS!).
If find that my code G4String mname = material->GetName(); returns the name of the material,
but for G4String mformula = material->GetChemicalFormula();
the mformula string is blank. There are a number of other materials properties that are supposed to be set by a GDML file, but they are also not setup.
I am thinking that perhaps this is an issue with using a different version of XERCESC than I should or perhaps there have been some changes to the GDML standard, so that the files are no longer read properly. Could it be an issue with transferring files from dos to unix? (I have converted the gdml and csd files using dos2unix utility).
The libraries in /usr/local/lib are: libxerces-c-3.1.so libxerces-c.la libxerces-c.a libxerces-c.so
Any help much appreciated.