<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello all mcneutron readers,
<p>I've found a bug in the handling of string parameters for instruments.
<br>Thus, I corrected that, and this requires to update the cogen.c and
lib/mcfrontlib.pl files before McStas 1.4 installation.
<p>Then you will be able to use mcstas simlations with instrument string
parameters:
<p>for instance if you define an instrument by
<p>DEFINE INSTRUMENT D11(GuideSampleLength, string GuideType, Lambda)
<p>you can run it with
<p>mcrun d11 -f MyOutput -n 1e6 -N 32 GuideSampleLength=20 GuideType=Glass
Lambda=4.5,20
<p>mcplot is ok with it.
<p>Cheers.
<br>EF.
<pre>--
Emmanuel FARHI, <A HREF="http://www.ill.fr/tas/people/Farhi.html">http://www.ill.fr/tas/people/Farhi.html</A> \|/ ____ \|/
TAS-Group, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~
Avenue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France /_( \__/ )_\
Work :Tel (33/0) 4 76 20 71 83. Fax (33/0) 4 76 48 39 06 \__U_/
La Grande Arche, Chateau d'Uriage, 38410 Saint Martin d'Uriage 04 76 59 73 94</pre>
</html>