[neutron-mc] Monochromator_flat
Ulrich C. Wildgruber MPI fuer Metallforschung Stuttgart
wildgrub at dxray.mpi-stuttgart.mpg.de
Tue Apr 20 16:29:21 CEST 2004
Dear colleagues,
just today I looked at the source code of "Monochromator_flat.comp" and got
stuck at:
double Gauss_X[] = {-0.987992518020485, 0.937273392400706, 0.848206583410427,
0.724417731360170, 0.570972172608539, 0.394151347077563,
0.201194093997435, 0, 0.201194093997435,
0.394151347077563, 0.570972172608539, 0.724417731360170,
0.848206583410427, 0.937273392400706, 0.987992518020485};
Could it be that the lonely minus-sign attached to the first element
is wrong or that other minus signs are missing? I wasn't able to get
hold of the literature mentioned in the source listing.
(/* Values for Gauss quadrature. Taken from Brice Carnahan, H. A. Luther and
James O Wilkes, "Applied numerical methods", Wiley, 1996, page 103. */)
Can anybody please confirm that everything is all right?
Thanks!
Uli
--
Ulrich WILDGRUBER
wildgrub at dxray.mpi-stuttgart.mpg.de
wwwmf.mpi-stuttgart.mpg.de/abteilungen/dosch/dosch.html
-----------------------------------------------------------------------------
Max-Planck-Institut für Metallforschung | Technische Universität München
Heisenbergstr. 3 | ZWE Neue Forschungs-Neutronenquelle
| Instrumentierung
D-70569 Stuttgart | D-85747 Garching/München
Tel.: (+49)-711-689-1900 | Tel.: (+49)-89-289-14681
Fax.: (+49)-711-689-1902 | Fax.: (+49)-89-289-14666
More information about the mcstas-users
mailing list