<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hello, 
<div class="">I am trying to run the moderator component </div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div class="">COMPONENT ESS_Source = ESS_moderator(</div>
<div class="">    isleft = 0.9, Lmin = 0.5, Lmax = 10, cold_frac = 0.5,</div>
<div class="">    dist = 2, focus_xw = 0.2, focus_yh = 0.2, yheight_c = 0.03,</div>
<div class="">    yheight_t = 0.03, n_pulses = 1, beamport_angle = 5,</div>
<div class="">    sourcedef = "2015", extraction_opening = 120)</div>
<div class="">  AT (0, 0, -0.1) RELATIVE Origin</div>
<div class=""><br class="">
</div>
</div>
</div>
<div class="">but I get the following warnings: </div>
<div class="">
<div class=""><font color="#0056d6" class="">/Applications/McStas-2.2a.app/Contents/Resources/mcstas/2.2a/sources/ESS_moderator.comp:409:1: warning: control reaches end of non-void function [-Wreturn-type]</font></div>
<div class=""><font color="#0056d6" class="">} /* end of ESS_Mezei_cold_2012 */</font></div>
<div class=""><font color="#0056d6" class="">^</font></div>
<div class=""><font color="#0056d6" class="">/Applications/McStas-2.2a.app/Contents/Resources/mcstas/2.2a/sources/ESS_moderator.comp:517:1: warning: control reaches end of non-void function [-Wreturn-type]</font></div>
<div class=""><font color="#0056d6" class="">} /* end of ESS_Mezei_cold */</font></div>
<div class=""><font color="#0056d6" class="">^</font></div>
<div class=""><font color="#0056d6" class="">/Applications/McStas-2.2a.app/Contents/Resources/mcstas/2.2a/sources/ESS_moderator.comp:622:1: warning: control reaches end of non-void function [-Wreturn-type]</font></div>
<div class=""><font color="#0056d6" class="">} /* end of ESS_Mezei_thermal */</font></div>
<div class=""><font color="#0056d6" class="">^</font></div>
<div class=""><font color="#0056d6" class="">/Applications/McStas-2.2a.app/Contents/Resources/mcstas/2.2a/sources/ESS_moderator.comp:639:1: warning: control reaches end of non-void function [-Wreturn-type]</font></div>
<div class=""><font color="#0056d6" class="">} /* end of ESS_2012_Lieutenant_cold */</font></div>
<div class=""><font color="#0056d6" class="">^</font></div>
<div class=""><font color="#0056d6" class="">/Applications/McStas-2.2a.app/Contents/Resources/mcstas/2.2a/sources/ESS_moderator.comp:693:1: warning: control may reach end of non-void function [-Wreturn-type]</font></div>
<div class=""><font color="#0056d6" class="">} /* end of ESS_2013_Schoenfeldt_cold */</font></div>
<div class=""><font color="#0056d6" class="">^</font></div>
<div class=""><font color="#0056d6" class="">/Applications/McStas-2.2a.app/Contents/Resources/mcstas/2.2a/sources/ESS_moderator.comp:719:1: warning: control may reach end of non-void function [-Wreturn-type]</font></div>
<div class=""><font color="#0056d6" class="">} /* end of ESS_2014_Schoenfeldt_cold */</font></div>
<div class=""><font color="#0056d6" class="">^</font></div>
<div class=""><font color="#0056d6" class="">/Applications/McStas-2.2a.app/Contents/Resources/mcstas/2.2a/sources/ESS_moderator.comp:851:1: warning: control may reach end of non-void function [-Wreturn-type]</font></div>
<div class=""><font color="#0056d6" class="">} /* end of ESS_2013_Schoenfeldt_thermal */</font></div>
<div class=""><font color="#0056d6" class="">^</font></div>
<div class=""><font color="#0056d6" class="">/Applications/McStas-2.2a.app/Contents/Resources/mcstas/2.2a/sources/ESS_moderator.comp:871:1: warning: control may reach end of non-void function [-Wreturn-type]</font></div>
<div class=""><font color="#0056d6" class="">} /* end of ESS_2014_Schoenfeldt_thermal */</font></div>
<div class=""><font color="#0056d6" class="">^</font></div>
<div class=""><font color="#0056d6" class="">/Applications/McStas-2.2a.app/Contents/Resources/mcstas/2.2a/sources/ESS_moderator.comp:894:1: warning: control may reach end of non-void function [-Wreturn-type]</font></div>
<div class=""><font color="#0056d6" class="">} /* end of ESS_2015_Schoenfeldt_thermal */</font></div>
<div class=""><font color="#0056d6" class="">^</font></div>
<div class=""><font color="#0056d6" class="">/Applications/McStas-2.2a.app/Contents/Resources/mcstas/2.2a/sources/ESS_moderator.comp:922:1: warning: control may reach end of non-void function [-Wreturn-type]</font></div>
<div class=""><font color="#0056d6" class="">} /* end of ESS_2015_Schoenfeldt_cold */</font></div>
<div class=""><font color="#0056d6" class="">^</font></div>
<div class=""><font color="#0056d6" class="">/Applications/McStas-2.2a.app/Contents/Resources/mcstas/2.2a/sources/ESS_moderator.comp:959:17: warning: expression result unused [-Wunused-value]</font></div>
<div class=""><font color="#0056d6" class="">    if(i==0)par3-14.27;</font></div>
<div class=""><font color="#0056d6" class="">            ~~~~^~~~~~</font></div>
<div class=""><font color="#0056d6" class="">11 warnings generated.</font></div>
<div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">----------------------------------------------------</div>
<div class="">
<div class=""><b class=""><font class="Apple-style-span" color="#00426C"><font class="Apple-style-span" face="Tahoma" style="font-size: 11px;">Pascale Deen</font></font></b></div>
<div class=""><font class="Apple-style-span" color="#00426C" face="Tahoma" style="font-size: 11px;">Instrument Scientist - Chopper Spectrometry</font></div>
</div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span><span style="font-size: 11px;" class=""><span class="Apple-style-span" style="font-family: Tahoma; color: rgb(0, 66, 108);">European Spallation Source ESS AB</span><span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class=""><font class="Apple-style-span" face="Tahoma"><font class="Apple-style-span" color="#00426C">P.O Box 176, SE-221 00 Lund, Sweden</font></font></div>
<div class=""><font class="Apple-style-span" face="Tahoma"><font class="Apple-style-span" color="#00426C">Visiting address: Tunavägen 24 Lund</font></font></div>
<div class=""><font class="Apple-style-span" color="#00426c" face="Tahoma"><br class="">
</font></div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span><span class="Apple-style-span" style="font-family: Tahoma; color: rgb(0, 66, 108);">Adjunct Associate Professor </span></span>
<div class=""><font class="Apple-style-span" color="#00426c" style="font-size: 11px;">Niels Bohr Institute </font></div>
<div class=""><font class="Apple-style-span" color="#00426c" style="font-size: 11px;">University of Copenhagen</font></div>
<div class=""><font class="Apple-style-span" color="#00426c" face="Tahoma" size="2"><br class="">
</font></div>
<span class="Apple-style-span" style="text-align: -webkit-auto; border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; text-align: -webkit-auto; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class=""><font class="Apple-style-span" face="Tahoma"><font class="Apple-style-span" color="#00426C" style="font-size: 11px;">Mobile: +46 721 792 079</font></font></div>
<div class=""><font class="Apple-style-span" color="#00426C" face="Tahoma" style="font-size: 11px;">Phone: +46 46 888 3079</font></div>
<div class=""><font class="Apple-style-span" face="Tahoma"><font class="Apple-style-span" color="#00426C" style="font-size: 11px;">E-mail:
<a href="mailto:pascale.deen@esss.se" class="">pascale.deen@esss.se</a></font></font></div>
<div class=""><font class="Apple-style-span" face="Tahoma"><font class="Apple-style-span" color="#00426C"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br class="">
</span></font></font></font></div>
<div class=""><font class="Apple-style-span" face="Tahoma"><font class="Apple-style-span" color="#00426C"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;"><a href="http://www.esss.se/" class="">www.esss.se</a></span></font></font></font></div>
<div class=""><font class="Apple-style-span" face="Tahoma"><font class="Apple-style-span" color="#00426C"><font class="Apple-style-span" size="2"><br class="">
</font></font></font></div>
<div class=""><font class="Apple-style-span" face="Tahoma"><font class="Apple-style-span" color="#00426C"><font class="Apple-style-span" size="2">The European Spallation Source is a Partnership of 16 European Nations committed to the goal of collectively building
 and operating the world's leading facility for research using neutrons by the second quarter of the 21st Century</font></font></font></div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</div>
<br class="">
</div>
</body>
</html>