<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"New serif";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.yiv8164912385msolistparagraph, li.yiv8164912385msolistparagraph, div.yiv8164912385msolistparagraph
{mso-style-name:yiv8164912385msolistparagraph;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.yiv8164912385msonormal, li.yiv8164912385msonormal, div.yiv8164912385msonormal
{mso-style-name:yiv8164912385msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.yiv8164912385msochpdefault, li.yiv8164912385msochpdefault, div.yiv8164912385msochpdefault
{mso-style-name:yiv8164912385msochpdefault;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.yiv8164912385msohyperlink
{mso-style-name:yiv8164912385msohyperlink;}
span.yiv8164912385msohyperlinkfollowed
{mso-style-name:yiv8164912385msohyperlinkfollowed;}
span.yiv8164912385emailstyle18
{mso-style-name:yiv8164912385emailstyle18;}
p.yiv8164912385msonormal1, li.yiv8164912385msonormal1, div.yiv8164912385msonormal1
{mso-style-name:yiv8164912385msonormal1;
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"New serif",serif;}
span.yiv8164912385msohyperlink1
{mso-style-name:yiv8164912385msohyperlink1;
color:#0563C1;
text-decoration:underline;}
span.yiv8164912385msohyperlinkfollowed1
{mso-style-name:yiv8164912385msohyperlinkfollowed1;
color:#954F72;
text-decoration:underline;}
p.yiv8164912385msolistparagraph1, li.yiv8164912385msolistparagraph1, div.yiv8164912385msolistparagraph1
{mso-style-name:yiv8164912385msolistparagraph1;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"New serif",serif;}
span.yiv8164912385emailstyle181
{mso-style-name:yiv8164912385emailstyle181;
font-family:"Arial",sans-serif;
color:#1F497D;}
p.yiv8164912385msochpdefault1, li.yiv8164912385msochpdefault1, div.yiv8164912385msochpdefault1
{mso-style-name:yiv8164912385msochpdefault1;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:10.0pt;
font-family:"Times New Roman",serif;}
span.yiv8164912385ydp2f732405shorttext
{mso-style-name:yiv8164912385ydp2f732405shorttext;}
span.EmailStyle30
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Ali,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">(Please keep the discussion on the mailing list, others might have similar problems. Or they might be able to offer help.)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Just to be sure: could you check that the “setMaterialDatabase” command is *before* any “setMaterial” command in your mac file?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Good luck!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">David<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Ali Ebrahimi [mailto:a.ebrahimi2008@yahoo.com]
<br>
<b>Sent:</b> Wednesday, May 9, 2018 11:12 AM<br>
<b>To:</b> Boersma David <david.boersma@medaustron.at><br>
<b>Subject:</b> Re: [Gate-users] Material<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Verdana",sans-serif">Dear David<br>
<br>
Thank you for your attention and your answers. I solved my problem. But there is a problem for me. when the main.mac is running, there is an error like below:<br>
[GateMaterialDatabase: could not find the definition for material 'Air' in material files]<br>
I checked the definition of Air in my materials 'db' file. but there was no problem!<br>
In the main. mac, I defined the:<br>
/gate/world/setMaterial Air<br>
and then, I defined Air in my materials 'db' file. there is the same spell. but I don't know!<br>
<br>
I tested stuff, change the 'Air' in the /gate/world/setMaterial Air to /gate/world/setMaterial Teeth<br>
Then I run it, but there is an error like previous error!!<br>
I can't solve this error!<br>
Ali Ebrahimi<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
</div>
<div id="yahoo_quoted_6122015999">
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">On Tuesday, 8 May 2018, 4:28:32 PM GMT+4:30, Boersma David <<a href="mailto:david.boersma@medaustron.at">david.boersma@medaustron.at</a>>
wrote: <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p> </o:p></span></p>
</div>
<div>
<div id="yiv8164912385">
<div>
<div>
<p class="yiv8164912385msonormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A">Hi Ali,</span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p></o:p></span></p>
<p class="yiv8164912385msonormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p></o:p></span></p>
<p class="yiv8164912385msonormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A">Two questions:</span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p></o:p></span></p>
<p class="yiv8164912385msonormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p></o:p></span></p>
<p class="yiv8164912385msolistparagraph" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A">(1)</span><span style="font-size:7.0pt;font-family:"Helvetica",sans-serif;color:#26282A">
</span><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A">Do you mean “materialAF.dat” (without s before AF) or “materialsAF.dat” (with an s before AF)?</span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p></o:p></span></p>
<p class="yiv8164912385msonormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p></o:p></span></p>
<p class="yiv8164912385msolistparagraph" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A">(2)</span><span style="font-size:7.0pt;font-family:"Helvetica",sans-serif;color:#26282A">
</span><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A">If you provide just filename without path, then the file should be in the same directory as where you run Gate. Usually we make a dedicated workspace directory for a simulation,
with “data”, “mac” and “output” directories, and we run (from the workspace directory) something like “Gate mac/main.mac”. Your database file would naturally be stored in the “data” directory. If that is how you did it, then in the mac file the database file
should be called “data/materialsAF.dat” (with or without s), just “materialsAF.dat” would give an error similar to what you quote.</span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p></o:p></span></p>
<p class="yiv8164912385msonormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p></o:p></span></p>
<p class="yiv8164912385msonormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A">Maybe you can first try to answer these questions. If that does not resolve your issue then we can try other things.</span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p></o:p></span></p>
<p class="yiv8164912385msonormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p></o:p></span></p>
<p class="yiv8164912385msonormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A">Good luck!</span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p></o:p></span></p>
<p class="yiv8164912385msonormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A">David</span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p></o:p></span></p>
<p class="yiv8164912385msonormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p></o:p></span></p>
<div id="yiv8164912385yqt06396">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="yiv8164912385msonormal" style="margin-left:1.0in"><b><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A">From:</span></b><span style="font-size:11.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> Gate-users [<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org">mailto:gate-users-bounces@lists.opengatecollaboration.org</a>]
<b>On Behalf Of </b>Ali Ebrahimi<br>
<b>Sent:</b> Sunday, May 6, 2018 12:44 PM<br>
<b>To:</b> <a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a><br>
<b>Subject:</b> [Gate-users] Material</span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p></o:p></span></p>
</div>
</div>
<p class="yiv8164912385msonormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> <o:p></o:p></span></p>
<div>
<div>
<div>
<p class="yiv8164912385msonormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">Hi, all gate users<o:p></o:p></span></p>
</div>
<div>
<p class="yiv8164912385msonormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> <o:p></o:p></span></p>
</div>
<div>
<p class="yiv8164912385msonormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">I have a question about the setMaterialDetabase.<o:p></o:p></span></p>
<div>
<p class="yiv8164912385msonormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">I
</span><span class="yiv8164912385ydp2f732405shorttext"><span lang="EN" style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">have written</span></span><span lang="EN" style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">
</span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">the main.mac and I have defined the setMaterialDetabase with ''.dat''. This file related to an phantom which reported by ICRP110. There are an error when running is performed.<o:p></o:p></span></p>
</div>
<div>
<p class="yiv8164912385msonormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> <o:p></o:p></span></p>
<div>
<p class="yiv8164912385msonormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">Error:<o:p></o:p></span></p>
<div>
<p class="yiv8164912385msonormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> <o:p></o:p></span></p>
<div>
<p class="yiv8164912385msonormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">Could not find material database file /home/gate/project/materialsAF.dat<o:p></o:p></span></p>
<div>
<p class="yiv8164912385msonormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"> <o:p></o:p></span></p>
<div>
<p class="yiv8164912385msonormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">why the gate can not find my ''materialAF.dat''??<o:p></o:p></span></p>
<div>
<p class="yiv8164912385msonormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><br>
Thanks<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<p class="yiv8164912385msonormal" style="margin-left:.5in"><b><span lang="EN-GB" style="font-size:7.5pt;font-family:"Helvetica",sans-serif;color:#26282A">Disclaimer:</span></b><span style="font-size:7.5pt;font-family:"Helvetica",sans-serif;color:#26282A"><br>
</span><span lang="EN-GB" style="font-size:7.5pt;font-family:"Helvetica",sans-serif;color:#26282A">Please notice our E-Mail Disclaimer <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.medaustron.at%2Femail-disclaimer%2F&data=02%7C01%7Cdavid.boersma%40medaustron.at%7C1e6d00f3262b432c046508d5b58cf4b5%7Cadb749e06dfd4f6fbea8cd9f8e0c9b89%7C0%7C1%7C636614539381063409&sdata=epfSC2srEBUWrefwJLXmC6aSf9G%2BfhOyABb78mWtXWc%3D&reserved=0" target="_blank"><span style="color:#112359">http://www.medaustron.at/email-disclaimer/</span></a></span><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">
<o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A"><o:p> </o:p></span></p>
</div>
</div>
<div id="yqt54948">
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Helvetica",sans-serif;color:#26282A">_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opengatecollaboration.org%2Fmailman%2Flistinfo%2Fgate-users&data=02%7C01%7Cdavid.boersma%40medaustron.at%7C1e6d00f3262b432c046508d5b58cf4b5%7Cadb749e06dfd4f6fbea8cd9f8e0c9b89%7C0%7C1%7C636614539381073418&sdata=f7f8rKmuHu0m%2F82XOWF8Xwkx1Qc821HfZJkI1uDWNVQ%3D&reserved=0" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="WordSection1">
<p class="MsoNormal"><small><span style=""><o:p></o:p></span><b><span style="font-family: "Verdana","sans-serif"; color: rgb(17, 35, 89);" lang="EN-GB">Disclaimer:</span></b><br>
<span style="font-family: "Verdana","sans-serif"; color: rgb(17, 35, 89);" lang="EN-GB">Please notice our E-Mail Disclaimer <a href="http://www.medaustron.at/email-disclaimer/"><span style="color: rgb(17, 35, 89);">http://www.medaustron.at/email-disclaimer/</span></a></span></small><span style=""><o:p></o:p></span><o:p> </o:p></p>
</div>
<br>
</body>
</html>