|
|
|
|
![]() |
![]() |
![]() | |||
|
About McStas Documentation |
This report documents McStas version 3.10.0, released October, 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 Installing McStas 3 Monte Carlo Techniques and simulation strategy 3.1 Neutron spectrometer simulations 3.2 The neutron weight 3.3 Weight factor transformations during a Monte Carlo choice 3.4 Adaptive and Stratified sampling 3.5 Accuracy of Monte Carlo simulations 4 Running McStas 4.1 Installation and updates 4.2 Brief introduction to the graphical user interface 4.3 Running the instrument compiler 4.4 Running the simulations 4.5 Using simulation front-ends 4.6 Data formats - Analyzing and visualizing the simulation results 4.7 Using MPI for parallel computing 5 The McStas kernel and meta-language 5.1 Notational conventions 5.2 Syntactical conventions 5.3 Writing instrument definitions 5.4 Writing instrument definitions - complex arrangements and syntax 5.5 Writing component definitions 5.6 Extending component definitions 5.7 McDoc, the McStas library documentation tool 6 Polarisation in McStas 6.1 The Polarization Vector 6.2 Polarized Neutron Scattering 6.3 Magnetic fields: the precession algorithm and field framework 6.4 Polarisation components in McStas 6.5 Test and example instruments 7 The Union components 7.1 Motivation 7.2 Component classes 7.3 The propagation algorithm 7.4 A complete example 7.5 Further examples and worked tutorials 8 Links to other computing codes 8.1 McStas and MANTID 8.2 McStas and MCNP(X) 9 The component library: Abstract 9.1 Component categories 9.2 Data files 9.3 Component and instrument examples 10 Instrument examples 10.1 A quick tour of instrument examples 10.2 A test instrument for the component V_sample 10.3 The triple axis spectrometer TAS1 10.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
|
||||||||
| |||||||||