Neutron Monte Carlo ray-trace simulation application
McStas lets you very precisely model a neutron scattering instrument described as a series of components, representing the physical elements of the instrument / Beamline. A source component samples the properties of each neutron ray randomly (Monte-Carlo is used to sample spectrum, direction and spatial origin etc.), and the particle is then propagated through the different instrument components. These later act on the neutron characteristics (position, speed, direction, spin, etc.). Further, one can install detectors along the neutron path to monitor the characteristics and flux of the neutron beam. McStas works on a principle of code-generation (LeX-Yacc based grammar), generating a fully portable ISO-C code to run on a variety of platforms and architectures.
DocumentationUser manual included and available in PDF format from http://www.mcstas.org/documentation/manual/; User tutorial available at https://github.com/McStasMcXtrace/McCode/wiki/McStas-tutorial%3A-simplified-SANS-instrument
released on 12 December 2018
20 April 2004
Leaders and contributors
Resources and communication
|Developer||VCS Repository Webview||http://neutron.risoe.dk/cvs/|
This entry (in part or in whole) was last reviewed on 1 March 2017.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.