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
Links to other computing codes
6.1
McStas and MANTID
6.2
McStas and MCNP(X)
7
The component library: Abstract
7.1
Component categories
7.2
Data files
7.3
Component and instrument examples
8
Instrument examples
8.1
A quick tour of instrument examples
8.2
A test instrument for the component V_sample
8.3
The triple axis spectrometer TAS1
8.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
User and Programmers Guide to the Neutron Ray-Tracing Package McStas, version 3.8.6
[
next
] [
prev
] [
prev-tail
] [
tail
] [
up
]
A
.
Random numbers in McStas
A.1
Transformation of random numbers
A.2
Random generator
[
next
] [
prev
] [
prev-tail
] [
front
] [
up
]