[Gate-users] Add a material

Maxime Toussaint Maxime.Toussaint at USherbrooke.ca
Mon Mar 14 16:35:43 CET 2022


Greetings,

Since the error mention "Sinus" and not "Sinus Cavity", I would guess that the problem would be resolved by removing the space (e.g. SinusCavity). I believe that the file parser use spaces to parse information. As such, "Cavity" would be well defined (maybe) while "Sinus" as many missing parameters.

Sadly, I can't test it right now.

Bests.
Maxime Toussaint
________________________________
De : Gate-users <gate-users-bounces at lists.opengatecollaboration.org> de la part de zahra ahmadi <z_ahmadi263 at yahoo.com>
Envoyé : 14 mars 2022 11:22
À : gate-users at lists.opengatecollaboration.org <gate-users at lists.opengatecollaboration.org>
Objet : [Gate-users] Add a material

Dear users
I want to add a material to the library file (GateMaterials.db),

Sinus Cavity:  d=0.205 g/cm3 ; n=10
+el: name=Hydrogen   ; f=0.0859
        +el: name=Carbon     ; f=0.6589
        +el: name=Nitrogen   ; f=0.0352
        +el: name=Oxygen     ; f=0.1926
        +el: name=Magnesium  ; f=0.0
        +el: name=Phosphor   ; f=0.0
        +el: name=Sulfur     ; f=0.0
        +el: name=Chlorine   ; f=0.0169
        +el: name=Calcium    ; f=0.0105
        +el: name=Barium     ; f=0.0

It seems everything is correct and all of the elements added before, but I have this error,

        GateMaterialDatabase.cc (l.174): GateMaterialDatabase: could not find the definition for material 'Sinus' in material files.

kindly, If you have any idea to solve this problem please let me know.
Best regards
Zahra


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20220314/441ebf2c/attachment.html>


More information about the Gate-users mailing list