[Gate-users] Problem with reading materials from GateMaterials.db

S. Saghamanesh s.saghamanesh at yahoo.com
Mon Aug 11 15:02:58 CEST 2014


Hi everybody,
I have Gate 7.0 installed on my PC. As usual, I refer to the file "GateMaterials.db" in my macro in order to read materialsfor my macros. But gate can not read and recognize some elements such as carbon, boron, gold, ... . It's error is like below:

"===== XML PATH ====: ./Materials.xml
===== XML PATH ====: 0x4a1ed50
ABSLENGTH
1.84e-0650000
4.08e-0650000
RINDEX
1.84e-061.00028
4.08e-061.00028
===== XML PATH ====: ./Materials.xml
===== XML PATH ====: 0x4af6330
===== XML PATH ====: ./Materials.xml
===== XML PATH ====: 0x4bbb740
GateMaterialDatabase.cc (l.131): GateMaterialDatabase: could not find the definition for material 'Gold' in material files
"

Surprisingly, when I insert a new material in that file ,e.g, gold with below properties :
Gold: d=19.3 g/cm3 ; n=1 ; state=solid 
       +el: name=gold   ; n=1

program recognizes it (truly or wrongly I don't know) and doesn't show any error! The same happens for Carbon (I insert it as Graphite and it just works!). But for example it doesn't work for InO. Could you please tell me why gate can not recognize some of its embedded elements like carbon and gold?! It seems the code returns to the materials.xml file and I don't know why.

Thanks in advance
Soman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140811/33d65ed5/attachment.html>


More information about the Gate-users mailing list