[Gate-users] Materials.xml problem...

Simon Stute gate.stute at gmail.com
Wed Aug 4 18:19:12 CEST 2010


GATE reads database files in the $GATEHOME directory by default.
If this variable is well set before launching GATE, there is no need to copy
all your files all the time in your working directory.
So probably your "unknown" directory is the GATE source one.


On Wed, Aug 4, 2010 at 12:31 PM, Rony A. <rony.alkaddoum at gmail.com> wrote:

> Dear Gate Users,
> my Materials.xml is not being read as the default file.
> I am trying to simulate optical photons,
> The MaterialsDatabase.db, surfaces.xml, and materials.xml files, all exist
> in the directory where my macros are being run by Gate (v. 5).
> After investigations, I figured out that the Materials.xml file is not
> being
> used by Gate, but Gate is using some other Materials.xml file existing in
> another unknown directory.
> When I set my material as LSO, it seems that LSO exists in the other
> unknown
> xml file, and the simulation runs.
> But if I change the name to LSO1 in my macros, materialsDatabase.db and
> also
> MY materials.xml
> The error I get is: materialDatabase did not load the properties of LSO1
> this might be a problem if optical photons are transported in this volume.
> Could anyone please tell me how do I fix this problem, or how do I set my
> Materials.xml file as the default one to be used ?
> Thank you,
> Best regards,
> Rony.
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

More information about the Gate-users mailing list