|Message: Re: Problems with GDML in Geant4.9.2 Matrix issue||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)|
On Tue, 17 Feb 2009 08:54:29 GMT, Gabriele Cosmo wrote:
> > I have been attempting to modify my code to use the GDML routines in > > geant4.9.2. Previously I used the interface in GDML_2_10_0. I have found > > a couple of problems. 1. The VolumeAuxiliaryinformation map if owned by > > the G4GDMLReadStructure routine rather then the G4GDMLParser. Each time > > you read a new module file it is reset. > > Sorry, it's not clear to me what you mean by this. > Can you please show how you associate the auxiliary information in your program > and how you load your modules ? > > >2. Matrix don't seem to work. I > > tried the matirx example, matricesandloop.gdml in the load_gdml of > > examples/extended/persistancy/gdml/G01. I got syntax errors. > > Can you please show what kind of errors you get ? > G01 with loops works just fine for me and I don't see any syntax error. > > btw, if you believe there is a problem it would be faster and more effective for > everybody if you open a problem report in the Bugzilla system and provide with > all the information necessary for reproducing the problem. Thanks. >
Here is my output from load_gdml
[wattsjw@watts G01]$ load_gdml matricesandloops.gdml
Usage: load_gdml <intput_gdml_file:mandatory> <output_gdml_file:optional>
G4GDML: Reading 'matricesandloops.gdml'... G4GDML: Reading definitions... G4GDML: Reading materials... G4GDML: Reading solids...
*** ExceptionHandler is not defined ***
*** G4Exception : InvalidExpression issued by : G4GDMLEvaluator::SolveBrackets() Bracket mismatch: j]+m[j
Severity : *** Fatal Exception ***
*** G4Exception: Aborting execution *** Aborted [wattsjw@watts G01]$
I am using CLHEP.18.104.22.168 and xerces-c-3.0.0 on an Operron running Scientific Linux 5.1.
Attached is matricesandloops.gdml taken from GDML_22.214.171.124/CPPGDML/Examples/g4g0gdml. It was modified to point the the geant4.9.2 gdml schema.