Message: Stil having problems with GDML Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Stil having problems with GDML 

Forum: Geometry
Re: None Can't read xsd extensions file in GDML (Christopher Walker)
Re: None Re: Can't read xsd extensions file in GDML (Christopher Walker)
Date: 29 Jun, 2015
From: Christopher Walker <Christopher Walker>

I am still having problems with gdml and xsd files. I have some extra materials properties which seem not to be recognised. So I have for instance:

  <element Z="22" formula="Ti" name="Titanium" >
   <atom value="47.867" />
  </element>

and later in the file I define the material Titanium
  <material Z="22" formula="Ti" name="Titanium" workfunction="4.33" fermienergy="8.54" resistivity="4.0e-7" >
   <D value="4.507" />
   <atom value="47.867" />
  </material>

These materials are defined in a seperate "myMaterials.xml" file. However, just in case it was not reading this file I copied and pasted the file between

<materials> 
</materials>

but got not change.

The extra properties are defined in an xsd file thus:

  <xs:attributeGroup name="MaterialAttributeGroup">
    <xs:attribute name="workfunction" type="xs:double" use="optional">
      <xs:annotation>
	<xs:documentation>Material work function in eV</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>

I cannot seem to find anything in the examples G03 or G04 which seem to help me solve my problem. The GDML files used to work under Geant 4.9.2

Any help much appreciated. Chris

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Materials properties not being set in GDML   (Christopher Walker - 01 Jul, 2015)
 Add Message Add Message
to: "Stil having problems with GDML"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]