|
|
|
|
![]() |
![]() |
![]() | |||
|
About McStas Download Documentation |
This report documents McStas version 3.9, released September, 2026 The authors are:
as well as authors who left the project:
ISBN 978–87–550–3679–6 ISSN 0106–2840 Physics Department \(\cdot \) DTU \(\cdot \) 2026
Contents
Preface and acknowledgments Preface and acknowledgments 1 Introduction to McStas 1.1 Development of Monte Carlo neutron simulation 1.2 Scientific background 1.3 The design of McStas 1.4 Overview 2 Monte Carlo Techniques and simulation strategy 2.1 Neutron spectrometer simulations 2.2 The neutron weight 2.3 Weight factor transformations during a Monte Carlo choice 2.4 Adaptive and Stratified sampling 2.5 Accuracy of Monte Carlo simulations 3 Running McStas 3.1 Installation and updates 3.2 Brief introduction to the graphical user interface 3.3 Running the instrument compiler 3.4 Running the simulations 3.5 Using simulation front-ends 3.6 Data formats - Analyzing and visualizing the simulation results 3.7 Using MPI for parallel computing 4 The McStas kernel and meta-language 4.1 Notational conventions 4.2 Syntactical conventions 4.3 Writing instrument definitions 4.4 Writing instrument definitions - complex arrangements and syntax 4.5 Writing component definitions 4.6 Extending component definitions 4.7 McDoc, the McStas library documentation tool 5 Polarisation in McStas 5.1 The Polarization Vector 5.2 Polarized Neutron Scattering 5.3 Magnetic fields: the precession algorithm and field framework 5.4 Polarisation components in McStas 5.5 Test and example instruments 6 The Union components 6.1 Motivation 6.2 Component classes 6.3 The propagation algorithm 6.4 A complete example 6.5 Further examples and worked tutorials 7 Links to other computing codes 7.1 McStas and MANTID 7.2 McStas and MCNP(X) 8 The component library: Abstract 8.1 Component categories 8.2 Data files 8.3 Component and instrument examples 9 Instrument examples 9.1 A quick tour of instrument examples 9.2 A test instrument for the component V_sample 9.3 The triple axis spectrometer TAS1 9.4 The time-of-flight spectrometer PRISMA A Random numbers in McStas A.1 Transformation of random numbers A.2 Random generator B Libraries and constants B.1 Run-time calls and functions (mcstas-r) B.2 Reading a data file into a vector/matrix (Table input, read_table-lib) B.3 Monitor_nD Library B.4 Adaptive importance sampling Library B.5 Vitess import/export Library B.6 Constants for unit conversion etc. C The McStas terminology Bibliography Bibliography Index and keywords Index
|
||||||||
| |||||||||