McStas (i): Introduction, use, and basic principles for ray-tracing simulations

Oct 1, 2020
Published in:
  • J.Neutron Res. 22 (2020) 1-16
e-Print:

Citations per year

20202021202220232024012345
Abstract: (arXiv)
We present an overview of, and an introduction to, the general-purpose neutron simulation package McStas. We present the basic principles behind Monte Carlo ray-tracing simulations of neutrons performed in the package and present a few simple examples. We present the implementation of McStas, the status of the package and its use in the neutron community. Finally, we briefly discuss the planned development of the package.
Note:
  • 4 figures
  • [1]
    See the SNS home page
  • [2]
    See the / home page / MatLife/en/
    • Mfl
      ,
    • J-Parc
  • [3]
    See the ISIS home page
  • [4]
    See the ESS home page / 1The classical McStas code uses c-preprocessor[65] define instructions to locally change the meaning of a variable or parameter name. This means that e.g. a geometrical parameter symbol xwidth can be used by multiple components within the same instrument, but with a local meaning and without inconsistency
  • [5]
    tool for simulations of neutron scattering instruments
    • L.L. Daemen
      ,
    • P.A. Seeger
      ,
    • T.G. Thelliez
      ,
    • R.P. Hjelm
      • AIP Conf.Proc. 479 (1999) 41-46
  • [5]
    The neutron instrument simulation package, NISP
    • P.A. Seeger
      ,
    • L.L. Daemen
      • Proc.SPIE Int.Soc.Opt.Eng. 5536 (2004) 109-123
  • [6]
    MCLIB: a library of Monte Carlo subroutines for neutron scattering problems, Rutherford Laboratory report RL-78-090
    • M.W. Johnson
      ,
    • C. Stephanou
  • [6]
    MCGUIDE: a thermal neutron guide simulation program, Rutherford and Appleton Laboratories report RL-80065
    • M.W. Johnson
  • [7]
    • G. Zsigmond
      ,
    • K. Lieutenant
      ,
    • F. Mezei
      • Neutron News 13 (2002) 11
  • [8]
    • J. Saroun
      ,
    • J. Kulda
      • Physica B 234 (1997) 1102
  • [8]
    • J. Saroun
      ,
    • J. Kulda
      • Proc.SPIE Int.Soc.Opt.Eng. 5536 (2004) 124
  • [9]
    • W.-T. Lee
      ,
    • X.-L. Wang
      ,
    • J.L. Robertson
      ,
    • F. Klose
      ,
    • C. Rehm
      • Appl.Phys.A 74 (2002) S1502
  • [10]
    • K. Lefmann
      ,
    • K. Nielsen
      • Neutron News 10 (1999) 20
  • [11]
    Journal of Physics: Conference Series (Online) 528, 012035 / Publishing
    • P.K. Willendrup
      ,
    • E.B. Knudsen
      ,
    • E.B. Klinkby
      ,
    • T. Nielsen
      ,
    • E. Farhi
    et al.
  • [12]
    Journal of Neutron Research, 17, , IOS Press
    • P.K. Willendrup
      ,
    • E. Farhi
      ,
    • E.B. Knudsen
      ,
    • U. Filges
      ,
    • K. Lefmann
  • [13]
    See the NISP home page
  • [14]
    See the VITESS home page at / transport-phenomena/neutronmethods/vitess/
  • [15]
    See the RESTRAX/SIMRES home page at
  • [16]
    See the McStas home page at
  • [17]
    See the McStas User Manual and the Component Manual at
  • [18]
    See de l’Acad. Roy. des. Sciences (1733), 43-45
    • [18]
      naturelle, générale et particulière Supplément 4 (1777), p. 46
      • [19]
        See the wikipedia article at / 27s_needle
      • [20]
        Pov-Ray - Persistence of Vision Pty. Ltd
      • [21]
        Monte Carlo Code Comparisons for a Model Instrument
        • P.A. Seeger
          ,
        • L.L. Daemen
          ,
        • E. Farhi
          ,
        • E.-T. Lee
          ,
        • L. Wang
        et al.
          • Neutron News 13 (2002) 24-29