[neutron-mc] Monochromator_flat
Peter Willendrup
peter.willendrup at risoe.dk
Thu Apr 22 07:37:22 CEST 2004
Hi Ulrich and Lorenzo,
On Wed, 21 Apr 2004, Lorenzo Ciampolini wrote:
> For me too that's a bug, the first values up to 0 should be negative. I
> did not search for the literature, but I know what Gauss quadrature is and
> those X values should be the integration abscissae, which should be
> definitely symmetrical around zero (an additional argument is used to
> later offset the stuff).
>
> However, you might verify that (at least at the present moment) in the
> rest of the component code the Gaussian curves are centered at zero so the
> bug is effectless.
Thanks for pointing out the possible error. I tend to agree with Lorenzo
that this is an effecless bug, but will check this ofcourse.
It seems it comes from very ancient code (Monochromator_flat was Mosaic_simple before):
http://fys-lin-1.risoe.dk/cgi-bin/cvsweb/mcstas/lib/obsolete/Mosaic_simple.comp?rev=1.2&content-type=text/x-cvsweb-markup
(Dating back to july 1999... ;) )
Regards,
Peter
--
-------------------------------------
Peter Kjaer Willendrup, Cand. Scient
Phone: (+45) 46 77 58 62
email: peter.willendrup at risoe.dk
-------------------------------------
More information about the mcstas-users
mailing list