📑 Table of Contents
McStas
DevelopersDTU, ESS, ILL, KU
Stable release
3.7.1
Written inC, Perl[citation needed]
TypeMonte Carlo Simulation
LicenseGNU Lesser General Public License
Websitemcstas.org
Repository

McStas[1][2] is free and open-source (GNU General Public License) software simulator for neutron scattering experiments. McStas is an abbreviation for Monte carlo Simulation of triple axis spectrometers, but the software can be used to simulate all types of neutron scattering instruments. The software is based on both Monte Carlo methods and ray tracing. A special compiler translates a domain-specific language describing the neutron instrument geometry and component definitions (written in C) to a stand-alone C code.

The basics of McStas was written in 1997 at Risø for simulation of their neutron experiments, that were based at the DR3 reactor that was shut down in year 2000. After the fusion of Risø with the Technical University of Denmark, McStas is currently developed at the Physics department of DTU and Institut Laue-Langevin, with involvement from the Niels Bohr Institute and Paul Scherrer Institute. The Copenhagen-based Data Management and Software Centre of the European Spallation Source is also expected to become a partner since many of the future instruments are being simulated using McStas.

McXtrace, an equivalent simulation package using X-rays instead of neutrons, started being developed in 2009 and it is now freely available.

Official partner sites are

See also

edit

References

edit
  1. ^ K. Lefmann and K. Nielsen, "McStas, a General Software Package for Neutron Ray-tracing Simulations", Neutron News 10, 20, (1999).
  2. ^ Willendrup, P.; Farhi E.; Knudsen E.; Filges U.; Lefmann K; McStas: past, present and future. Journal of Neutron Research 17, 2014 pp. 35-43
edit


📚 Artikel Terkait di Wikipedia

List of free and open-source software packages

Spinach Surface Evolver TARDIS UrQMD Astropy CMBFAST GADGET CP2K EGS MCSim McStas McXtrace MPMC OpenMC TARDIS FORM (symbolic manipulation system) ADaMSoft

List of open-source software for mathematics

SU2 code CompHEP UrQMD APFEL Geant4 Astropy CMBFAST GADGET CP2K EGS MCSim McStas McXtrace MPMC TARDIS Cantera CP2K MOPAC NWChem Psi4 ASCEND Axiom Euler Mathematical

List of computational physics software

the McStas (neutrons) and McXtrace (x-rays) Monte-Carlo ray-tracing instrument simulation codes". github.com. Retrieved December 17, 2025. "McStas homepage"

McXtrace

sister project to the well known and proven neutron ray-tracing package McStas in a project funded jointly by: DTU Physics at The Technical University

VITESS

facilities. Other simulation packages for neutron scattering instruments include McStas, Restrax, NISP and IDEAS. VITESS simulations are carried out by means of

Neutron-acceptance diagram shading

is a beam simulation technique. Unlike Monte-Carlo simulation codes like McStas, NADS does not trace individual neutrons but traces linearly-related bunches

Journal of Neutron Research

Reactor/Spallation Neutron Source Technology Neutron Simulation Tools e.g. McStas and VITESS, Data Reduction and Data Analysis Authors are invited to use

Index of physics articles (M)

Maxwell–Wagner–Sillars polarization Mayak Mazuku McCumber relation McLeod gauge McStas Mean anomaly Mean field theory Mean flow Mean free path Mean free time Mean