diff --git a/.github/workflows/mcstas-basictest.yml b/.github/workflows/mcstas-basictest.yml
index 558ff9f641..4c7e73f6e1 100644
--- a/.github/workflows/mcstas-basictest.yml
+++ b/.github/workflows/mcstas-basictest.yml
@@ -302,7 +302,6 @@ jobs:
-DENSURE_MCPL=OFF \
-DENSURE_NCRYSTAL=OFF \
-DENABLE_CIF2HKL=ON \
- -DENABLE_NEUTRONICS=OFF \
${EXTRA_ARGS_FOR_CMAKE}
cmake --build . --config Release
cmake --build . --target install --config Release
@@ -341,7 +340,6 @@ jobs:
-DBUILD_TOOLS=ON
-DENABLE_COMPONENTS=ON
-DENABLE_CIF2HKL=OFF
- -DENABLE_NEUTRONICS=OFF
-DMPIINCLUDEDIR=%MPIINCVAR%
-DMPILIBDIR=%MPILIBVAR%
@@ -834,7 +832,6 @@ jobs:
-DENSURE_MCPL=OFF \
-DENSURE_NCRYSTAL=OFF \
-DENABLE_CIF2HKL=OFF \
- -DENABLE_NEUTRONICS=OFF \
-DGSLFLAGS="-I/usr/local/include -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lgsl -lgslcblas" \
-DNEXUSLIB=/usr/local/lib \
-DNEXUSINCLUDE=/usr/local/include \
diff --git a/.github/workflows/mcxtrace-basictest.yml b/.github/workflows/mcxtrace-basictest.yml
index 75ec5effd3..a9406c8574 100644
--- a/.github/workflows/mcxtrace-basictest.yml
+++ b/.github/workflows/mcxtrace-basictest.yml
@@ -310,7 +310,6 @@ jobs:
-DENSURE_MCPL=OFF \
-DENSURE_NCRYSTAL=OFF \
-DENABLE_CIF2HKL=ON \
- -DENABLE_NEUTRONICS=OFF \
${EXTRA_ARGS_FOR_CMAKE}
cmake --build . --config Release
cmake --build . --target install --config Release
@@ -350,7 +349,6 @@ jobs:
-DBUILD_TOOLS=ON
-DENABLE_COMPONENTS=ON
-DENABLE_CIF2HKL=OFF
- -DENABLE_NEUTRONICS=OFF
-DMPIINCLUDEDIR=%MPIINCVAR%
-DMPILIBDIR=%MPILIBVAR%
@@ -853,7 +851,6 @@ jobs:
-DENSURE_MCPL=OFF \
-DENSURE_NCRYSTAL=OFF \
-DENABLE_CIF2HKL=OFF \
- -DENABLE_NEUTRONICS=OFF \
-DGSLFLAGS="-I/usr/local/include -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lgsl -lgslcblas" \
-DNEXUSLIB=/usr/local/lib \
-DNEXUSINCLUDE=/usr/local/include \
diff --git a/devel/bin/mccode-build-conda b/devel/bin/mccode-build-conda
index 4d47a7304a..adf4ff2083 100755
--- a/devel/bin/mccode-build-conda
+++ b/devel/bin/mccode-build-conda
@@ -75,7 +75,6 @@ def mccode_build_conda ( cfg ):
'-DENSURE_MCPL=OFF',
'-DENSURE_NCRYSTAL=OFF',
'-DENABLE_CIF2HKL=OFF',
- '-DENABLE_NEUTRONICS=OFF',
'-G',GENERATOR]
cmd += extra_args
diff --git a/docs/manuals/mcstas/contrib/Guide_four_side.tex b/docs/manuals/mcstas/contrib/Guide_four_side.tex
index 8ba355e25e..30c77247a9 100644
--- a/docs/manuals/mcstas/contrib/Guide_four_side.tex
+++ b/docs/manuals/mcstas/contrib/Guide_four_side.tex
@@ -41,14 +41,14 @@ \subsection*{Input parameters}
\textbf{Name} & \textbf{Unit} & \textbf{Description} & \textbf{Default} \\
\midrule
\endhead
-RIreflect & & (str) Name of relfectivity file for the right inner wall. & 0 \\
-LIreflect & & (str) Name of relfectivity file for the left inner wall. & 0 \\
-UIreflect & & (str) Name of relfectivity file for the top inner wall. & 0 \\
-DIreflect & & (str) Name of relfectivity file for the bottom inner wall. & 0 \\
-ROreflect & & (str) Name of relfectivity file for the right outer wall. & 0 \\
-LOreflect & & (str) Name of relfectivity file for the left outer wall. & 0 \\
-UOreflect & & (str) Name of relfectivity file for the top outer wall. & 0 \\
-DOreflect & & (str) Name of relfectivity file for the bottom outer wall. & 0 \\
+RIreflect & str & Name of reflectivity file for the right inner wall. File columns [q(\AA{}-1) R(0-1)] (DEFAULT : no file) & 0 \\
+LIreflect & str & Name of reflectivity file for the left inner wall. File columns [q(\AA{}-1) R(0-1)] (DEFAULT : no file) & 0 \\
+UIreflect & str & Name of reflectivity file for the top inner wall. File columns [q(\AA{}-1) R(0-1)] (DEFAULT : no file) & 0 \\
+DIreflect & str & Name of reflectivity file for the bottom inner wall. File columns [q(\AA{}-1) R(0-1)] (DEFAULT : no file) & 0 \\
+ROreflect & str & Name of reflectivity file for the right outer wall. File columns [q(\AA{}-1) R(0-1)] (DEFAULT : no file) & 0 \\
+LOreflect & str & Name of reflectivity file for the left outer wall. File columns [q(\AA{}-1) R(0-1)] (DEFAULT : no file) & 0 \\
+UOreflect & str & Name of reflectivity file for the top outer wall. File columns [q(\AA{}-1) R(0-1)] (DEFAULT : no file) & 0 \\
+DOreflect & str & Name of reflectivity file for the bottom outer wall. File columns [q(\AA{}-1) R(0-1)] (DEFAULT : no file) & 0 \\
w1l & m & Width at the left guide entry (positive x-axis) (DEFAULT = 0) & 0.002 \\
w2l & m & Width at the left guide exit (positive x-axis) (DEFAULT = 0) & 0.002 \\
linwl & m & left horizontal wall: distance of 1st focal point and guide entry (DEFAULT = 0) & 0 \\
diff --git a/docs/manuals/mcstas/contrib/Mirror_Curved_Bispectral.tex b/docs/manuals/mcstas/contrib/Mirror_Curved_Bispectral.tex
index 770798dc07..dbfa298659 100644
--- a/docs/manuals/mcstas/contrib/Mirror_Curved_Bispectral.tex
+++ b/docs/manuals/mcstas/contrib/Mirror_Curved_Bispectral.tex
@@ -9,7 +9,11 @@ \subsection*{Identification}
\end{itemize}
\subsection*{Description}
+Single curved mirror plate for e.g. a bispectral extraction inside an elliptic guide. In local coordinates x is the guide axis (beam direction) and the plate passes through the origin, spanning $-\mathtt{length}/2 \le x \le \mathtt{length}/2$. Its shape in the x-z plane is z(x) = a1*x\textasciicircum{}3 + b1*x\textasciicircum{}2 + c1*x, with slopes given by the angles theta\_1, theta\_2 and theta\_3 at the start, centre and end. Its half height follows the elliptic guide (focus\_s, focus\_e, smallaxis), or is yheight/2 before guide\_start. Rotate the component so that local x points along the beam, e.g. ROTATED (0, -90, 0) for a beam along z. Reflectivity uses a built-in m-value supermirror model (R0=0.99, Qc=0.0217 \AA{}\textasciicircum{}-1) or a reflectivity file. With transmit=1 non-reflected neutrons pass the plate with substrate and coating attenuation; neutrons with velocity along the normal sin(theta)*e\_x - cos(theta)*e\_z hit the back side.
+This description was written with AI assistance (Claude Code, 2026) from the component code, after a long history in McStas without sufficient documentation or an example instrument.
+
+Example: Mirror\_Curved\_Bispectral(focus\_s=-10, focus\_e=10, mirror\_start=-0.1, guide\_start=-0.1, yheight=0.05, smallaxis=1, length=0.2, m=2, theta\_1=1, theta\_2=1, theta\_3=1)
\subsection*{Input parameters}
Parameters in \textbf{boldface} are required; the others are optional.
@@ -26,7 +30,7 @@ \subsection*{Input parameters}
\textbf{guide\_start} & m & start of guide in ABSOLUTE COORDINATES & \\
\textbf{yheight} & m & the height of the mirror when not in the guide & \\
\textbf{smallaxis} & m & the smallaxis of the guide & \\
-\textbf{length} & m & the length of the mirror R0=0.99: [] low angle reflectivity & \\
+\textbf{length} & m & the length of the mirror & \\
\textbf{m} & & m-value of material & \\
transmit & 0/1 & 0: non reflected neutrons are absorbed. 1: non reflected neutrons pass through & 0 \\
substrate\_thickness & m & thickness of substrate (for absorption) & 0.0005 \\
diff --git a/docs/manuals/mcstas/contrib/Mirror_Elliptic_Bispectral.tex b/docs/manuals/mcstas/contrib/Mirror_Elliptic_Bispectral.tex
index b100cc8159..c0989065c5 100644
--- a/docs/manuals/mcstas/contrib/Mirror_Elliptic_Bispectral.tex
+++ b/docs/manuals/mcstas/contrib/Mirror_Elliptic_Bispectral.tex
@@ -9,7 +9,11 @@ \subsection*{Identification}
\end{itemize}
\subsection*{Description}
+Single elliptic mirror plate: one side wall of an elliptic guide, for e.g. a bispectral extraction. In local coordinates x is the guide axis (beam direction) and the plate spans $0 \le x \le \mathtt{length}$, starting at mirror\_start along the axis. The wall lies on the z\textgreater{}0 half of the horizontal ellipse with foci at focus\_start\_w and focus\_end\_w and small axis smallaxis\_w, centred on z=0. Its half height follows the vertical ellipse (focus\_start\_h, focus\_end\_h, smallaxis\_h). Rotate the component so that local x points along the beam, e.g. ROTATED (0, -90, 0) for a beam along z. Reflectivity uses a built-in m-value supermirror model (R0=0.99, Qc=0.0217 \AA{}\textasciicircum{}-1) or a reflectivity file. With transmit=1 non-reflected neutrons pass the plate with substrate and coating attenuation.
+This description was written with AI assistance (Claude Code, 2026) from the component code, after a long history in McStas without sufficient documentation or an example instrument.
+
+Example: Mirror\_Elliptic\_Bispectral(focus\_start\_w=-10, focus\_end\_w=10, focus\_start\_h=-10, focus\_end\_h=10, mirror\_start=9.5, m=2, smallaxis\_w=0.1, smallaxis\_h=1, length=0.2)
\subsection*{Input parameters}
Parameters in \textbf{boldface} are required; the others are optional.
@@ -28,7 +32,7 @@ \subsection*{Input parameters}
\textbf{m} & & m-value of material & \\
\textbf{smallaxis\_w} & m & Small-axis dimension of horizontal ellipse & \\
\textbf{smallaxis\_h} & m & Small-axis dimension of vertical ellipse & \\
-\textbf{length} & m & the length of the mirror R0=0.99: [] low angle reflectivity & \\
+\textbf{length} & m & the length of the mirror & \\
transmit & 0/1 & 0: non reflected neutrons are absorbed. 1: non reflected neutrons pass through & 0 \\
substrate\_thickness & m & thickness of substrate (for absorption) & 0.0005 \\
coating\_thickness & m & thickness of coating (for absorption) & 10e-6 \\
diff --git a/docs/manuals/mcstas/contrib/PerfectCrystal.tex b/docs/manuals/mcstas/contrib/PerfectCrystal.tex
index e6011ee122..52b267d2c1 100644
--- a/docs/manuals/mcstas/contrib/PerfectCrystal.tex
+++ b/docs/manuals/mcstas/contrib/PerfectCrystal.tex
@@ -1,15 +1,6 @@
\section{The \texttt{PerfectCrystal} McStas Component}
Based on a perfect crystal component by: Miguel A. Gonzalez, A. Dianoux June 2013 (ILL)
-Changelog:
-Version 1.1
-- BUGFIX: correct neutron energy shift in Doppler mode
-- added option 'debyescherrer' to select analyzer geometry
-- added option 'facette' to approximate analyzer sphere by small, flat crystals
-
-Version 1.0
-- inital release
-
\subsection*{Identification}
\begin{itemize}
\item \textbf{Author:} Markus Appel
@@ -28,6 +19,10 @@ \subsection*{Description}
IN16B (ILL) Si111 Doppler monochromator: PerfectCrystal(radius=2.165, lambda=6.2708, sigma=0.24e-3, width = 0.500, height = 0.250, centerfocus=0, speed = 4.7, amplitude = 0.075, exclusive=1)
+Changelog: Version 1.1 - BUGFIX: correct neutron energy shift in Doppler mode - added option 'debyescherrer' to select analyzer geometry - added option 'facette' to approximate analyzer sphere by small, flat crystals
+
+Version 1.0 - initial release
+
\subsection*{Input parameters}
Parameters in \textbf{boldface} are required; the others are optional.
@@ -38,12 +33,12 @@ \subsection*{Input parameters}
\endhead
ttmin & deg & Minimum horizontal analyzer coverage angle (option 1) & NAN \\
ttmax & deg & analyzer coverage angle in horizontal xz-plane between -180 and 180 & NAN \\
-tt0 & deg & Horizontal angular center of the analyzer coverage (option 2) & NAN \\
+tt0 & deg & Horizontal angular center of the analyzer coverage (options 2 and 3) & NAN \\
ttwidth & deg & horizontal coverage as center and full width & NAN \\
width & m & absolute width & NAN \\
phimin & deg & Minimum vertical analyzer coverage angle (option 1) & NAN \\
phimax & deg & vertical analyzer coverage between -90 and 90 (-180 and 180 if debyescherrer==1) option 2 & NAN \\
-phi0 & deg & Vertical angular center of the analyzer coverage (option 2) & NAN \\
+phi0 & deg & Vertical angular center of the analyzer coverage (options 2 and 3) & NAN \\
phiwidth & deg & vertical coverage as center and full width option 3 & NAN \\
height & m & absolute height (only if debyescherrer==0) & NAN \\
debyescherrer & -180...180 & (0/1) bend analyzer following a Debye-Scherrer ring along scattering angle tt (twotheta) (phi = & 0 \\
diff --git a/docs/manuals/mcstas/contrib/Sapphire_Filter.tex b/docs/manuals/mcstas/contrib/Sapphire_Filter.tex
index 6db768ff56..112e18282c 100644
--- a/docs/manuals/mcstas/contrib/Sapphire_Filter.tex
+++ b/docs/manuals/mcstas/contrib/Sapphire_Filter.tex
@@ -3,7 +3,7 @@ \section{The \texttt{Sapphire\_Filter} McStas Component}
\subsection*{Identification}
\begin{itemize}
- \item \textbf{Author:} Jonas Okkels Birk (based upon Filteg\_Graphite by Thomas C Hansen (2000))
+ \item \textbf{Author:} Jonas Okkels Birk (based upon Filter\_graphite by Thomas C Hansen (2000))
\item \textbf{Origin:} PSI
\item \textbf{Date:} 6 December 2006
\end{itemize}
@@ -11,7 +11,13 @@ \subsection*{Identification}
\subsection*{Description}
ESCRIPTION
-This sapphire filter, defined by two identical rectangular opening apertures, is based upon an absorption function absorp=exp(L*A+C*(exp(-(B/L\textasciicircum{}2+D/L\textasciicircum{}4)))) decribed by Freund (1983) Nucl. Instrum. Methods, A278, 379-401. The defaultvalues is for Sapphire at 300K as found by measurement by (Mildner \& Lamaze (1998) J. Appl. Cryst. 31,835-840 ( http://journals.iucr.org/j/issues/1998/06/00/hw0070/hw0070bdy.html\#BB4)). It is possble to ajust the formular to other materials or temperatures by typing in other parameters. The transmission in sapphire is only lightly demependt on temperature, but The formular is only cheked at wavelenths between 0.5 and 14 \AA{} (0.4 meV 0.3 eV). The filter is for example used in the Eiger beamline at PSI to cut of high energies.
+Sapphire filter defined by two identical rectangular apertures (entrance and exit). The transmission is T = exp(-mu*len) with the attenuation fit mu(lambda) = A*lambda + C*(1-exp(-B/lambda\textasciicircum{}2 - D/lambda\textasciicircum{}4)) described by Freund (1983) Nucl. Instrum. Methods, A278, 379-401. The default values are for sapphire at 300K as measured by Mildner \&
+
+\begin{verbatim}
+Lamaze (1998) J. Appl. Cryst. 31, 835-840
+\end{verbatim}
+
+( http://journals.iucr.org/j/issues/1998/06/00/hw0070/hw0070bdy.html\#BB4). The fit can be adjusted to other materials or temperatures by changing the parameters. The transmission of sapphire depends only weakly on temperature. The fit is only checked for wavelengths between 0.5 and 14 \AA{} (0.4 meV to 0.3 eV). The filter is used, for example, at the EIGER beamline at PSI to cut off high energies.
\subsection*{Input parameters}
Parameters in \textbf{boldface} are required; the others are optional.
diff --git a/docs/manuals/mcstas/contrib/SiC.tex b/docs/manuals/mcstas/contrib/SiC.tex
index a893f9afe0..5d068cd44d 100644
--- a/docs/manuals/mcstas/contrib/SiC.tex
+++ b/docs/manuals/mcstas/contrib/SiC.tex
@@ -1,5 +1,5 @@
\section{The \texttt{SiC} McStas Component}
-SiC layer sample
+Reflectivity of a thin layer on a Si substrate (Born approximation)
\subsection*{Identification}
\begin{itemize}
@@ -9,9 +9,21 @@ \subsection*{Identification}
\end{itemize}
\subsection*{Description}
-SiC layer sample
+Flat reflectometry sample in the local z=0 plane, covering $0 \le x \le \mathtt{xlength}$ and $0 \le y \le \mathtt{yheight}$. Neutrons hitting the plate are specularly reflected (from either side); all others pass unaffected. Note: the component origin is at a corner of the plate, not at its centre as for other mirrors and samples.
-Example: SiC()
+The reflectivity is computed in the Born (kinematic) approximation from a hard-coded scattering length density (SLD) profile, sampled in 1 \AA{} steps:
+
+\begin{verbatim}
+R(q) = 16 pi^2 / q^4 * | sum_z dSLD/dz exp(-i q z) |^2
+\end{verbatim}
+
+The profile is a 80 \AA{} layer of SLD 7.3106e-6 \AA{}\textasciicircum{}-2 (presumably the SiC film; bulk SiC is about 5.2e-6 \AA{}\textasciicircum{}-2) on a Si substrate of SLD 2.073e-6 \AA{}\textasciicircum{}-2. Below Qc = 0.010208 \AA{}\textasciicircum{}-1 (the Si substrate value) R = 1.
+
+The Born approximation underestimates R by about 20-35\% for q below about 3 times the Qc of the layer, compared with the exact Parratt result (see Test\_SiC, which compares with Multilayer\_Sample).
+
+This description was written with AI assistance (Claude Code, 2026) from the component code, after a long history in McStas without sufficient documentation or an example instrument.
+
+Example: SiC(xlength=0.2, yheight=0.02)
\subsection*{Input parameters}
Parameters in \textbf{boldface} are required; the others are optional.
diff --git a/docs/manuals/mcstas/contrib/TOF2Q_cyl_monitor.tex b/docs/manuals/mcstas/contrib/TOF2Q_cyl_monitor.tex
index 6fbf878a66..c4ac51dad5 100644
--- a/docs/manuals/mcstas/contrib/TOF2Q_cyl_monitor.tex
+++ b/docs/manuals/mcstas/contrib/TOF2Q_cyl_monitor.tex
@@ -31,7 +31,7 @@ \subsection*{Input parameters}
q\_min & 1/\AA{} & Minimum q value & 0 \\
q\_max & 1/\AA{} & Maximum q value & 20 \\
L\_chop2samp & m & Distance from resolution chopper to sample position & 144.0 \\
-t\_chop & ms & Flight time of mean wave length from source to resolution chopper & 0.004 \\
+t\_chop & ms & Flight time of mean wave length from source to resolution chopper & 4 \\
pixel & 1 & Flag, 0: no pixelation and perfect time. 1: make pixels from nphi and nh and time resolution limitation. & 1 \\
\bottomrule
\end{longtable}
diff --git a/docs/manuals/mcstas/contrib/multi_pipe.tex b/docs/manuals/mcstas/contrib/multi_pipe.tex
index 2c7ff91598..0605ffafdb 100644
--- a/docs/manuals/mcstas/contrib/multi_pipe.tex
+++ b/docs/manuals/mcstas/contrib/multi_pipe.tex
@@ -32,10 +32,10 @@ \subsection*{Input parameters}
\midrule
\endhead
filename & str & define user table of holes & 0 \\
-\textbf{xmin} & m & Lower x bound & \\
-\textbf{xmax} & m & Upper x bound & \\
-\textbf{ymin} & m & Lower y bound & \\
-\textbf{ymax} & m & Upper y bound & \\
+xmin & m & Lower x bound & 0 \\
+xmax & m & Upper x bound & 0 \\
+ymin & m & Lower y bound & 0 \\
+ymax & m & Upper y bound & 0 \\
radius & m & radius of a single hole & 0.0 \\
gap & m & distance between holes & 0.0 \\
thickness & m & thickness of the pipe & 0.0 \\
diff --git a/docs/manuals/mcstas/figures/vitess_fc_parab.eps b/docs/manuals/mcstas/figures/vitess_fc_parab.eps
deleted file mode 100644
index e2ffcb6767..0000000000
--- a/docs/manuals/mcstas/figures/vitess_fc_parab.eps
+++ /dev/null
@@ -1,793 +0,0 @@
-%!PS-Adobe-2.0 EPSF-2.0
-%%Title: vitess_fc_parab.eps
-%%Creator: fig2dev Version 3.2 Patchlevel 5-alpha5
-%%CreationDate: Tue Nov 15 13:48:04 2005
-%%For: farhi@zorro (Emmanuel FARHI)
-%%BoundingBox: 0 0 396 405
-%Magnification: 1.0000
-%%EndComments
-/$F2psDict 200 dict def
-$F2psDict begin
-$F2psDict /mtrx matrix put
-/col-1 {0 setgray} bind def
-/col0 {0.000 0.000 0.000 srgb} bind def
-/col1 {0.000 0.000 1.000 srgb} bind def
-/col2 {0.000 1.000 0.000 srgb} bind def
-/col3 {0.000 1.000 1.000 srgb} bind def
-/col4 {1.000 0.000 0.000 srgb} bind def
-/col5 {1.000 0.000 1.000 srgb} bind def
-/col6 {1.000 1.000 0.000 srgb} bind def
-/col7 {1.000 1.000 1.000 srgb} bind def
-/col8 {0.000 0.000 0.560 srgb} bind def
-/col9 {0.000 0.000 0.690 srgb} bind def
-/col10 {0.000 0.000 0.820 srgb} bind def
-/col11 {0.530 0.810 1.000 srgb} bind def
-/col12 {0.000 0.560 0.000 srgb} bind def
-/col13 {0.000 0.690 0.000 srgb} bind def
-/col14 {0.000 0.820 0.000 srgb} bind def
-/col15 {0.000 0.560 0.560 srgb} bind def
-/col16 {0.000 0.690 0.690 srgb} bind def
-/col17 {0.000 0.820 0.820 srgb} bind def
-/col18 {0.560 0.000 0.000 srgb} bind def
-/col19 {0.690 0.000 0.000 srgb} bind def
-/col20 {0.820 0.000 0.000 srgb} bind def
-/col21 {0.560 0.000 0.560 srgb} bind def
-/col22 {0.690 0.000 0.690 srgb} bind def
-/col23 {0.820 0.000 0.820 srgb} bind def
-/col24 {0.500 0.190 0.000 srgb} bind def
-/col25 {0.630 0.250 0.000 srgb} bind def
-/col26 {0.750 0.380 0.000 srgb} bind def
-/col27 {1.000 0.500 0.500 srgb} bind def
-/col28 {1.000 0.630 0.630 srgb} bind def
-/col29 {1.000 0.750 0.750 srgb} bind def
-/col30 {1.000 0.880 0.880 srgb} bind def
-/col31 {1.000 0.840 0.000 srgb} bind def
-
-end
-save
-newpath 0 405 moveto 0 0 lineto 396 0 lineto 396 405 lineto closepath clip newpath
--107.7 487.2 translate
-1 -1 scale
-
-/cp {closepath} bind def
-/ef {eofill} bind def
-/gr {grestore} bind def
-/gs {gsave} bind def
-/sa {save} bind def
-/rs {restore} bind def
-/l {lineto} bind def
-/m {moveto} bind def
-/rm {rmoveto} bind def
-/n {newpath} bind def
-/s {stroke} bind def
-/sh {show} bind def
-/slc {setlinecap} bind def
-/slj {setlinejoin} bind def
-/slw {setlinewidth} bind def
-/srgb {setrgbcolor} bind def
-/rot {rotate} bind def
-/sc {scale} bind def
-/sd {setdash} bind def
-/ff {findfont} bind def
-/sf {setfont} bind def
-/scf {scalefont} bind def
-/sw {stringwidth} bind def
-/tr {translate} bind def
-/tnt {dup dup currentrgbcolor
- 4 -2 roll dup 1 exch sub 3 -1 roll mul add
- 4 -2 roll dup 1 exch sub 3 -1 roll mul add
- 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb}
- bind def
-/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul
- 4 -2 roll mul srgb} bind def
-/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def
-/$F2psEnd {$F2psEnteredState restore end} def
-
-$F2psBegin
-10 setmiterlimit
-0 slj 0 slc
- 0.06299 0.06299 sc
-%
-% Fig objects follow
-%
-%
-% here starts figure with depth 50
-% Polyline
-%
-% pen to black in case this eps object doesn't set color first
-0 0 0 setrgbcolor
-% Originally from a GIF File: /home/farhi/Programs/mcstas/cvs/tex/figures/vitess_fc_parab.gif
-
-% Begin Imported PCX File: /home/farhi/Programs/mcstas/cvs/tex/figures/vitess_fc_parab.gif
-
-%***********************************************************************
-%* *
-%* Object: Image decoding PS-routine Date: 01.02.93 *
-%* Author: Evgeni CHERNYAEV (chernaev@vxcern.cern.ch) *
-%* *
-%* Function: Display a run-length encoded color image. *
-%* The image is displayed in color on viewers and printers *
-%* that support color Postscript, otherwise it is displayed *
-%* as grayscale. *
-%* *
-%***********************************************************************
-/byte 1 string def
-/color 3 string def
-systemdict /colorimage known { /cnt 3 def } { /cnt 1 def } ifelse
-/String 256 cnt mul string def
-%***********************************************************************
-/DecodePacket % Decode color packet *
-%***********************************************************************
-{
- currentfile byte readhexstring pop 0 get
- /Nbyte exch 1 add cnt mul def
- /color ColorMap currentfile byte readhexstring pop 0 get get def
- String dup
- 0 cnt Nbyte 1 sub { color putinterval dup } for
- pop 0 Nbyte getinterval
-} bind def
-%***********************************************************************
-/DisplayImage % Display run-length encoded color image *
-%***********************************************************************
-{
- gsave
- currentfile String readline pop
- token { /columns exch def } { } ifelse
- token { /rows exch def pop } { } ifelse
- currentfile String readline pop
- token { /Ncol exch def pop } { } ifelse
- /ColorMap Ncol array def
- systemdict /colorimage known {
- 0 1 Ncol 1 sub {
- ColorMap exch
- currentfile 3 string readhexstring pop put
- } for
- columns rows 8
- [ columns 0 0 rows neg 0 rows ]
- { DecodePacket } false 3 colorimage
- }{
- 0 1 Ncol 1 sub {
- ColorMap exch
- 1 string dup 0
- currentfile color readhexstring pop pop
- color 0 get 0.299 mul
- color 1 get 0.587 mul add
- color 2 get 0.114 mul add
- cvi put put
- } for
- columns rows 8
- [ columns 0 0 rows neg 0 rows ]
- { DecodePacket } image
- } ifelse
- grestore
-} bind def
-n gs
-1710 1305 tr
-14.286364 -14.286667 sc
-0 -450 tr
-0 0 tr
-sa
-/showpage {} def
-% PCX image follows:
-440 450 sc
-%***********************************************
-%* Image decoding *
-%***********************************************
-DisplayImage
-440 450
-2
-000000ffffff
-ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01
-ff01ff01ff016e0102000901020009010200ff019a0102000901020009010200ff018e01
-020008010200090102000901020009010200ff0174010200090102002f01020009010200
-ff0167010200090102002f01020009010200ff016701020049010200ff015a0102006201
-0200ff014e01020062010200ff014e01020062010200ff014e01020062010200ff014201
-02007b010200ff01350102007b010200ff01350102007b010200ff01ff01ff01ff019901
-020093010200ff011d01020093010200ff011d01020093010200ff01ff01ff01ff018101
-0200aa010200ff0106010200aa010200ff0106010200aa010200ff01ff01ff01ff01ff01
-ff0123010200c1010200ef010200c1010200ef010200c1010200ff01ff01ff01ff01ff01
-ff01ff01c4010200d7010200d9010200d7010200d9010200d7010200ff01ff01ff01ff01
-ff01ff01ff01ae010200ec010200c4010200ec010200c4010200ec010200ff01ff01ff01
-ff01ff01ff01ff01ff01ff0152010200ff0101010200af010200ff0101010200af010200
-ff0101010200ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01f5010200ff0114010200
-9c01020041010800c90102009c0102001d01020000012e000001110000010800a6010200
-ad01020000010e0000015b00ff0138018e00ff01210105000001670000012e00ff011701
-18000001120043010e0000011e0000010500ff011001180067010e0000010e0000010e00
-ff01070108008a010b0000011800fa0102009c01020000011e00660102008a010200a601
-1e00600102008a010200ac0118000001050059010200ff0144011b00ff01a1011c00ff01
-a1011b00ff01a1011800f801020000010500000105000001050000010f00000105000001
-050000010800000102006601020000011400de01050000015b0000010c0055011700cd01
-020000010500000170000001080051011500b90102000201020000012a00000105000001
-050000010c0000010800000105000001050000012b0000010500000102004c0115003601
-02007801200000010c00000105003a010600000108000001130000010500000108000001
-0200460114003301020077011700000105006b0105000001050000010500000108000001
-0c00420114002d010200770109000001050083010200000105000001080000010c000001
-050041011100a5010200000102009801080000010c0000010800000102003d011500ff01
-48010c000001080000010500000102003901020000011100ff014f010200000108000001
-0500000108003a011100ff01530105000001050000010f0039011100ff01540105000001
-0f000001020038011100ff0158010500000112003501020000010d0086010200d5010200
-0001120035010d0015010300690102002f01020000010500000102000001090000010500
-000102000001050000010900000102000001050000010200640112000001020034010d00
-12010300690102001d010900000102000001220000011400000109000001090000010200
-000105005801020000011200310110000c01030069010200120102000001050000013100
-000114000001140000010900000105000001020051011200000102003001110008010300
-7401090000012d0000010200000105000001020000010500000109000001020000010500
-00010d000001100000010900000102004c011300300111007301020000011e0000010200
-0001050000010200000102003d0106000001020000010500000109000001090000010200
-00010500000102004801020000010f002f010e006c011b00000102000001050063010500
-0001020000010900000109000001050000010600410112002f010e006901100000010200
-000105007c01060000010900000105000001090000010200400113002b010e0066010500
-000109009201020000010200000105000001090000010500000102003d0112002c010d00
-63010200ab010200000109000001050000010200000106003c010f002b010b00ff011801
-06000001050000010200000109000001020038010f002b010800ff012001050000010200
-0001090000010500380110002a0105005f010200c4010200000109000001050000010500
-3501120027010200000102005b010200cb01060000010500000105000001060034010b00
-00010200270102005b010200d3010500000105000001090034010f002401020096010200
-000102000001020000010500000102000001020000010200000109000001020000010200
-000102000001020069010500000109000001020033010f00a80102000001020000010d00
-00010d000001020000011100000102000001020000010200000105000001020000010200
-000106005901020000010900000105000001020030010b00000102009501020000010200
-000105000001150000010d0000010200000111000001020000010d000001020000011100
-0001020000010200000102004d010600000105000001050030010f008601060000011100
-000115000001050000010200000102000001020000010d00000102000001020000010500
-00010200000102000001020000011100000102000001020000010500000102004e010500
-00010d002b01020000010b007c0102000001090000011100000109000001020000010200
-000102000001020029010200000102000001020000010200000109000001060000010200
-0001090000010200000102000001060045010200000110002c010e006d01020000010200
-000111000001090000010200000102000001020057010200000102000001020000010200
-000109000001020000010d00000102004201020000010c00000102002b01020000010b00
-690102000001110000010200000102007d010200000102000001020000010d0000010200
-00010200000102004101020000010c002f010b0066010200000109000001020000010200
-91010d00000102000001020000010500000102003e0113002b010c006101030000010500
-a40106000001020000010200000105000001020000010200000102003901100000010200
-2a010c000c0102004e010300b30102000001020000010500000102000001020000010500
-0001020036010200000110002a010b00090102004e010200bc0105000001020000010200
-0001050000010200000102003901100027010f0005010200ff0119010200000105000001
-020000010200000102000001020035010c00000102002a010b00ff012301050000010200
-0001020000010200000105003501020000010500000105002a010b00ff01270102000001
-02000001020000010500000102000001020031010500000105000001020026010e009b01
-020000010500000102000001060000010200760102000001050000010200000105003101
-0200000105000001050026010b007b010200000102000001020000010200000102000001
-020000011100000102000001060000010200000102000001020000010200000102000001
-02000001020000010200000102005d010200000102000001050000010200000102003001
-02000001050000010200250109006e010600000102000001020000010200000102000001
-020000011900000102000001060000010200000102000001020000010200000102000001
-020000010600000102000001050000010200000102005201020000010500000102000001
-0600300105000001050026010500620102000001020000010a0000010200000102000001
-020000010200000102000001110000010200000102000001020000010200000102000001
-020000010200000102000001020000010200000102000001110000010200000102000001
-020000010200000102004a01050000010200000109003001020000010900250102005701
-020000010200000105000001020000010a00000102000001020000010200000102000001
-020000010500000102000001020000010200000102000001020000010200000102000001
-02000001020000010200000102000001020000010200000102000001050000010a000001
-02000001020000010200000102000001020000010200000102004901020000010d003001
-0c0075010200000111000001020000010600000102000001020000010200520102000001
-020000010200000102000001020000010200000102000001020000010200000102000001
-02000001020000010200410102000001090000010200000102002b010d00690102000001
-190000010200000102007201020000010200000102000001020000010200000102000001
-02000001020000010500000102004201050000010200000105002c010c00200102004201
-110000010200000102000001020086010200000102000001020000010200000109000001
-020000010200000102003d0102000001020000010500000102002c010c001c0102004201
-090000010200000102009a01020000010200000109000001020000010200000102000001
-02003d0102000001050000010200000102002b010c001901020042010500b10102000001
-020000010200000102000001020000010200000102000001020039010500000102000001
-06002b010c00ff011b010200000102000001020000010200000102000001020000010600
-3401020000010200000109002b010c00ff0120010200000102000001020000010a000001
-02003401020000010900000102002701020000010800ff012801020000010a0000010500
-0001020031010900000102000001020027010c00ff012b01070000010500000102000001
-02003401020000010200000105002701020000010800ff012c0103000001050000010200
-00010200000102000001020030010200000105000001020027010c008701020000010200
-000102000001020000010200000102000001020000010200000102000101020000010200
-000102000001020000010200000102000001020000010200000102006001020000010200
-00010200000102000001020000010200300105000001050027010c007401020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020000011b00000102000001020000010200000102000001020000010200
-540102000001020000010200000102000001050030010200000109002701080000010200
-640102000001020000010200000102000001020000010200000102000001020000010200
-0001020000010200000102000001020000010200000102000001020000011b0000010200
-000102000001020000010200000102000001020000010200000102000001020050010200
-000102000001050000010200300109000001020026010900410102000f01020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001170000010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102000001020048010200000105000001020000010200
-000102002c01050000010600260108000201020038010200070102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020041010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102000001020000010200440105000001020000010200
-00010200000102002b0102000001090023010e0038010500000102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020061010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-0001020043010200000102000001020000010200000102002b010d0022010b0037010200
-00010200000102000001020000010200000102000001020000010200000102007d010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-3f010200000102000001020000010200000102002b010900000102002201050038010700
-000102000001020000010200000102009901020000010200000102000001020000010600
-00010200000102003b0102000001020000010200000105002c0105000001050022010200
-380107000001020000010200a90102000001020000010e00000102000001020037010200
-0001020000010500000102002b010200000105005e01020000010300b9010e0000010200
-000102000001020037010200000105000001020000010200270102000001050000010200
-ff0123010700000102000001020000010200000102000001020033010500000102000001
-0200000102002701050000010600ff012801020000010200000102000001020000010200
-0001020000010200320102000001020000010200000102002601020000010900ff012901
-02000001020000010200000106000001050033010200000102000001050027010d00ff01
-2d01020000010d000001020033010200000105000001020027010c009601020000010200
-000102000001020000010200000102000001020000010200000102000101020000010200
-00010200670105000001060000010200000102003301050000010600260109004a010200
-2f0102000001020001010200000102000001020000010200000102000001020000010200
-00010200000102000001020000010200000102000001020000010b000001020000010200
-000102000001020000010200000102005601020000010200000102000001020000010200
-000102002e010200000106000001020026010900120103002f0102002301020000010200
-00010200000102000001020000010b000001020000010200000102000001020000010200
-000102000001020000010200000102000001020000010b00000102000001020000010200
-00010200000102000001020000010b004d01020000010200000102000001020000010200
-000102002e01060000010200000102002201020000010500000102000e0103002f010200
-170102000001020000010200000102000001020000010200000102000001020000010b00
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102000101020000010200000102000001020000010200
-00010200000113000001020049010200000102000001020000010200000102002e010200
-000102000001050023010500000105000b01030041010300000102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-010102000001020000010200200102000001020001010200000102000001020000010200
-000102000001020000011300000102000001020000010200450102000001020000010200
-00010200000102002a010200000102000001050026010200000105004501170000010200
-00010200000102000001020000010200000102005a010200000102000001020000010200
-000107000001020000010200000102000001020000010200000102003d01020000010200
-0001020000010200000102002e01090000010200220109003d0102000001170000010200
-000102000001020072010200000102000001030000010200000102000001020000010200
-000102000001020000010200410102000001020000010200000102002a01020000010500
-0001020026010900350102000001020000010e00000107008b0102000001020000010200
-0001020000010200000102000001020000010200000102003d0102000001020000010200
-000102002a010500000102000001020022010c0032010200000102000001060000010200
-000102009c01020000010200000102000001020000010200000102000001020000010200
-000102003901020000010200000102000001020029010200000102000001050022010900
-32010200000102000001020000010200ac01020000010200000102000001020000010200
-000102000001020000010200390102000001020000010200000102002901020000010900
-220109002e010200c4010200000102000001020000010200000102000001020000010200
-35010200000102000001020000010200290109000001020021010600fe01020000010200
-000102000001020000010200000102003501020000010200000105002a01050000010200
-21010600ff01020102000001020000010200000102000001020000010200350102000001
-05000001020029010200000102000001020021010200ff010a0102000001020000010200
-000102000001020000010200310105000001020000010200250102000001020000010200
-000102004d01020055010200000102000101020000010200000102000001020070010200
-000102000001020000010200000102000001020030010200000102000001020000010200
-2501020000010200000105001e010200280102003c010700000102000001020000010200
-000102000001020000010200010102000001020000010200000102000001020000010200
-00010200000102000101020000010200000102005b010200000102000001020000010200
-000103002f01020000010200000102000001020025010200000105001e01020028010200
-2c010200000102000001020000010b000001020000010200000102000001020000010200
-000102000001030000010200000102000001020000010200000102000001020000010200
-000107000001020000010200000102000001020053010200000102000001020000010600
-000102002c010200000102000001020000010200250109001a0102004b01030000010200
-0001020000010200000102000001020000010b0000010200000102000001020000010200
-000102000001020000010300000102000001020000010200000102000001020000010200
-000102000001070000010200000102000001020000010200000102000001020000010200
-4b010200000102000001060000010200000102002c010200000102000001020000010200
-210102000001050000010200590102000001020000010f00000102000001020000010200
-000106000001030000010200000102000001020000010200000102000001020000010200
-010102000001020000010200000102000001020000010200000102000001020000010200
-010102000001020000010200000102000001020000010200000102000001020001010200
-0001020046010200000102000001020000010200000102002c0102000001020000010600
-21010500000105004e01020000010200000102000001020000010f000001020000010200
-000102000001020000010200470102000001020000010200000102000001020000010200
-000102000001020000010700000102000001020042010200000102000001020000010200
-000102002c01020000010a00200102000001050046010200000102000001020000010200
-000102000001020000010f00000102006301020000010200000102000001020000010200
-00010700000102000001020000010200000102003e010200000102000001020000010200
-000102002c010a00240109003e0102000001020000010200000102000001020000010200
-0001020000010200000103007b0102000001020000010200000103000001020000010200
-000102000001020000010200000102003a01020000010200000102000001020000010200
-28010d002501050000010200350102000001070000010200000102000001020000010200
-99010200000102000001020000010200000102000001020000010200000102003a010200
-00010200000102000001020027010a000001020021010500000106003101020000010600
-0101020000010200a9010200000102000001020000010200000102000001020000010300
-390102000001020000010200000102002701060000010200000102002001020000010600
-310102000001020000010200b60102000001020000010200000102000001020000010b00
-350102000001020000010200000102002701020000010200000102000001020020010900
-2e010200c6010200000102000001020000010f0035010200000102000001020000010200
-27010200000102000001020020010d00fc0102000001020000010f003501020000010200
-00010200000102002701020000010200000102002001090029010300d601020000010f00
-000102003101020000010200000102000001020027010200000105002001060000010500
-22010300da010f0000010200000102003101020000010200000102000001020023010200
-000109002001020000010500220103004801020001010200000102000001020000010200
-000102000001020000010200010102000001020000010200000102006801070000010200
-000102000001020031010200000102000001020000010200230109002001020000010500
-5f0102000001020000010200000102000001020001010200000102000001020000010200
-000102000001020000010200000103000001020000010200000102000001020000010200
-000107000001020057010300000102000001020000010200000102002d01020000010200
-00010200000102002701050000010200200102004d010200000102000101020000010200
-000102000001020000010200000102000001020000010200000103000001020000010200
-000102000001020000010200000102000001030000010200000102000001020000010200
-0001020000010b0000010200000102000001020000010200500102000001020000010200
-00010200000102002d010200000102000001020026010200000102000001020065010200
-000102000001020000010200000107000001020000010200000102000001020000010200
-000102000001020001010200000102000001020000010200000102000001020000010200
-010102000001020000010200000102000001020000010f00000102000001020000010200
-00010200000103004b010200000102000001020000010200000102002901020000010200
-000102000001020022010200000102000001020000010200590102000001020000010200
-000102000001020000010200000107000001020000010200000102000001020000010200
-0001020000010200010102001d0102000001020000010200000102000001020000010b00
-000102000001020000010200000102000001070000010200000102004301020000010200
-000102000001020000010200290102000001020000010200000102002201020000010200
-000102005001020001010200000102000001020000010200000102000001020000010200
-000102000001020001010200000102004e01070000010200000102000001020000010200
-00010700000102000001020000010200000102003f010200000102000001020000010200
-000102002901020000010a00220102000001060044010200000102000001020000010300
-000102000001020000010200000102000001020074010200000102000001020000010300
-0001020000010200000102000001020000010200000102003b0102000001020000010200
-000102000001020029010e00220109003901020000010200000102000001020000010200
-000103000001020000010200000102008801020001010200000102000001020000010200
-000102000001020000010200000102003b01020000010200000102000001020028010b00
-220109003901020000010200000102000001020000010200000102009e01020000010200
-0001020000010200000102000001020000010200000102003b0102000001020000010200
-0001020028010b0021010a0035010200000102000001020000010200ae01020000010200
-000102000001020000010200000102000101020000010200360102000001020000010200
-0001020024010e0023010500000102003101020000010200be0102000001020000010200
-0001020000010700000102003601020000010200000102000001020024010a0000010200
-1f0105000001020030010200cb0102000001020000010700000102000001020000010200
-32010200000102000001020000010200240102000001020000010200000102001e010200
-00010200000102000a0102001e010200d301020000010200010102000001020000010200
-000102003201020000010200000102000001020024010200000102000001020022010200
-00010500070102001e010200d70102000101020000010200000102000001020000010200
-320102000001020000010200000102002401020000010200000102001e01020000010500
-07010200ff010201020000010200000102000001020000010200000102002e0102000001
-020000010200000102002401020000010200000102001e0109006a010300000102000001
-020000010200000102000001020000010200010102000001020000010200000102000001
-020000010200000102000001020001010200000102005c01020000010200000102000001
-020000010200000102002e01020000010200000102002401020000010200000102000001
-02001e0105000001020056010200000102000001020000010b0000010200000102000001
-020000010200000102000001030000010200000102000001020000010200000102000001
-020000010200000103000001020000010200000102000001020000010200540102000001
-02000001020000010200000102002a010200000102000001020000010200240102000001
-0200000102001e0105000001020049010300000102000001020000010200000102000001
-020000010b00000102000001020000010200000102000001020000010300000102000001
-020000010200000102000001020000010200000102000001030000010200000102000001
-020000010200000102000001020000010200000102004c01020000010200000102000001
-0200000102002a0102000001020000010200000102002401020000010200000102001d01
-020000010200410102000001070000010200000102000001020000010200000102000001
-0b0000010200000102000001020000010200000102000001020001010200000102000001
-020000010200000102000001020000010200000102000101020000010200000102000001
-020000010200000102000001020000010200010102000001020047010200000102000001
-020000010200000102002a01020000010200000102000001020020010200000106002101
-020035010200000102000001020000010200000107000001020000010200000102000001
-02000001020000010200000103003e010200000102000001020000010200000102000001
-02000001020000010200000107000001020000010200000102003f010200000102000001
-020000010200000102002a010200000102000001020000010200200109001e0102002d01
-020000010200000102000001020000010200000102000001070000010200000102000001
-02005f010200000102000001020000010200000107000001020000010200000102000001
-0200000102003b010200000102000001020000010200000102002a010200000102000001
-0200000102001f0102000001020000010200420102000101020000010200000102000001
-020000010200000102000001020000010700770102000001020000010200010102000001
-0200000102000001020000010200000102003f0102000001020000010200000102002a01
-020000010200000102002301020000010200000102003a01020000010200000103000001
-0200000102000001020000010200000102008c0102000101020000010200000102000001
-0200000102000001020000010200000102003b0102000001020000010200000102002a01
-020000010200000102001f01020000010200000102003a01020000010200000103000001
-02000001020000010200a101020000010200000102000001020000010200000102000001
-020000010200370102000001020000010200000102002a01020000010200000102001f01
-0200000102000001020036010200000102000001020001010200b1010200000102000001
-020000010200000102000001020000010300360102000001020000010200000102002601
-02000001020000010200000102001f0102000001020000010200120102001c0102000001
-0200c2010200000102000001020000010200000103000001020000010200320102000001
-020000010200000102002601020000010200000102001f01020000010200000102001201
-02001c010200ca0102000001020000010200000107000001020000010200320102000001
-02000001020000010200260109002001020000010200000102000e010200f20102000001
-0f0000010200320102000001020000010200000102002501020000010200000102002001
-02000001020000010200ff0108010f0000010200000102002e0102000001020000010200
-00010200210102000001020000010200000102001c010200000102000001020084010200
-0001020000010200000102000001020001010200000102006b010f000001020000010200
-2e0102000001020000010200250102000001020000010200200102000001050068010200
-010102000001020000010200000102000001020000010200000102000001020000010200
-000102000101020000010200000102000001020000010200000102000001020000010200
-5b0107000001020000010200000102002a01020000010200000102000001020025010200
-000102000001020020010500580102000001020000010200000102000001020001010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000103000001020000010200000102000001020000010200000102000001020000010200
-0001020000010200000103004e010300000102000001020000010200000102002e010200
-00010200000102002501020000010200000102001c010500000102004701030000010200
-000102000001020000010200000102000001020000010200010102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020001010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-00010700000102000001020047010200000102000001020000010200000102002a010200
-0001020000010200000102002101020000010200000102001f0102000001020000010200
-3b010b000001020000010200000102000001020000010200000102000001020001010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000101020000010200000102000001020000010200000102000001020000010200
-000102000001020000010b00000102000001020000010200430102000001020000010200
-00010200000102002a010200000102000001020000010200210102000001020000010200
-1f010200000102003301020000010f000001020000010200000102000001020000010200
-00010200000102004601020000010200000102000001020000010f000001020000010200
-0001020000010200430102000001020000010200000102002a0102000001020000010200
-000102002101020000010200000102001b01020000010200270102000001020000010200
-0001020000010f0000010200000102006e010b0000010200000102000001020000010200
-0001020000010200000102003b0102000001020000010200000102000001020026010200
-00010200000102000001020021010200000102001f010200230102000001020000010200
-000102000001020000010f007e0103000001020000010200000102000001020000010200
-0001020000010200000102003b0102000001020000010200000102002a01020000010200
-000102002101020000010200000102003e01020000010200000102000001020000010200
-000102000001030097010200000102000001020000010200000102000001020000010200
-00010200370102000001020000010200000102002a010200000102000001020021010a00
-1b0102001b01020000010200000102000001020000010200a80102000001020000010200
-000102000001020000010200000102003701020000010200000102000001020026010200
-0001020000010200000102001d010a001b0102001b010200000102000001020000010200
-b00102000001020000010200000102000001020000010200010102000001020032010200
-000102000001020000010200260102000001020000010200200107000001020017010200
-1b010200c801020000010200000102000001070000010200320102000001020000010200
-0001020026010200000102000001020020010a00ff01030102000001020000010b000001
-0200000102002e0102000001020000010200000102002601020000010200000102001c01
-0a00ff010b010200000102000001070000010200000102002e0102000001020000010200
-00010200220102000001020000010200000102001c0102000001020000010200ff010b01
-0200000102000001070000010200000102002e0102000001020000010200000102002201
-0200000102000001020020010200000102007c0102000001020000010200000102000001
-020000010200000102000101020000010200000102000001020000010200000102006201
-02000001020000010700000102002e010200000102000001020000010200220106000001
-02001c010200000102000001020068010200000102000001020000010200000102000001
-020000010200000102000001020000010200000102000001030000010200000102000001
-020000010200000102000001020000010200000102000001020000010200520102000001
-020000010700000102002e01020000010200000102000001020021010b001c0102000001
-020000010200540102000001020000010200000102000001020000010200000102000001
-020000010200000102000001020000010200000102000001020000010200000103000001
-020000010200000102000001020000010200000102000001020000010200000102000001
-02000001020000010200000102004a010200000102000001070000010200000102002a01
-0200000102000001020021010b0020010200000102004c01020000010200000102000001
-020000010200000102000001020000010200000102000001020000010200000102000001
-020000010200000102000001020000010200000102000101020000010200000102000001
-020000010200000102000001020000010200000102000001020000010200000102000001
-020000010200000102004a01020000010700000102000001020026010200000102000001
-02000001020021010700000102001c01020000010200000102003b010b00000102000001
-020000010200000102000001020000010200000102000001020000010200000102000001
-020000010200250102000001020000010200000102000001020000010200000102000001
-020000010200000102000001020000010200000102000001020000010200420102000001
-0b00000102002a010200000102000001020021010700000102001c010200000105003001
-130000010200000102000001020000010200000102000001020000010200510102000001
-020000010200000102000001020000010200000102000001020000010200000102000001
-02003e01020000010f002601020000010200000102000001020021010700200105002801
-020000010200000113000001020000010200000102006d01020000010200000102000001
-02000001020000010200000102000001020000010200000102003a011300260102000001
-020000010200000102001d010200000106001d0105002001020000010200000102000001
-020000010f00000102000001020081010200000102000001020000010200000102000001
-020000010200000102000001020036011300260102000001020000010200210102000001
-0200000102001c010200000102001c01020000010200000102000001020000010b009901
-02000001020000010200000102000001020000010200000102000001020036010b000001
-020026010200000102000001020021010200000102001c010200000102001c0102000001
-0200000102000001020000010300a9010200000102000001020000010200000102000001
-02000001020036010b00000102002601020000010200000102001d010200000102000001
-02001c0102001c0102000001020000010200b60102000001020000010200000102000001
-0200000102000001020036010b0000010200220102000001020000010200000102001d01
-0200000102000001020038010200c6010200000102000001020000010200000102000001
-0200000102002e0106000001030000010200260102000001020000010200210102000001
-0200ff010a01020000010200000102000001020000010200000102003201020000010a00
-23010600000102001d0102000001020000010200ff010e01020000010200000102000001
-020000010200000102002e0102000001060026010200000106001e010200000102000001
-0200ff010e01020000010200000102000001020000010200000102002a01020000010600
-0001020022010200000106001e01020000010200000102007d0102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102006101020000010200000102000001020000010200000102002a01020000010200
-00010200000102002201020000010200000102001e0109006b0102000001050000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-55010200000102000001020000010200000102002a010200000102000001020000010200
-2201020000010200000102001d0106005a010b00000102000001020000010d0000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020049010200000102000001020000010200000102002a01020000010200
-00010200000102002201020000010200000102001901020000010200000102004a010200
-00011300000102000001020000010d000001020000010200000102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-45010200000102000001020000010200000102002a010200000102000001020000010200
-1e01020000010200000102001d01020000010200000102003f0102000001050000011300
-000102000001020000010200000102000001050000010200240102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102003d01020000010200000102000001020000010200
-2a01020000010200000102002201020000010200000102001d0102000001020026010200
-0d010200000102000001020000011a0000010200000102004f0102000001020000010200
-000102000001020000010200000102000001060000010600410102000001020000010200
-000102002a010200000102000001020022010200000102001d0102000001020000010200
-000102001e01020005010200000102000001020000010200000102000001020000010200
-000102000001020073010200000102000001020000011a00390102000001020000010200
-000102002a01020000010200000102001e01020000010200000102001d01020000010200
-000102001e01030000010200000102000001020000010200000102000001020000010200
-0001020087011d003a010200000106000001020026010200000102000001020000010200
-1e01020000010200000102001901020000010200000102001f0102000001020000010200
-0001020000010200000102000001020096011600000102000001020036010a0000010200
-260102000001020000010200220106001d01020023010200000102000001020000010200
-00010200a6010600000106000001020000010200000102003501020000010b0026010600
-000102001e010a004001020000010200ba01020000010200000102000001020000010200
-00010200000102003101020000010b0025010b001d010b003c010200c601020000010200
-00010200000102000001020000010200000102002d010f0021010f001d010700ff010e01
-020000010200000102000001020000010200000102002d010e0022010b001d010a00ff01
-0f010200000102000001020000010200000105002e010200000106000001020022010700
-000102001d01020000010200ff011701020000010900000103002d010200000102000001
-02000001020022010200000106001e010200000102007d01020000010200000102000001
-020000010200000102000001020000010500000102000001020000010200000102000001
-020000010200000102005b0105000001020000010a002a01020000010200000102000001
-02001e010200000106001e01020000010200000102006a01110000010200000102000001
-020000010200000102000001020000010500000102000001020000010200000102000001
-020000010200000102000001050000010200000102004f0102000001020000010a000001
-02002a01020000010200000102002201020000010200000102001e010200000102005e01
-020000010200000102000001150000010200000102000001020000010200000102000001
-050000010200000102000001020000010200000102000001020000010200000105000001
-0200000102000001020000010200000102004b0102000001060000010200000102002a01
-020000010200000102002201020000010200000102001a01020000010200000102002e01
-03001b010200000102000001020000010200000102000001020000011500000102000001
-020000010200000102000001020000010500000102000001020000010200000102000001
-020000010200000102000001050000010200000102000001020000010200000102000001
-0a0043010200000102000001020000010200000102002601020000010200000102000001
-02001e01020000010200000102001e010200000102000801020022010300100102000001
-0200000109000001020000010200000102000001020000010200000111002f0102000001
-020000010500000102000001020000010200000102000001110000010200400102000001
-02000001020000010200000102002601020000010600000102001e010200000102000001
-02001e010200000102000401020022010300080102000001020000010200000102000001
-090000010200000102000001020000010200000102005501020000010200000102000001
-11000001020000010200000102003c010200000102000001020000010200000102002601
-0d001f01020000010200000102001a010900010102002b01020000010200000102000001
-020000010200000102000001050000010200000102006d010d0000010200000102000001
-020000010200000102000001020038010200000102000001060000010200250102000001
-0600230106001d0106002801020000010200000102000001020000010200000102000001
-020000010200000102008301020000010200000102000001020000010200000109000001
-020039010d002601020000010200000102001f0109001a01020000010200280102000001
-0200000102000001020000010200000102009b0102000001020000010900000102000001
-0200000102003401020000010600000102002601020000010200000102001e0102000001
-0200000102001a01020028010200000102000001020000010200ab010500000102000001
-020000010200000102000001020034010200000102000001020000010200260102000001
-0200000102001e010200000102004601020000010200ba01020000010200000102000001
-0a0000010200300102000001020000010200000102002201020000010200000102001e01
-02000001020000010200ff01080102000001020000010a00000105003101020000010200
-00010200000102002201020000010200000102001e0102000001020000010200ff010c01
-110000010200000102002d01020000010a0022010600000102001e01020000010200ff01
-13010600000102000001020000010200000102002d010e0021010700000102001a010200
-0001020000010200ff01130102000001020000010200000109002d010b0021010b001e01
-02000001020086010900000102000001020000010500000102000001020000010d000001
-02006001020000010900000102002d0102000001060022010a001b010200000102000001
-0200380102002f0102000001020000010500000102000001020000010d00000102000001
-09000001020000010d0000010200000105000001020000010200000105004e0105000001
-020000010200000102000001020029010200000102000001020022010200000102000001
-02001b010600000102000801020028010200240109000001020000010200000109000001
-020000010d0000010200000109000001020000010d000001020000010900000102000001
-050000010600000102004901020000010200000102000001020000010200290102000001
-02000001020022010200000102001e01070008010200280102001c010200000102000001
-0d0000010200000109000001020000010200000109000001020000010200000105000001
-020000010200000109000001020000010900000102000001050000010600000102000001
-050046010200000102000001020000010200000102002501020000010200000102000001
-02001e01020000010200000102001a01020000010600050102003d010200000105000001
-02000001020000010d000001020000010200000105000001020000010200000102002501
-020000010200000102000001050000010200000105000001060000010200000105000001
-020000010200000102003e01020000010d0026010200000109001f010200000102000001
-02001a010200000102003e01020000010200000102000001090000010200000102000001
-09005a010200000102000001020000010200000105000001020000010900000102003b01
-0d000001020026010900000102001f0106001e0102000001020032010e00000102000001
-090000010200000102007101020000010500000102000001090000010200000106003601
-06000001020000010200000102002501020000010200000102001f010600000102001a01
-0200000102002f0111000001020000010200000102008701020000010500000102000001
-020000010900000102003701020000010200000102000001020025010200000102000001
-02001e010200000106001b0102002f010a00000105000001020096010200000102000001
-020000010900000102000001020037010200000109002201020000010200000102000001
-02001e0106001b0102002f0106000001020000010200a501020000010900000102000001
-020000010500340109000001020022010200000106001e01020000010200000102004a01
-0200bc010200000102000001090000010200000102002f01020000010200000102000001
-020022010a001e0102000001020000010200ff010a010200000109000001020000010600
-2f01020000010a0021010b001e010600ff01110102000001020000010d0030010e002101
-0a001b010a00ff011101020000010d0000010200000102002b010b002101020000010600
-1e01070044010200d001060000010200000109002c01020000010600000102001e010200
-00010200000102001e010300000102000c0103002f010200400102000001020000010500
-000102000001050000010200000105000001020000010500000109005d01020000010900
-000102002c01020000010200000102002201020000010200000102001a01020000010600
-090103002f01020032010500000102000001050000010200000105000001020000010900
-000105000001020000010500000109000001050000010200000102005201050000010200
-000102000001020028010200000102000001020000010200220109001b01060009010300
-5a0105000001020000010900000109000001050000010200000109000001050000010200
-000105000001090000010500000102000001050000010200000105004701020000010200
-0001090029010200000109001f0109001b01020000010200000102005501020000011400
-000109000001020000010500000105000001020000010900000105000001020000010500
-000109000001050000010200000105000001020000010500000102000001050044010900
-000102000001020025010900000102001e01020000010200000102001b01020000010200
-000102004a0105000001020000011400000102000001050000010200000105002b010600
-000105000001020000010500000102000001050000010900000106003f01020000010200
-00010900250102000001020000010200000102001e01020000010200000102001b010200
-00010200430105000001090000010d000001050000010200500105000001020000010500
-00010900000109000001050039010200000109000001020025010200000106001e010200
-000106001b0106003b010200000102000001100000010200000106006c01020000010500
-000102000001090000010500000102003901050000010200000102000001020025010a00
-1e010600000102001a010300370102000001060000010900000105008701090000010500
-000105000001020000010200350102000001090025010200000106001e010b0016010200
-38010a000001020000010200980102000001050000010500000102000001050036010900
-0001020025010600000102001e0107005201030000010500a70102000001050000010900
-000102000001020031010200000102000001020000010200210102000001020000010200
-000102001a0102000001060050010200b501020000010900000102000001050032010200
-000109002201020000010200000102001e01060051010200bb0106000001090000010500
-2f01090000010200220109001f0106001101020038010200c30105000001090000010200
-2e01060000010200000102002101020000010200000102001b010600000102000d010200
-38010200c6010200000114002b010200000109001e01020000010600000102001a010700
-0d010200ff010901020000010d00000102002b010900000102001e010600000102001a01
-020000010600940109000001050000010c0000010500600114002b010200000106002101
-0200000106001b010200000102000001020077010200000109000001050000010c000001
-050000010c000001050000010c00000108004f0102000001090000010500280109000001
-02001e01020000010200000102001b01060069010600000108000001100000010c000001
-050000010c000001050000010c0000010800000102000001050048010500000109000001
-02002701020000010200000102001e010200000106001b0109005c010500000125000001
-0500000105000001050000010500000105000001050000010c0000010c00000105000001
-080045010d00000102002701020000010200000102001e010a001a010200000102005501
-020000012100000102000001080000010500000105000001020006010200000105000001
-0500000105000001050000010c00000105000001080000010200000105003d0102000001
-0d0024010200000109001e010a0017010200000102004a01020000011700000102000001
-0800000102005001050000010500000108000001020000010800000102003a010d000001
-020024010900000102001e01060000010200170102004401080000011000000105000001
-02006801020000010800000102000001080000010500000102003a010200000109002401
-02000001020000010200000102001a01020000010200000102005f011a007d0102000001
-02000001080000010c0000010200370109000001020024010200000106001e0106000001
-02005b010c00000106008e01050000010c00000105000001020033010200000109002501
-09001e010700150102004201020000010500a30109000001100030010900000105002101
-020000010200000102001a010200000106001201020042010200b1010200000116002d01
-020000010900250109001b01020000010200000102000e010200fe01050000010c000001
-02002d0109000001020021010900000102001b010600ff011301020000010c0000010500
-2d010200000109002101020000010200000102001b010900ff011b010500000105000001
-05002a0109000001020021010a001a0102000001020000010200ff011a01020000010c00
-00010200290102000001090021010a001b0106009a010800000112000001020065011300
-27010900000102001d010a001b010600000102008201050000010b000001080000011200
-0001080000010f00510110000001020026010200000109001e0102000001020000010200
-1a01070071010f0000014e0000010800000102004701020000010c002701090000010200
-1e0109001b0103006701020000012d000001150000011f000001080000010c0041010c00
-0001020026010200000109001e01060000010200170102005e0105000001050000012600
-0001050000011500000108000001150000010800000112003e0113002401090000010200
-1a010200000106006b0102000301240000010c003e010800000108000001150000010500
-3b010c000001020023010200000106001e010900160102004e012100000105005f010200
-00011f0000010200370102000001050000010500240109001e0106000001020012010200
-4e011b007901200035010c00000102002301020000010200000102001d01070012010200
-4f0110008d0116000001050031011000240109001a010a0062010200000105009b010800
-000113002d01100021010900000102001a01020000010200000102005e010200a8010200
-0001160031010200000105000001020020010200000106001e010600ff01140102000001
-12002f010c00210109001b010900ff0118011200000102002b0109000001020020010900
-1b0102000001020000010200ff011701050000010f002b010d0020010600000102001b01
-0600ff011e01150029010c001d0102000001090018010600ab010e0069010f0000010200
-28010900000102001d0109001b0102005e0102002e014700530112002501020000010900
-1d010600000102001a0102005b010200210160004a01120026010c001e01090017010200
-5b0102001801760040010f00000102002501020000010500000102001a01090017010200
-6a018c003e01120023010c001a01020000010600780131003a0131003801120023010d00
-1a010900720125005901270038010200000108000001020022010a001d01060000010200
-6e011b006f01210036010f0022010200000106001a010a006e0105000001080085011e00
-32010f001f010200000109001a010a006b01050098011b0032010c00230109001b010900
-ff010d011b002f010c0020010900000102001a010600ff01160118002d01080000010200
-1f0102000001090017010200000102006c010200ac0115002d010c00200109001b010500
-69010200b30114002a010f001d0109001a01030069010200b901150026010c0020010600
-0001020016010300ff012901150026010200000109001c010d00be012b005c0111002801
-0c001d010900a70159004b01120024010c001d010900990170004201120024010c001d01
-0a008c0182003f01120021010c001d010a008001400016013b003a01120021010d001901
-0a007d0126004f01280037010f0021010d001a0109007a0117006a012400320112001e01
-0d001a01090077010f007a01220032010f001f010c001a010600780105008c011f002f01
-0f001f010c001701020000010200ff01170118002d010f001f010c00ff01380119002a01
-0f001f010900ff013e0119002a010c001f010900ff01410116002b010b001f010a00ff01
-4201170027010c001c01020000010900ff014801130025010f001a010c00d00114006101
-140025010f001a010900b80144004f01140022010c001d0109008d010200140161004801
-110022010c001d0109008a01020007013400140131004001110023010c001a0106008a01
-2700430122003b011100230109001e0102008d01140061011c0039010e0020010c00ac01
-0d0072011a00340111001d010c00ff013501170031010e0021010900ff01390115002f01
-0e0021010900ff013e0112002d0111001b010c00ff01410111002e010d001c010c00a301
-02009e01120028010e001c010c00000102009c010200a401110026010e001c0109000001
-02009c010200a9010f0029010b001c01060000010200ff014e010f0026010c001c010200
-ff015b010c0024010e00ff0178010f0022010e00ff017b010c0022010e00ff017d010c00
-20010d00ff017d010d001f010e00bb010200c1010c0020010b0005010200af010200c601
-090020010c0002010200af010200c8010d001d01090002010200ff0180010a001e010600
-ff0189010c001c010200ff018f010a00ff01ae010a00ff01af010a00d8010200d5010a00
-0b010200c4010200d801090009010200c4010200da010a0006010200ff01a5010900ff01
-b2010400ff01b4010200ff01ff018f010200d7010200d9010200d7010200d9010200d701
-0200ff01ff01ff01ff01ff01ff01ff01c4010200c1010200ef010200c1010200ef010200
-c1010200ff01ff01ff01ff01ff01ff0122010200aa010200ff0106010200aa010200ff01
-06010200aa010200ff01ff01ff01ff018201020093010200ff011d01020093010200ff01
-1d01020093010200ff01ff01ff01ff01990102007b010200ff01350102007b010200ff01
-350102007b010200ff014101020062010200ff014e01020062010200ff014e0102006201
-0200ff015b01020049010200ff016701020049010200ff0167010200090102002f010200
-09010200ff0174010200080102001601020009010200ff01810102000801020009010200
-0901020009010200ff018d0102000901020009010200ff01a7010200ff01ff01ff01ff01
-ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01
-ff01ff01e801
-restore grestore
-%
-% End Imported PIC File: /home/farhi/Programs/mcstas/cvs/tex/figures/vitess_fc_parab.gif
-%
-% here ends figure;
-$F2psEnd
-rs
-showpage
-%%Trailer
-%EOF
diff --git a/docs/manuals/mcstas/figures/vitess_fc_parab.gif b/docs/manuals/mcstas/figures/vitess_fc_parab.gif
deleted file mode 100644
index e207d167f9..0000000000
Binary files a/docs/manuals/mcstas/figures/vitess_fc_parab.gif and /dev/null differ
diff --git a/docs/manuals/mcstas/figures/vitess_fc_parab.pdf b/docs/manuals/mcstas/figures/vitess_fc_parab.pdf
deleted file mode 100644
index e9973d1ca4..0000000000
Binary files a/docs/manuals/mcstas/figures/vitess_fc_parab.pdf and /dev/null differ
diff --git a/docs/manuals/mcstas/figures/vitess_fc_str.eps b/docs/manuals/mcstas/figures/vitess_fc_str.eps
deleted file mode 100644
index a22f0d0044..0000000000
--- a/docs/manuals/mcstas/figures/vitess_fc_str.eps
+++ /dev/null
@@ -1,590 +0,0 @@
-%!PS-Adobe-2.0 EPSF-2.0
-%%Title: vitess_fc_str.eps
-%%Creator: fig2dev Version 3.2 Patchlevel 5-alpha5
-%%CreationDate: Tue Nov 15 13:48:48 2005
-%%For: farhi@zorro (Emmanuel FARHI)
-%%BoundingBox: 0 0 959 735
-%Magnification: 1.0000
-%%EndComments
-/$F2psDict 200 dict def
-$F2psDict begin
-$F2psDict /mtrx matrix put
-/col-1 {0 setgray} bind def
-/col0 {0.000 0.000 0.000 srgb} bind def
-/col1 {0.000 0.000 1.000 srgb} bind def
-/col2 {0.000 1.000 0.000 srgb} bind def
-/col3 {0.000 1.000 1.000 srgb} bind def
-/col4 {1.000 0.000 0.000 srgb} bind def
-/col5 {1.000 0.000 1.000 srgb} bind def
-/col6 {1.000 1.000 0.000 srgb} bind def
-/col7 {1.000 1.000 1.000 srgb} bind def
-/col8 {0.000 0.000 0.560 srgb} bind def
-/col9 {0.000 0.000 0.690 srgb} bind def
-/col10 {0.000 0.000 0.820 srgb} bind def
-/col11 {0.530 0.810 1.000 srgb} bind def
-/col12 {0.000 0.560 0.000 srgb} bind def
-/col13 {0.000 0.690 0.000 srgb} bind def
-/col14 {0.000 0.820 0.000 srgb} bind def
-/col15 {0.000 0.560 0.560 srgb} bind def
-/col16 {0.000 0.690 0.690 srgb} bind def
-/col17 {0.000 0.820 0.820 srgb} bind def
-/col18 {0.560 0.000 0.000 srgb} bind def
-/col19 {0.690 0.000 0.000 srgb} bind def
-/col20 {0.820 0.000 0.000 srgb} bind def
-/col21 {0.560 0.000 0.560 srgb} bind def
-/col22 {0.690 0.000 0.690 srgb} bind def
-/col23 {0.820 0.000 0.820 srgb} bind def
-/col24 {0.500 0.190 0.000 srgb} bind def
-/col25 {0.630 0.250 0.000 srgb} bind def
-/col26 {0.750 0.380 0.000 srgb} bind def
-/col27 {1.000 0.500 0.500 srgb} bind def
-/col28 {1.000 0.630 0.630 srgb} bind def
-/col29 {1.000 0.750 0.750 srgb} bind def
-/col30 {1.000 0.880 0.880 srgb} bind def
-/col31 {1.000 0.840 0.000 srgb} bind def
-
-end
-save
-newpath 0 735 moveto 0 0 lineto 959 0 lineto 959 735 lineto closepath clip newpath
--104.9 774.0 translate
-1 -1 scale
-
-/cp {closepath} bind def
-/ef {eofill} bind def
-/gr {grestore} bind def
-/gs {gsave} bind def
-/sa {save} bind def
-/rs {restore} bind def
-/l {lineto} bind def
-/m {moveto} bind def
-/rm {rmoveto} bind def
-/n {newpath} bind def
-/s {stroke} bind def
-/sh {show} bind def
-/slc {setlinecap} bind def
-/slj {setlinejoin} bind def
-/slw {setlinewidth} bind def
-/srgb {setrgbcolor} bind def
-/rot {rotate} bind def
-/sc {scale} bind def
-/sd {setdash} bind def
-/ff {findfont} bind def
-/sf {setfont} bind def
-/scf {scalefont} bind def
-/sw {stringwidth} bind def
-/tr {translate} bind def
-/tnt {dup dup currentrgbcolor
- 4 -2 roll dup 1 exch sub 3 -1 roll mul add
- 4 -2 roll dup 1 exch sub 3 -1 roll mul add
- 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb}
- bind def
-/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul
- 4 -2 roll mul srgb} bind def
-/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def
-/$F2psEnd {$F2psEnteredState restore end} def
-
-$F2psBegin
-10 setmiterlimit
-0 slj 0 slc
- 0.06299 0.06299 sc
-%
-% Fig objects follow
-%
-%
-% here starts figure with depth 50
-% Polyline
-%
-% pen to black in case this eps object doesn't set color first
-0 0 0 setrgbcolor
-% Originally from a GIF File: /home/farhi/Programs/mcstas/cvs/tex/figures/vitess_fc_str.gif
-
-% Begin Imported PCX File: /home/farhi/Programs/mcstas/cvs/tex/figures/vitess_fc_str.gif
-
-%***********************************************************************
-%* *
-%* Object: Image decoding PS-routine Date: 01.02.93 *
-%* Author: Evgeni CHERNYAEV (chernaev@vxcern.cern.ch) *
-%* *
-%* Function: Display a run-length encoded color image. *
-%* The image is displayed in color on viewers and printers *
-%* that support color Postscript, otherwise it is displayed *
-%* as grayscale. *
-%* *
-%***********************************************************************
-/byte 1 string def
-/color 3 string def
-systemdict /colorimage known { /cnt 3 def } { /cnt 1 def } ifelse
-/String 256 cnt mul string def
-%***********************************************************************
-/DecodePacket % Decode color packet *
-%***********************************************************************
-{
- currentfile byte readhexstring pop 0 get
- /Nbyte exch 1 add cnt mul def
- /color ColorMap currentfile byte readhexstring pop 0 get get def
- String dup
- 0 cnt Nbyte 1 sub { color putinterval dup } for
- pop 0 Nbyte getinterval
-} bind def
-%***********************************************************************
-/DisplayImage % Display run-length encoded color image *
-%***********************************************************************
-{
- gsave
- currentfile String readline pop
- token { /columns exch def } { } ifelse
- token { /rows exch def pop } { } ifelse
- currentfile String readline pop
- token { /Ncol exch def pop } { } ifelse
- /ColorMap Ncol array def
- systemdict /colorimage known {
- 0 1 Ncol 1 sub {
- ColorMap exch
- currentfile 3 string readhexstring pop put
- } for
- columns rows 8
- [ columns 0 0 rows neg 0 rows ]
- { DecodePacket } false 3 colorimage
- }{
- 0 1 Ncol 1 sub {
- ColorMap exch
- 1 string dup 0
- currentfile color readhexstring pop pop
- color 0 get 0.299 mul
- color 1 get 0.587 mul add
- color 2 get 0.114 mul add
- cvi put put
- } for
- columns rows 8
- [ columns 0 0 rows neg 0 rows ]
- { DecodePacket } image
- } ifelse
- grestore
-} bind def
-n gs
-1665 630 tr
-14.287324 -14.286765 sc
-0 -816 tr
-0 0 tr
-sa
-/showpage {} def
-% PCX image follows:
-1065 816 sc
-%***********************************************
-%* Image decoding *
-%***********************************************
-DisplayImage
-1065 816
-8
-000000336666666666ffffff1a1a1a000000000000000000
-ff03c0036a00ff03ff03ff03b6037800ff03ff03ff03a8038500ff03ff03ff039b033f00
-14033e00ff03ff03ff038d0330003f033000ff03ff03ff038003290059032900ff03ff03
-ff037603270065032700ff03ff03ff036e03250071032500ff03ff03ff03660323007d03
-2300ff03ff03ff035e03210089032100ff03ff03ff0356031f0095031f00ff03ff03ff03
-4e031d00a1031d00ff03ff03ff0346031d00aa031c00ff03ff03ff033e031d00b2031c00
-ff03ff03ff0336031d00ba031c00ff03ff03ff032f031c00c2031b00ff03ff03ff032903
-1b00ca031a00ff03ff03ff0324031900d2031800ff03ff03ff031f031800da031700ff03
-ff03ff0319031700e2031600ff03ff03ff0314031500ea031500ff03ff03ff030e031400
-f2031400ff03ff03ff0308031400f8031300ff03ff03ff0303031400fe031300ff03ff03
-fe031300ff0304031300ff03ff03f8031300ff030a031300ff03ff03f2031300ff031003
-1300ff03ff03ed031200ff0316031200ff03ff03e8031200ff031c031200ff03ff03e203
-1300ff0320031300ff03ff03dd031200ff0326031200ff03ff03d9031100ff032c031100
-ff03ff03d5031000ff0332031000ff03ff03d1030f00ff0338030f00ff03ff03cd030e00
-ff033e030e00ff03ff03c8030e00ff0344030d00ff03ff03c4030e00ff0348030d00ff03
-ff03c0030e00ff034c030e00ff03ff03bb030e00ff0350030e00ff03ff03b7030e00ff03
-54030e00ff03ff03b2030f00ff0358030e00ff03ff03ae030f00ff035c030e00ff03ff03
-aa030f00ff0360030e00ff03ff03a6030e00ff0366030d00ff03ff03a2030e00ff036a03
-0d00ff03ff039e030e00ff036e030d00ff03ff039a030e00ff0372030d00ff03ff039603
-0e00ff0376030d00ff03ff0392030e00ff037a030d00ff03ff038f030d00ff037e030c00
-ff03ff038c030d00ff0382030c00ff03ff0388030d00ff0386030c00ff03ff0385030c00
-ff038a030b00ff03ff0382030c00ff038e030b00ff03ff037e030c00ff0392030b00ff03
-ff037b030c00ff0394030b00ff03ff0378030c00ff0398030b00ff03ff0374030c00ff03
-9b030c00ff03ff0371030c00ff039e030b00ff03ff036e030c00ff03a2030b00ff03ff03
-6a030c00ff03a5030c00ff03ff0367030c00ff03a8030b00ff03ff0364030c00ff03ac03
-0b00ff03ff0360030c00ff03af030c00ff03ff035d030c00ff03b2030b00ff03ff035a03
-0c00ff03b5030c00ff03ff0356030c00ff03b9030c00ff03ff0353030c00ff03bc030b00
-ff03ff0350030c00ff03bf030c00ff03ff034d030b00ff03c3030b00ff03ff034b030b00
-ff03c5030b00ff03ff0348030b00ff03c9030b00ff03ff0345030a00ff03cd030a00ff03
-ff0343030a00ff03cf030a00ff03ff0340030a00ff03d3030a00ff03ff033d030a00ff03
-d5030a00ff03ff033b030a00ff03d7030a00ff03ff0338030a00ff03db030a00ff03ff03
-35030a00ff03dd030a00ff03ff0333030a00ff03e0030900ff03ff0330030a00ff03e303
-0a00ff03ff032d030a00ff03e5030a00ff03ff032b030a00ff03e8030900ff03ff032803
-0a00ff03eb030a00ff03ff0325030a00ff03ee030900ff03ff0323030a00ff03f0030900
-ff03ff0320030a00ff03f3030a00ff03ff031d030a00ff03f6030900ff03ff031b030a00
-ff03f8030900ff03ff0318030a00ff03fb030a00ff03ff0315030a00ff03fe030900ff03
-ff0313030a00ff03ff0300030900ff03ff0311030900ff03ff0304030800ff03ff030f03
-0900ff03ff0306030800ff03ff030c030a00ff03ff0308030900ff03ff0309030900ff03
-ff030c030800ff03ff0307030900ff03ff030e030800ff03ff0305030900ff03ff031003
-0800ff03ff0303030900ff03ff0312030800ff03ff0301030800ff03ff0315030800ff03
-ff030800ff03ff0318030700ff03fc030900ff03ff031a030800ff03f9030900ff03ff03
-1c030800ff03f7030900ff03ff031e030800ff03f5030900ff03ff0320030800ff03f303
-0900ff03ff0322030800ff03f1030800ff03ff0325030800ff03ee030900ff03ff032703
-0900ff03eb030900ff03ff0329030900ff03e9030900ff03ff032c030800ff03e7030900
-ff03ff032e030800ff03e5030900ff03ff0330030800ff03e3030800ff03ff0333030800
-ff03e1030800ff03ff0335030800ff03de030900ff03ff0337030900ff03db030900ff03
-ff0339030900ff03d9030900ff03ff033b030900ff03d7030900ff03ff033d030900ff03
-d5030900ff03ff0340030800ff03d3030800ff03ff0343030800ff03d1030800ff03ff03
-45030800ff03cf030800ff03ff0347030800ff03cd030800ff03ff0349030800ff03cb03
-0800ff03ff034b030800ff03c9030800ff03ff034d030800ff03c8030700ff03ff034f03
-0700ff03c7030700ff03ff0351030700ff03c5030700ff03ff0353030700ff03c3030700
-ff03ff0355030700ff03c1030800ff03ff0355030800ff03bf030800ff03ff0357030800
-ff03bd030800ff03ff0359030800ff03bb030800ff03ff035b030800ff03b9030800ff03
-ff035d030800ff03b7030800ff03ff035f030800ff03b5030800ff03ff0361030800ff03
-b3030800ff03ff0363030800ff03b1030800ff03ff0365030800ff03af030800ff03ff03
-67030800ff03ae030700ff03ff0369030700ff03ad030700ff03ff036b030700ff03ab03
-0700ff03ff036d030700ff03a9030700ff03ff036f030700ff03a7030800ff03ff036f03
-0800ff03a5030800ff03ff0371030800ff03a3030800ff03ff0373030800ff03a1030800
-ff03ff0375030800ff039f030800ff03ff0377030800ff039e030700ff03ff0379030800
-ff039c030700ff03ff037b030700ff039b030700ff03ff037d030700ff0399030700ff03
-ff037f030700ff0398030600ff03ff0381030700ff0396030700ff03ff0381030700ff03
-95030700ff03ff0383030700ff0393030700ff03ff0385030700ff039203ff00ff008f00
-ff039703ff00ff009000ff039d03ff00ff008a00ff039d03ff00ff008a00ff039d03ff00
-ff008a00ff039d03ff00ff008a00ff039d03ff00ff008a00ff03ff0335030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff00
-6b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff00
-6b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03
-bc03ff006b00ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc03ff006b00ff03ff03bc03ff00
-6b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03
-bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff00
-6b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03
-ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff00
-6b00ff03ff03bc03ff006b00ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ca03090107030601d803ff006b00ff03c7030c0105030901
-d703ff006b00ff03c9030a0104030a01d703ff006b00ff03ca03080104030b01d703ff00
-6b00ff03ca03080103030c01d703ff006b00ff03ca0308010203020102030701d703ff00
-6b00ff03ca0307010203020103030701d7030500ff035e030600ff03ca03070102030101
-03030801d7030500ff035e030600ff03ca0307010103010104030801d7030500ff035e03
-0600ff03c90307010103010105030801d7030500ff035e030600ff03c903070100030101
-06030801d7030500ff035e030600ff03c90307010003010105030801d8030500ff035e03
-0600ff03c8030a0106030801d8030500ff035e030600ff03c803090107030801d8030500
-ff035e030600ff03c803090106030801d9030500ff035e030600ff03c703090107030801
-d9030500ff035e030600ff03c703080108030801d9030500ff035e030600ff03c7030801
-08030701da030500ff035e030600ff03c703070108030801da030500ff035e030600ff03
-c603080108030801da030500ff035e030600ff03c603070109030701db030500ff035e03
-0600ff03c603070108030801db030500ff035e030600ff03c503080108030801db030500
-ff035e030600ff03c503070109030701dc030500ff035e030600ff03c503070108030801
-03030001d7030500ff035e030600ff03c50307010803080102030101d7030500ff035e03
-0600ff03c40308010803070102030101d8030500ff035e030600ff03c403070109030701
-01030201d8030500ff035e030600ff03c403070109030b01d9030500ff035e030600ff03
-c303080109030a01da030500ff035e030600ff03c30307010b030701dc030500ff035e03
-0600ff03d8030401de03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03
-ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500a50305040f0305049c030600ff03ff03bc030500a60305040e0304049d030600
-ff03ff032203010097030500a70304040d0304049e030600ff03ff032203030095030500
-a80304040c0304049e030600ff03ff032303040093030500a80304040b0304049f030600
-ff03ff032303070090030500a903040409030404a0030600ff03ff03230309008e030500
-a903050408030404a0030600ff03ff0323030b008c030500aa03040407030404a1030600
-ff03ff0324030c008a030500ab03040405030404a2030600ff03ff0324030f0087030500
-ab03040405030404a2030600ff03ff032503100085030500ac03040403030404a3030600
-ff03ff032503120083030500ad03040401030404a4030600ff03ff032503150080030500
-ad03040401030404a4030600ff03ff03250317007e030500ae030904a5030600ff03ff03
-260318007c03b4000804ad00ff03ff0326031a007a03b5000704ad00ff037403cf007703
-b6000504ae00ff037403d1007503b6000504ae00ff037403d3007303b5000604ae00ff03
-7403d5007103b5000704ad00ff037403d3007303b4000804ad00ff037403d10075030500
-ad03040400030404a5030600ff03ff0326031c0078030500ad03040401030404a4030600
-ff03ff0326031a007a030500ac030404020304042703030078030600ff03ff0326031800
-7c030500ab030404040304042003090078030600ff03ff03250316007f030500ab030404
-0403050419030e0079030600ff03ff032503140081030500aa0304040603040415031200
-79030600ff03ff032503110084030500aa030304080304041503110079030600ff03ff03
-25030f0086030500a9030404080304041603100079030600ff03ff0324030d0089030500
-a80304040a03040416030e007a030600ff03ff0324030b008b030500a80304040a030504
-16030d007a030600ff03ff03230309008e030500a70304040c03040417030c007a030600
-ff03ff032303070090030500a60304040e03040417030a000003020077030600ff03ff03
-2303050092030500a60304040e030404180309000303020074030600ff03ff0323030200
-95030500a503040410030404180308000603020071030600ff03ff032203010097030500
-a403040411030504180306000a0302006e030600ff03ff03bc030500db0305000d030200
-6b030600ff03ff03bc030500dc0304001003020068030600ff03ff03bc030500dd030300
-1303020065030600ff03ff03bc030500de0301001703020062030600ff03ff03bc030500
-df0300001a0302005f030600ff03ff03bc030500fe0302005c030600ff03ff03bc030500
-ff030103020059030600ff03ff03bc030500ff030403020056030600ff03ff03bc030500
-ff030703020053030600ff03ff03bc030500ff030a03020050030600ff03ff03bc030500
-ff030d0302004d030600ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03
-ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03
-ff03bc030500ff0322030200380306005703030237030302ff03ff0324030500ff032503
-02003503060057030302370303020a030302ad030302ff0363030500ff03280303003103
-060057030302370303020a030302ad030302ff0363030500ff032c0302002e0306005703
-0302370303020a030302ad030302ff0363030500ff032f0302002b030600570303023703
-03020a030302ad030302ff0363030500ff03320302002803060057030302370303020a03
-0302ad030302ff0363030500ff03350302002503060057030302370303020a030302ad03
-0302ff0363030500ff03380302002203060057030302370303020a030302ad030302ff03
-63030500ff033b0302001f0306005703030237030302ff03ff0324030500ff033e030200
-1c0306005703030237030302ff03ff0324030500ff034103020019030600570303023703
-0302ff03ff0324030500ff034403020016030600240303020e0308021603030216030902
-16030302220308021d0308022f03090241030602ff034e030500ff034703020013030600
-1b030302020305020b030e020c0311020c030f0205030302020311020303030210030e02
-0f03030203030e0229030f0205030302020305020f030502030303020b030a02ff034c03
-0500ff034a030200100306001b03030200030702090312020a0311020a03130203030302
-02031102030303020e0312020d030302010312022503130203030302030305020e030402
-0403030209030d02ff034b030500ff034d0302000d0306001b030c020803140209031102
-090315020203030202031102030303020d0314020c030302000314022303150202030302
-040304020d0304020503030208030f02ff034a030500ff03500302000a0306001b030902
-09030702070308020703110207030802060308020103030202031102030303020b030702
-070308020a030b0206030702200308020603080201030302050304020c03040205030302
-0803040205030502ff0349030500ff0353030200070306001b0307020a0306020c030602
-0d0303020d0306020c03060200030302090303020a0303020a0306020c03060209030802
-0c0305021e0306020c03060200030302050304020b030402060303020703040207030402
-ff0349030500ff0356030200040306001b0305020b030502100305020c0303020c030502
-10030902090303020a0303020903050210030502080307020e0304021d03050210030902
-0603040209030402070303020703030209030302ff0349030500ff035903020001030600
-1b0305020b030402120304020c0303020c03040212030802090303020a03030209030402
-1203040208030602100304021c0304021203080206030502080304020703030206030302
-0a030402ff0348030500ff035c0308001b0304020b030402140304020b0303020b030402
-14030702090303020a030302080304021403040207030502110304021b03040214030702
-070304020703040208030302060303020b030302ff034803ff006b001b0304020a030402
-160304020a0303020a03040216030602090303020a030302070304021603040206030402
-130303021a03040216030602080304020503040209030302060303020b030302ff034803
-ff006b001b0303020b030302180303020a0303020a03030218030502090303020a030302
-070303021803030206030402130304021903030218030502080304020503040209030302
-06030302ff035803ff006e00180303020a03040218030402090303020903040218030502
-090303020a03030206030402180304020503040214030302180304021803050209030402
-030304020a03030206030302ff035803ff006b0002030200150303020a0303021a030302
-09030302090303021a030402090303020a030302060303021a0303020503030215030302
-180303021a0304020a030402010304020b03030206030402ff035703ff006b0005030200
-120303020a0303021a03030209030302090303021a030402090303020a03030206030302
-1a0303020503030215030302180303021a0304020a030402010304020b03030207030402
-ff035603ff006b00080302000f030302090303021c03030208030302080304021b030302
-090303020a030302050303021c0303020403030215030302170304021b0303020b030902
-0c03030207030502ff035503ff006b000b0300000e030302090303021c03030208030302
-080303021c030302090303020a030302050303021c030302040303021503030217030302
-1c0303020b0308020d03030208030602ff0353030500ff035e0306001b03030209030302
-1c03030208030302080303021c030302090303020a030302050303021c03030204030302
-15030302170303021c0303020c0307020d03030208030a02ff034f030500ff035e030600
-1b030302090303021c03030208030302080303021c030302090303020a03030205030302
-1c0303020403030215030302170303021c0303020d0305020e0303020a030a02ff034d03
-0500ff035e0306001b030302090303021c03030208030302080303021c03030209030302
-0a030302050303021c0303020403030215030302170303021c0303020d0305020e030302
-0c030a02ff034b030500ff035e0306001b030302090303021c0303020803030208030302
-1c030302090303020a030302050303021c0303020403030215030302170303021c030302
-0c0306020e0303020e030902ff034a030500ff035e0306001b030302090303021c030302
-08030302080303021c030302090303020a030302050303021c0303020403030215030302
-170303021c0303020c0307020d03030211030702ff0349030500ff035e0306001b030302
-090303021c03030208030302080303021c030302090303020a030302050303021c030302
-0403030215030302170303021c0303020b0308020d03030213030602ff0348030500ff03
-5e0306001b030302090303021c03030208030302080303021b030402090303020a030302
-050303021c0303020403030215030302170303021b0304020a030402000304020c030302
-15030402ff0348030500ff035e0306001b0303020a0303021a0303020903030209030302
-1a030402090303020a030302060303021a0303020503030215030302180303021a030402
-0a030402010304020b03030216030402ff0347030500ff035e0306001b0303020a030302
-1a03030209030302090303021a030402090303020a030302060303021a03030205030302
-15030302180303021a03040209030402020304020b03030216030402ff0347030500ff03
-5e0306001b0303020a03040218030402090303020903040218030502090303020a030302
-06030402180304020503030215030302180304021803050208030402040304020a030302
-040303020e030302ff0347030500ff035e0306001b0303020b030302180303020a030302
-0a03030217030602090303020a0303020703030218030302060303021503030219030302
-17030602080304020403050209030302040303020e030302ff0347030500ff035e030600
-1b0303020b030402160304020a0303020a03040216030602090303020a03030207030402
-160304020603030215030302190304021603060207030402060304020903030204030302
-0e030302ff0347030500ff035e0306001b0303020c030402140304020b0303020b030402
-14030702090303020a030302080304021403040207030302150303021a03040214030702
-070303020803040208030302040304020d030302ff0347030500ff035e0306001b030302
-0d030402120304020c0303020b03050212030802090303020a0303020903040212030402
-08030302150303021a03050212030802060304020803040208030302050303020c030402
-ff0347030500ff035e0306001b0303020d030502100305020c0303020c03050210030902
-090303020a030302090305021003050208030302150303021b0305021003090205030402
-0a03040207030302050304020b030302ff0348030500ff035e0306001b0303020e030602
-0c0306020d0303020d0306020c03060200030302090303020a0303020a0306020c030602
-09030302150303021c0306020c03060200030302050304020a0305020603030206030402
-09030402ff0348030500ff035e0306001b0303020f030802070307020e0303020e030802
-0603080201030302090303020a0303020b030802070307020a030302150303021d030802
-0603080201030302040304020c030402060303020603060205030502ff0349030500ff03
-5e0306001b03030211031402100303021003150202030302090303020a0303020d031402
-0c030302150303021f03150202030302030304020e0304020503030207031002ff034a03
-0500ff035e0306001b03030212031202110303021103130203030302090303020a030302
-0e0312020d030302150303022003130203030302030304020e0304020503030208030e02
-ff034b030500ff035e0306001b03030214030e021303030213030f020503030209030302
-0a03030210030e020f0303021503030222030f0205030302020304021003040204030302
-09030c02ff034c030500ff035e0306001b03030217030802160303021603080209030302
-090303020a03030213030802120303021503030225030802090303020103040211030502
-030303020c030602ff034f030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03
-ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc03ff006b00ff03ff03bc03ff00
-6b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03
-bc03ff006b00ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc03ff006b00ff03ff03bc03ff006b00
-ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03
-ff006b00ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc03ff006b00ff03ff03bc03ff006b00
-ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03
-ff006b00ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03
-ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-2403ff00ff008a00ff039d03ff00ff008a00ff039d03ff00ff008a00ff039d03ff00ff00
-8a00ff039d03ff00ff008a00ff039d03ff00ff008a00ff039d03ff00ff008a00ff039a03
-0700ff03ff0381030700ff0396030700ff03ff0381030700ff0397030700ff03ff037f03
-0700ff0399030700ff03ff037d030700ff039b030700ff03ff037b030700ff039c030800
-ff03ff0379030800ff039d030800ff03ff0377030800ff039f030800ff03ff0375030800
-ff03a1030800ff03ff0373030800ff03a3030800ff03ff0371030800ff03a5030800ff03
-ff036f030800ff03a7030700ff03ff036f030700ff03a9030700ff03ff036d030700ff03
-ab030700ff03ff036b030700ff03ad030700ff03ff0369030700ff03ae030800ff03ff03
-67030800ff03af030800ff03ff0365030800ff03b1030800ff03ff0363030800ff03b303
-0800ff03ff0361030800ff03b5030800ff03ff035f030800ff03b7030800ff03ff035d03
-0800ff03b9030800ff03ff035b030800ff03bb030800ff03ff0359030800ff03bd030800
-ff03ff0357030800ff03bf030800ff03ff0355030800ff03c1030700ff03ff0355030700
-ff03c3030700ff03ff0353030700ff03c5030700ff03ff0351030700ff03c7030700ff03
-ff034f030700ff03c8030800ff03ff034d030800ff03c9030800ff03ff034b030800ff03
-cb030800ff03ff0349030800ff03cd030800ff03ff0347030800ff03cf030800ff03ff03
-45030800ff03d1030800ff03ff0343030800ff03d3030900ff03ff0340030800ff03d503
-0900ff03ff033d030900ff03d7030900ff03ff033b030900ff03d9030900ff03ff033903
-0900ff03db030900ff03ff0337030900ff03de030800ff03ff0335030800ff03e1030800
-ff03ff0333030800ff03e3030900ff03ff0330030800ff03e5030900ff03ff032e030800
-ff03e7030900ff03ff032c030800ff03e9030900ff03ff0329030900ff03eb030900ff03
-ff0327030900ff03ee030800ff03ff0325030800ff03f1030900ff03ff0322030800ff03
-f3030900ff03ff0320030800ff03f5030900ff03ff031e030800ff03f7030900ff03ff03
-1c030800ff03f9030900ff03ff031a030800ff03fc030800ff03ff0318030700ff03ff03
-0800ff03ff0315030800ff03ff0301030900ff03ff0312030800ff03ff0303030900ff03
-ff0310030800ff03ff0305030900ff03ff030e030800ff03ff0307030900ff03ff030c03
-0800ff03ff0309030a00ff03ff0308030900ff03ff030c030900ff03ff0306030800ff03
-ff030f030900ff03ff0304030800ff03ff0311030a00ff03ff0300030900ff03ff031303
-0a00ff03fe030900ff03ff0316030900ff03fb030900ff03ff0319030a00ff03f8030900
-ff03ff031b030a00ff03f6030900ff03ff031e030900ff03f3030900ff03ff0321030a00
-ff03f0030900ff03ff0323030a00ff03ed030a00ff03ff0326030900ff03eb030900ff03
-ff0329030a00ff03e8030900ff03ff032b030a00ff03e5030a00ff03ff032e030900ff03
-e3030900ff03ff0331030a00ff03e0030900ff03ff0333030a00ff03dd030a00ff03ff03
-36030900ff03db030900ff03ff0339030a00ff03d7030a00ff03ff033b030a00ff03d503
-0a00ff03ff033e030900ff03d3030900ff03ff0341030a00ff03cf030a00ff03ff034303
-0a00ff03cd030a00ff03ff0346030a00ff03c9030a00ff03ff0349030b00ff03c5030b00
-ff03ff034b030b00ff03c3030b00ff03ff034e030b00ff03bf030b00ff03ff0351030c00
-ff03bc030b00ff03ff0353030c00ff03b9030c00ff03ff0356030c00ff03b5030c00ff03
-ff035a030c00ff03b2030b00ff03ff035d030c00ff03af030c00ff03ff0360030c00ff03
-ab030c00ff03ff0364030c00ff03a8030b00ff03ff0367030c00ff03a5030c00ff03ff03
-6a030c00ff03a2030b00ff03ff036e030c00ff039e030b00ff03ff0371030c00ff039b03
-0c00ff03ff0374030c00ff0398030b00ff03ff0378030c00ff0394030b00ff03ff037b03
-0c00ff0392030b00ff03ff037e030c00ff038e030b00ff03ff0382030c00ff038a030b00
-ff03ff0385030d00ff0386030c00ff03ff0388030d00ff0382030c00ff03ff038c030d00
-ff037e030c00ff03ff038f030e00ff037a030d00ff03ff0392030e00ff0376030d00ff03
-ff0396030e00ff0372030d00ff03ff039a030e00ff036e030d00ff03ff039e030e00ff03
-6a030d00ff03ff03a2030f00ff0364030e00ff03ff03a6030f00ff0360030e00ff03ff03
-aa030f00ff035c030e00ff03ff03ae030f00ff0358030e00ff03ff03b3030e00ff035403
-0e00ff03ff03b7030e00ff0350030e00ff03ff03bb030e00ff034c030d00ff03ff03c003
-0e00ff0348030d00ff03ff03c4030e00ff0344030d00ff03ff03c9030e00ff033e030e00
-ff03ff03cd030f00ff0338030f00ff03ff03d1031000ff0332031000ff03ff03d5031100
-ff032c031100ff03ff03d9031200ff0326031200ff03ff03dd031300ff0320031300ff03
-ff03e2031300ff031a031300ff03ff03e8031200ff0316031200ff03ff03ed031300ff03
-10031300ff03ff03f2031300ff030a031300ff03ff03f8031300ff0304031300ff03ff03
-fd031400fe031300ff03ff03ff0303031400f8031300ff03ff03ff0309031400f1031500
-ff03ff03ff030e031500e9031600ff03ff03ff0313031700e1031700ff03ff03ff031903
-1800d9031800ff03ff03ff031f031900d1031900ff03ff03ff0324031b00c9031b00ff03
-ff03ff0329031c00c1031c00ff03ff03ff0330031c00b9031c00ff03ff03ff0338031c00
-b1031c00ff03ff03ff0340031c00a9031c00ff03ff03ff0348031c00a1031c00ff03ff03
-ff0350031e0095031e00ff03ff03ff035803200089032000ff03ff03ff03600322007d03
-2200ff03ff03ff036803240071032400ff03ff03ff037003260065032600ff03ff03ff03
-7803280059032800ff03ff03ff03810330003f033000ff03ff03ff038d033f0014033e00
-ff03ff03ff039b038500ff03ff03ff03a9037800ff03ff03ff03b6036a00ff03fc03
-restore grestore
-%
-% End Imported PIC File: /home/farhi/Programs/mcstas/cvs/tex/figures/vitess_fc_str.gif
-%
-% here ends figure;
-$F2psEnd
-rs
-showpage
-%%Trailer
-%EOF
diff --git a/docs/manuals/mcstas/figures/vitess_fc_str.gif b/docs/manuals/mcstas/figures/vitess_fc_str.gif
deleted file mode 100644
index d15bfca43b..0000000000
Binary files a/docs/manuals/mcstas/figures/vitess_fc_str.gif and /dev/null differ
diff --git a/docs/manuals/mcstas/figures/vitess_fc_str.pdf b/docs/manuals/mcstas/figures/vitess_fc_str.pdf
deleted file mode 100644
index c05e23167c..0000000000
Binary files a/docs/manuals/mcstas/figures/vitess_fc_str.pdf and /dev/null differ
diff --git a/docs/manuals/mcstas/kernel.tex b/docs/manuals/mcstas/kernel.tex
index ceeda110e4..665e450922 100644
--- a/docs/manuals/mcstas/kernel.tex
+++ b/docs/manuals/mcstas/kernel.tex
@@ -482,7 +482,7 @@ \subsection{The \texttt{NEXUS} extension}
\textit{filename},
as well as the instrument description itself. Other formats are
still available. When run on a distributed system (e.g. MPI), detectors are
-gathered, but list of events (see e.g. component Virtual\_output) are stored as
+gathered, but list of events are stored as
one data set per node.
%-------------------------------------------------------------------------------
diff --git a/docs/manuals/mcstas/kernelcalls.tex b/docs/manuals/mcstas/kernelcalls.tex
index bd48ef9076..8bd6cd75a8 100644
--- a/docs/manuals/mcstas/kernelcalls.tex
+++ b/docs/manuals/mcstas/kernelcalls.tex
@@ -430,14 +430,14 @@ \section{Reading a data file into a vector/matrix (Table input, \texttt{read\_ta
\end{lstlisting}
You may look into, for instance, the source files for
-\textbf{Monochromator\_curved} or \textbf{Virtual\_input}
+\textbf{Monochromator\_curved}
for other implementation examples.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Monitor\_nD Library}
\indexLIB{monitor\_nd-lib}{textbf}
-This library gathers a few functions used by a set of monitors e.g. Monitor\_nD, Res\_monitor, etc. It is also used by \textbf{Virtual\_output}, a code-specific event-file writer that has moved to the \textbf{obsolete} component category (see the Component Manual's Obsolete chapter) and is superseded by \textbf{MCPL\_output}; new instrument work should prefer MCPL.
+This library gathers a few functions used by a set of monitors e.g. Monitor\_nD, Res\_monitor, etc.
It may monitor any kind of data, create the data files, and may display many geometries (for \verb+mcdisplay+).
Refer to these components for implementation examples, and ask the authors for more details.
@@ -449,21 +449,6 @@ \section{Adaptive importance sampling Library}
and \textbf{Adapt\_check}. It performs adaptive importance sampling of neutrons for simulation efficiency optimization.
Refer to these components for implementation examples, and ask the authors for more details.
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\section{Vitess import/export Library}
-\indexLIB{vitess-lib}{textbf}
-
-This library is used by the components
-\textbf{Vitess\_input} and \textbf{Vitess\_output},
-as well as the \verb+mcstas2vitess+ utility.
-\indexMCTOOL{mcstas2vitess}{}
-Both \textbf{Vitess\_input} and \textbf{Vitess\_output} have moved to the \textbf{obsolete}
-component category (see the Component Manual's Obsolete chapter) and are kept only for
-backward compatibility; new instrument work should prefer the portable, multi-code
-MCPL format (\textbf{MCPL\_input}/\textbf{MCPL\_output}, see the Misc chapter) over
-Vitess-specific event files.
-Refer to these components for implementation examples, and ask the authors for more details.
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Constants for unit conversion etc.}
\index{Units!constants and conversions|textbf}
diff --git a/docs/manuals/mcstas/misc/misc.tex b/docs/manuals/mcstas/misc/misc.tex
index c37caa792f..8434f7fe42 100644
--- a/docs/manuals/mcstas/misc/misc.tex
+++ b/docs/manuals/mcstas/misc/misc.tex
@@ -16,11 +16,8 @@ \chapter{Special-purpose components}
neutron rays using the portable, compressed, multi-code MCPL event format
(with backends for \MCS/McXtrace as well as several other Monte Carlo
transport codes -- MCNP, PHITS, Geant4, Vitess, SIMRES). The older,
-code-specific event components (\textbf{Virtual\_input}/\textbf{Virtual\_output}
-and similar MCNP/Tripoli4/Vitess-specific readers/writers) perform the same
-role but are now in the \textbf{obsolete} component category (see the
-Obsolete chapter) and are kept only for backward compatibility; new
-instrument work should prefer MCPL.
+code-specific event components have been removed, and
+\textbf{Virtual\_input}/\textbf{Virtual\_output} stop with an error.
\textbf{Progress\_bar} is a simulation utility that displays the simulation
status, but assumes the form of a component.
diff --git a/docs/manuals/mcstas/obsolete/Beam_spy.tex b/docs/manuals/mcstas/obsolete/Beam_spy.tex
deleted file mode 100644
index 7c112e7418..0000000000
--- a/docs/manuals/mcstas/obsolete/Beam_spy.tex
+++ /dev/null
@@ -1,30 +0,0 @@
-\section{The \texttt{Beam\_spy} McStas Component}
-Beam analyzer for previous component
-
-\subsection*{Identification}
-\begin{itemize}
- \item \textbf{Author:} E. Farhi
- \item \textbf{Origin:} Risoe
- \item \textbf{Date:} Nov 2005
-\end{itemize}
-
-\subsection*{Description}
-This component displays informations about the beam at the previous component position. No data file is produced. It behaves as the Monitor component, but No propagation to the Beam\_spy is performed, and all events are analyzed. The component should be located at the same position as the previous one.
-
-\subsection*{Input parameters}
-Parameters in \textbf{boldface} are required; the others are optional.
-
-\begin{longtable}{p{0.22\textwidth}p{0.12\textwidth}p{0.46\textwidth}p{0.14\textwidth}}
-\toprule
-\textbf{Name} & \textbf{Unit} & \textbf{Description} & \textbf{Default} \\
-\midrule
-\endhead
-\bottomrule
-\end{longtable}
-
-\subsection*{Links}
-\begin{itemize}
- \item Component source code found in file \texttt{Beam\_spy.comp}.
- \item Monitor component
-\end{itemize}
-\IfFileExists{obsolete/Beam_spy_static.tex}{\input{obsolete/Beam_spy_static.tex}}{}
\ No newline at end of file
diff --git a/docs/manuals/mcstas/obsolete/SasView_model.tex b/docs/manuals/mcstas/obsolete/SasView_model.tex
deleted file mode 100644
index 5fb89d6b5c..0000000000
--- a/docs/manuals/mcstas/obsolete/SasView_model.tex
+++ /dev/null
@@ -1,753 +0,0 @@
-\section{The \texttt{SasView\_model} McStas Component}
-This SANS sample exposes \textless{}a href="http://www.sasview.org"\textgreater{}SasView's\textless{}/a\textgreater{} scattering kernels to McStas. In this way SasView's monodisperse scattering kernels can be call from McStas.
-
-\subsection*{Identification}
-\begin{itemize}
- \item \textbf{Author:} Jakob Garde, Torben Nielsen, Peter Willendrup
- \item \textbf{Origin:} SasView, DTU, European Spallation Source ERIC
- \item \textbf{Date:} 03.02.2016
-\end{itemize}
-
-\subsection*{Description}
-\textbf{OBSOLETE} - we recommend using individual component models form the \textless{}pre\textgreater{}sasmodels\textless{}/pre\textgreater{} selection. If you keep using this component, be aware that the URLs listed in the table below are broken, please refer to the new revamped \htmladdnormallink{SasView model page}{https://www.sasview.org/docs/user/models/capped\_cylinder.html}.
-
-Sample for use in SANS instruments. The models describe mono disperse particles in thin solution. The sample geometry may have the shape:
-
-\begin{verbatim}
-Shape: - A filled box with dimensions xwidth, yheight and zdepth.
-\end{verbatim}
-
-- A cylinder with dimensions radius and yheight. - A filled sphere given by radius.
-
-These parameters are mutually exclusive.
-
-Example using spheres in thin solution, with radius=200 \AA{} and a delta\_sld=0.6 fm/\AA{}\textasciicircum{}3: SasView\_model(model\_index=47, model\_scale=1.0, model\_pars=\{1, 7, 200\}, model\_abs=0.0, xwidth=0.01, yheight=0.01, zdepth=0.005,)
-
-The algorithm of this component requires use of the ISO C standard c99, standard from McStas 2.7 and 3.0.
-
-The list of scattering models in SasView is called sasmodels. The list of McStas available \htmladdnormallink{SasView sasmodels}{http://www.sasview.org/sasview/user/models/model\_functions.html\#model} are found in the table below.
-
-A few models may require manual documentation lookup using the above link to the SasView site.
-
-McStas does currently not support multiplication of formfactor models with structure factor models.
-
-The 2D scattering scattering kernels are denoted by modelname\_xy. I.e. to evalulate scattering from aligned cylinders use model\_index=10 to use cylinder\_xy.
-
-MDOC
-
-\textless{}table border=1\textgreater{}\textless{}tr\textgreater{}\textless{}td\textgreater{}\textbf{Model no.}\textless{}/td\textgreater{}\textless{}td\textgreater{}\textbf{SasView name}\textless{}/td\textgreater{}\textless{}td\textgreater{}\textbf{Parameters}\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{} 0\textless{}/td\textgreater{}\textless{}td\textgreater{}None\textless{}/td\textgreater{}\textless{}td\textgreater{}None\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{} 1\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{barbell}{http://www.sasview.org/sasview/user/models/model\_functions.html\#barbellmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, bell\_radius, radius, length)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{} 2\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{barbell\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#barbellmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, bell\_radius, radius, length, theta, phi)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{} 3\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{bcc\_paracrystal}{http://www.sasview.org/sasview/user/models/model\_functions.html\#bccparacrystalmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(dnn, d\_factor, radius, sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{} 4\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{bcc\_paracrystal\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#bcc\_paracrystalmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(dnn, d\_factor, radius, sld, solvent\_sld, theta, phi, psi)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{} 5\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{capped\_cylinder}{http://www.sasview.org/sasview/user/models/model\_functions.html\#cappedcylindermodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, radius, cap\_radius, length)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{} 6\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{capped\_cylinder\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#capped\_cylindermodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, radius, cap\_radius, length, theta, phi)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{} 7\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{core\_shell\_cylinder}{http://www.sasview.org/sasview/user/models/model\_functions.html\#coreshellcylindermodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(core\_sld, shell\_sld, solvent\_sld, radius, thickness, length)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{} 8\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{core\_shell\_cylinder\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#core\_shell\_cylindermodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(core\_sld, shell\_sld, solvent\_sld, radius, thickness, length, theta, phi)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{} 9\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{cylinder}{http://www.sasview.org/sasview/user/models/model\_functions.html\#cylindermodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, radius, length)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}10\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{cylinder\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#cylindermodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, radius, length, theta, phi)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}11\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{dab}{http://www.sasview.org/sasview/user/models/model\_functions.html\#dabmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(length)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}12\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{dab\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#dabmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(length)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}13\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{ellipsoid}{http://www.sasview.org/sasview/user/models/model\_functions.html\#ellipsoidmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, rpolar, requatorial)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}14\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{ellipsoid\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#ellipsoidmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, rpolar, requatorial, theta, phi)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}15\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{fcc\_paracrystal}{http://www.sasview.org/sasview/user/models/model\_functions.html\#fccparacrystalmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(dnn, d\_factor, radius, sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}16\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{fcc\_paracrystal\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#fcc\_paracrystalmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(dnn, d\_factor, radius, sld, solvent\_sld, theta, phi, psi)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}17\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{flexible\_cylinder\_ex}{http://www.sasview.org/sasview/user/models/model\_functions.html\#flexiblecylinderexmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(length, kuhn\_length, radius, axis\_ratio, sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}18\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{flexible\_cylinder\_ex\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#flexible\_cylinder\_exmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(length, kuhn\_length, radius, axis\_ratio, sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}19\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{gaussian\_peak}{http://www.sasview.org/sasview/user/models/model\_functions.html\#gaussianpeakmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(q0, sigma)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}20\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{gaussian\_peak\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#gaussian\_peakmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(q0, sigma)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}21\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{guinier}{http://www.sasview.org/sasview/user/models/model\_functions.html\#guiniermodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(rg)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}22\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{guinier\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#guiniermodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(rg)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}23\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{hardsphere}{http://www.sasview.org/sasview/user/models/model\_functions.html\#hardspheremodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(effect\_radius, volfraction)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}24\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{hardsphere\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#hardspheremodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(effect\_radius, volfraction)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}25\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{HayterMSAsq}{http://www.sasview.org/sasview/user/models/model\_functions.html\#HayterMSAsqmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(effect\_radius, zz, VolFrac, Temp, csalt, dialec)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}26\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{HayterMSAsq\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#HayterMSAsqmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(effect\_radius, charge, volfraction, temperature, saltconc, dielectconst)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}27\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{hollow\_cylinder}{http://www.sasview.org/sasview/user/models/model\_functions.html\#hollowcylindermodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(radius, core\_radius, length, sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}28\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{hollow\_cylinder\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#hollow\_cylindermodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(radius, core\_radius, length, sld, solvent\_sld, theta, phi)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}29\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{lamellar}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, thickness)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}30\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{lamellar\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, thickness)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}31\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{lamellar\_FFHG}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarFFHGmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(tail\_length, head\_length, sld, head\_sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}32\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{lamellar\_FFHG\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellar\_FFHGmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(tail\_length, head\_length, sld, head\_sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}33\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{lamellarCailleHG}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarCailleHGmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(tail\_length, head\_length, Nlayers, dd, Cp, tail\_sld, head\_sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}34\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{lamellarCailleHG\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarCailleHGmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(tail\_length, head\_length, Nlayers, spacing, Caille\_parameter, sld, head\_sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}35\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{lamellarPC}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarPCmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(th, Nlayers, davg, pd, sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}36\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{lamellarPC\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarPCmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(thickness, Nlayers, spacing, spacing\_polydisp, sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}37\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{lamellarPS}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarPSmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(del, Nlayers, dd, Cp, sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}38\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{lamellarPS\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarPSmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(thickness, Nlayers, spacing, Caille\_parameter, sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}39\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{linear\_pearls}{http://www.sasview.org/sasview/user/models/model\_functions.html\#linearpearlsmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(radius, edge\_sep, num\_pearls, pearl\_sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}40\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{linear\_pearls\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#linear\_pearlsmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(radius, edge\_sep, num\_pearls, pearl\_sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}41\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{lorentz}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lorentzmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(cor\_length)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}42\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{lorentz\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lorentzmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(cor\_length)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}43\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{mass\_fractal}{http://www.sasview.org/sasview/user/models/model\_functions.html\#massfractalmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(radius, mass\_dim, cutoff\_length)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}44\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{mass\_fractal\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#mass\_fractalmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(radius, mass\_dim, cutoff\_length)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}45\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{mass\_surface\_fractal}{http://www.sasview.org/sasview/user/models/model\_functions.html\#masssurfacefractalmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(mass\_dim, surface\_dim, cluster\_rg, primary\_rg)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}46\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{mass\_surface\_fractal\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#mass\_surface\_fractalmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(mass\_dim, surface\_dim, cluster\_rg, primary\_rg)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}47\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{parallelepiped}{http://www.sasview.org/sasview/user/models/model\_functions.html\#parallelepipedmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, a\_side, b\_side, c\_side)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}48\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{parallelepiped\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#parallelepipedmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, a\_side, b\_side, c\_side, theta, phi, psi)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}49\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{pearl\_necklace}{http://www.sasview.org/sasview/user/models/model\_functions.html\#pearlnecklacemodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(radius, edge\_separation, string\_thickness, number\_of\_pearls, sld, string\_sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}50\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{pearl\_necklace\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#pearl\_necklacemodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(radius, edge\_separation, string\_thickness, number\_of\_pearls, sld, string\_sld, solvent\_sld)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}51\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{sphere}{http://www.sasview.org/sasview/user/models/model\_functions.html\#spheremodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, radius)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}52\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{sphere\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#spheremodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, radius)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}53\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{star\_polymer}{http://www.sasview.org/sasview/user/models/model\_functions.html\#starpolymermodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(radius2, arms)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}54\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{star\_polymer\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#star\_polymermodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(radius2, arms)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}55\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{stickyhardsphere}{http://www.sasview.org/sasview/user/models/model\_functions.html\#stickyhardspheremodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(effect\_radius, volfraction, perturb, stickiness)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}56\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{stickyhardsphere\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#stickyhardspheremodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(effect\_radius, volfraction, perturb, stickiness)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}57\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{triaxial\_ellipsoid}{http://www.sasview.org/sasview/user/models/model\_functions.html\#triaxialellipsoidmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, req\_minor, req\_major, rpolar)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}tr\textgreater{}\textless{}td\textgreater{}58\textless{}/td\textgreater{}\textless{}td\textgreater{}\htmladdnormallink{triaxial\_ellipsoid\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#triaxial\_ellipsoidmodel}\textless{}/td\textgreater{}\textless{}td\textgreater{}(sld, solvent\_sld, req\_minor, req\_major, rpolar, theta, phi, psi)\textless{}/td\textgreater{}\textless{}/tr\textgreater{} \textless{}/table\textgreater{} \textless{}!DOCTYPE html\textgreater{} \textless{}html\textgreater{} \textless{}body\textgreater{} \textless{}p\textgreater{}\textless{}font size="24"\textgreater{}Available SasView sasmodels - Extended parameters description\textless{}/font\textgreater{}\textless{}/p\textgreater{} \textless{}table border=1\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}sasmodels name\textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters \textless{}/td\textgreater{} \textless{}td\textgreater{}Units\textless{}/td\textgreater{} \textless{}td\textgreater{}Range\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{barbell}{http://www.sasview.org/sasview/user/models/model\_functions.html\#barbellmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
-
{ 4, 1, 40, 20, 400 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{barbell\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#barbellmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 4, 1, 40, 20, 400, 60, 60 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Barbell scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}4e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Spherical bell radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylindrical bar radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder bar length\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}In plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Out of plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{bcc}{http://www.sasview.org/sasview/user/models/model\_functions.html\#bccrystalmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 220, 0.06, 40, 4, 1 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{bcc\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#bccrystalmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 220, 0.06, 40, 4, 1, 60, 60, 60 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Nearest neighbour distance\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Paracrystal distortion factor\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Particle radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Particle scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}In plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Out of plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Out of plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{capped\_cylinder}{http://www.sasview.org/sasview/user/models/model\_functions.html\#cappedcylindermodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 4, 1, 20, 20, 400 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{capped\_cylinder\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#cappedcylindermodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 4, 1, 20, 20, 400, 60, 60 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cap radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder length\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}In plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Out of plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{core\_shell\_cylinder}{http://www.sasview.org/sasview/user/models/model\_functions.html\#coreshellcylindermodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 4, 4, 1, 20, 20, 400 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{core\_shell\_cylinder\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#coreshellcylindermodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 4, 4, 1, 20, 20, 400, 60, 60 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder core scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder shell scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder core radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder shell thickness\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder length\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}In plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Out of plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{cylinder}{http://www.sasview.org/sasview/user/models/model\_functions.html\#cylindermodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 4, 1, 20, 400 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{cylinder\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#cylindermodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 4, 1, 20, 400, 60, 60 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}4e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder length\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}In plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Out of plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{dab}{http://www.sasview.org/sasview/user/models/model\_functions.html\#dabmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 50.0 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{dab\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#dabmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 50.0 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}correlation length\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{ellipsoid}{http://www.sasview.org/sasview/user/models/model\_functions.html\#ellipsoidmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 4, 1, 20, 400 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{ellipsoid\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#ellipsoidmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 4, 1, 20, 400, 60, 60 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Ellipsoid scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Polar radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Equatorial radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}In plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Out of plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{fcc}{http://www.sasview.org/sasview/user/models/model\_functions.html\#fccrystalmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 220, 0.06, 40, 4, 1 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{fcc\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#fccrystalmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 220, 0.06, 40, 4, 1, 60, 60, 60 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Nearest neighbour distance\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Paracrystal distortion factor\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Particle radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Particle scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}In plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Out of plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Out of plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{flexible\_cylinder\_ex}{http://www.sasview.org/sasview/user/models/model\_functions.html\#flexiblecylinderexmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 1000.0, 100.0, 20.0, 1.5, 1.0, 6.3 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{flexible\_cylinder\_ex\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#flexiblecylinderexmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 1000.0, 100.0, 20.0, 1.5, 1.0, 6.3 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Length of the flexible cylinder\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Kuhn length of the flexible cylinder\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Radius of the flexible cylinder\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Axis\_ratio (major\_radius/radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{gaussian\_peak}{http://www.sasview.org/sasview/user/models/model\_functions.html\#peakgaussmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 0.05, 0.005 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{gaussian\_peak\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#peakgaussmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 0.05, 0.005 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Peak position\textless{}/td\textgreater{} \textless{}td\textgreater{}1/\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Peak width (standard deviation)\textless{}/td\textgreater{} \textless{}td\textgreater{}1/\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{guinier}{http://www.sasview.org/sasview/user/models/model\_functions.html\#guiniermodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 60.0 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{guinier\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#guiniermodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 60.0 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Radius of Gyration\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{hardsphere}{http://www.sasview.org/sasview/user/models/model\_functions.html\#hardspheremodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 50.0, 0.2 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{hardsphere\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#hardspheremodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 50.0, 0.2 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}effective radius of hard sphere\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}volume fraction of hard spheres\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{}
-
-\begin{verbatim}
-[0, 0.74] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{HayterMSAsq}{http://www.sasview.org/sasview/user/models/model\_functions.html\#HayterMSAsqmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 20.75, 19.0, 0.0192, 318.16, 0.0, 71.08 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{HayterMSAsq\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#HayterMSAsqmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 20.75, 19.0, 0.0192, 318.16, 0.0, 71.08 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}effective radius of hard sphere\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}charge on sphere (in electrons)\textless{}/td\textgreater{} \textless{}td\textgreater{}e\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}volume fraction of spheres\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{}
-
-\begin{verbatim}
-[0, 0.74] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}temperature, in Kelvin, for Debye length calculation\textless{}/td\textgreater{} \textless{}td\textgreater{}K\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}conc of salt, 1:1 electolyte, for Debye length\textless{}/td\textgreater{} \textless{}td\textgreater{}M\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}dielectric constant of solvent (default water), for Debye length\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{hollow\_cylinder}{http://www.sasview.org/sasview/user/models/model\_functions.html\#hollowcylindermodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 30.0, 20.0, 400.0, 6.3, 1 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{hollow\_cylinder\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#hollowcylindermodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 30.0, 20.0, 400.0, 6.3, 1, 90, 0 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Hollow core radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder length\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cylinder sld\textless{}/td\textgreater{} \textless{}td\textgreater{}1/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent sld\textless{}/td\textgreater{} \textless{}td\textgreater{}1/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Theta angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{}
-
-\begin{verbatim}
-[-360, 360] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Phi angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{}
-
-\begin{verbatim}
-[-360, 360] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{lamellar}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 1, 6, 50 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{lamellar\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 1, 6, 50 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Layer scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Bilayer thickness\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{lamellarCaille}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarCaillemodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 30.0, 20, 400.0, 0.1, 6.3, 1.0 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{lamellarCaille\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarCaillemodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 30.0, 20, 400.0, 0.1, 6.3, 1.0 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}sheet thickness\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Number of layers\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}d-spacing of Caille S(Q)\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{}
-
-\begin{verbatim}
-[0.0, inf] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Caille parameter\textless{}/td\textgreater{} \textless{}td\textgreater{}1/\AA{}\textasciicircum{}2\textless{}/td\textgreater{}
-
-\begin{verbatim}
-[0.0, 0.8] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}layer scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{lamellarCailleHG}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarCailleHGmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 10, 2, 30, 40.0, 0.001, 0.4, 2.0, 6 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{lamellarCailleHG\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarCailleHGmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 10, 2, 30, 40.0, 0.001, 0.4, 2.0, 6 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Tail thickness\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}head thickness\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Number of layers\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}d-spacing of Caille S(Q)\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{}
-
-\begin{verbatim}
-[0.0, inf] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Caille parameter\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{}
-
-\begin{verbatim}
-[0.0, 0.8] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Tail scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Head scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{lamellarFFHG}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarFFHGmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 15, 10, 0.4, 3.0, 6 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{lamellarFFHG\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarFFHGmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 15, 10, 0.4, 3.0, 6 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Tail thickness\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}head thickness\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Tail scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Head scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{lamellarPC}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarPCmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 33.0, 20, 250.0, 0.0, 1.0, 6.34 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{lamellarPC\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lamellarPCmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 33.0, 20, 250.0, 0.0, 1.0, 6.34 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}sheet thickness\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Number of layers\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}d-spacing of paracrystal stack\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{}
-
-\begin{verbatim}
-[0.0, inf] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}d-spacing polydispersity\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{}
-
-\begin{verbatim}
-[0.0, inf] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}layer scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{linear\_pearls}{http://www.sasview.org/sasview/user/models/model\_functions.html\#linearpearlsmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 80.0, 350.0, 3.0, 1.0, 6.3 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{linear\_pearls\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#linearpearlsmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 80.0, 350.0, 3.0, 1.0, 6.3 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Radius of the pearls\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Length of the string segment - surface to surface\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Number of the pearls\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}SLD of the pearl spheres\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}SLD of the solvent\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{lorentz}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lorentzmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 50.0 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{lorentz\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#lorentzmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 50.0 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Screening length\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{mass\_fractal}{http://www.sasview.org/sasview/user/models/model\_functions.html\#massfractalmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 10.0, 1.9, 100.0 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{mass\_fractal\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#massfractalmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 10.0, 1.9, 100.0 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Particle radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{}
-
-\begin{verbatim}
-[0.0, inf] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Mass fractal dimension\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{}
-
-\begin{verbatim}
-[1.0, 6.0] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cut-off length\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{}
-
-\begin{verbatim}
-[0.0, inf] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{mass\_surface\_fractal}{http://www.sasview.org/sasview/user/models/model\_functions.html\#masssurfacefractalmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 1.8, 2.3, 86.7, 4000.0 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{mass\_surface\_fractal\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#masssurfacefractalmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 1.8, 2.3, 86.7, 4000.0 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Mass fractal dimension\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{}
-
-\begin{verbatim}
-[1e-16, 6.0] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Surface fractal dimension\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{}
-
-\begin{verbatim}
-[1e-16, 6.0] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Cluster radius of gyration\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{}
-
-\begin{verbatim}
-[0.0, inf] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Primary particle radius of gyration\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{}
-
-\begin{verbatim}
-[0.0, inf] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{parallelepiped}{http://www.sasview.org/sasview/user/models/model\_functions.html\#parallelepipedmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 4, 1, 35, 75, 400 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{parallelepiped\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#parallelepipedmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 4, 1, 35, 75, 400, 60, 60, 60 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parallelepiped scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Shorter side of the parallelepiped\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Second side of the parallelepiped\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Larger side of the parallelepiped\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}In plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Out of plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Rotation angle around its own c axis against q plane\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{pearl\_necklace}{http://www.sasview.org/sasview/user/models/model\_functions.html\#pearlnecklacemodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 80.0, 350.0, 2.5, 3, 1.0, 1.0, 6.3 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{pearl\_necklace\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#pearlnecklacemodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 80.0, 350.0, 2.5, 3, 1.0, 1.0, 6.3 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Mean radius of the chained spheres\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Mean separation of chained particles\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Thickness of the chain linkage\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Mean number of pearls in each necklace\textless{}/td\textgreater{} \textless{}td\textgreater{}none\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Scattering length density of the chained spheres\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Scattering length density of the chain linkage\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Scattering length density of the solvent\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{sphere}{http://www.sasview.org/sasview/user/models/model\_functions.html\#spheremodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 1, 6, 50 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{sphere\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#spheremodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 1, 6, 50 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Layer scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Sphere radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{star\_polymer}{http://www.sasview.org/sasview/user/models/model\_functions.html\#starpolymermodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 100.0, 3 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{star\_polymer\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#starpolymermodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 100.0, 3 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Ensemble radius of gyration squared of an arm\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{}
-
-\begin{verbatim}
-[0.0, inf] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Number of arms in the model\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{}
-
-\begin{verbatim}
-[1.0, 6.0] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{stickyhardsphere}{http://www.sasview.org/sasview/user/models/model\_functions.html\#stickyhardspheremodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 50.0, 0.2, 0.05, 0.2 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{stickyhardsphere\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#stickyhardspheremodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 50.0, 0.2, 0.05, 0.2 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}effective radius of hard sphere\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}volume fraction of hard spheres\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{}
-
-\begin{verbatim}
-[0, 0.74] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}perturbation parameter, epsilon\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{}
-
-\begin{verbatim}
-[0.01, 0.1] |
-\end{verbatim}
-
-\textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}stickiness, tau\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{triaxial\_ellipsoid}{http://www.sasview.org/sasview/user/models/model\_functions.html\#triaxialellipsoidmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 4, 1, 20, 400, 10 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\htmladdnormallink{triaxial\_ellipsoid\_xy}{http://www.sasview.org/sasview/user/models/model\_functions.html\#triaxialellipsoidmodel}\textless{}/td\textgreater{}
-
-\begin{verbatim}
- { 4, 1, 20, 400, 10, 60, 60, 60 } |
-\end{verbatim}
-
-\textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Parameters:\textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Ellipsoid scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Solvent scattering length density\textless{}/td\textgreater{} \textless{}td\textgreater{}1e-6/\AA{}\textasciicircum{}2\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Minor equitorial radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Major equatorial radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Polar radius\textless{}/td\textgreater{} \textless{}td\textgreater{}\AA{}\textless{}/td\textgreater{} \textless{}td\textgreater{}[0, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}In plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Out of plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}Out of plane angle\textless{}/td\textgreater{} \textless{}td\textgreater{}degrees\textless{}/td\textgreater{} \textless{}td\textgreater{}[-inf, inf]\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}td\textgreater{}\ \textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}/table\textgreater{}
-
-\begin{verbatim}
-
-
-\end{verbatim}
-
-\textless{}p\textgreater{}\textless{}font size="24"\textgreater{}Name convention: SasView - sasmodels \textless{}/font\textgreater{}\textless{}/p\textgreater{} \textless{}table border=1\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}SasView name\textless{}/td\textgreater{} \textless{}td\textgreater{}sasmodels name \textless{}/td\textgreater{} \textless{}td\textgreater{}P(Q) \textless{}/td\textgreater{} \textless{}td\textgreater{}S(Q)\textless{}/td\textgreater{} \textless{}td\textgreater{}Multiply\textless{}/td\textgreater{} \textless{}td\textgreater{}Multiplicity\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}BarBell\textless{}/td\textgreater{} \textless{}td\textgreater{}barbell \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}BCCrystal\textless{}/td\textgreater{} \textless{}td\textgreater{}bcc \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}CappedCylinder\textless{}/td\textgreater{} \textless{}td\textgreater{}capped\_cylinder \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}CoreShellCylinder\textless{}/td\textgreater{} \textless{}td\textgreater{}core\_shell\_cylinder \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}Cylinder\textless{}/td\textgreater{} \textless{}td\textgreater{}cylinder \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}DAB\textless{}/td\textgreater{} \textless{}td\textgreater{}dab \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}Ellipsoid\textless{}/td\textgreater{} \textless{}td\textgreater{}ellipsoid \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}FCCrystal\textless{}/td\textgreater{} \textless{}td\textgreater{}fcc \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}FlexCylEllipX\textless{}/td\textgreater{} \textless{}td\textgreater{}flexible\_cylinder\_ex \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}PeakGauss\textless{}/td\textgreater{} \textless{}td\textgreater{}gaussian\_peak \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}Guinier\textless{}/td\textgreater{} \textless{}td\textgreater{}guinier \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}HardsphereStructure\textless{}/td\textgreater{} \textless{}td\textgreater{}hardsphere \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
-\end{verbatim}
-
-\textless{}td\textgreater{} Y \textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}HayterMSAStructure\textless{}/td\textgreater{} \textless{}td\textgreater{}HayterMSAsq \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
-\end{verbatim}
-
-\textless{}td\textgreater{} Y \textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}HollowCylinder\textless{}/td\textgreater{} \textless{}td\textgreater{}hollow\_cylinder \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}Lamellar\textless{}/td\textgreater{} \textless{}td\textgreater{}lamellar \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}LamellarPS\textless{}/td\textgreater{} \textless{}td\textgreater{}lamellarCaille \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}LamellarPSHG\textless{}/td\textgreater{} \textless{}td\textgreater{}lamellarCailleHG \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}LamellarFFHG\textless{}/td\textgreater{} \textless{}td\textgreater{}lamellarFFHG \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}LamellarPCrystal\textless{}/td\textgreater{} \textless{}td\textgreater{}lamellarPC \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}LinearPearls\textless{}/td\textgreater{} \textless{}td\textgreater{}linear\_pearls \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}Lorentz\textless{}/td\textgreater{} \textless{}td\textgreater{}lorentz \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}MassFractal\textless{}/td\textgreater{} \textless{}td\textgreater{}mass\_fractal \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}MassSurfaceFractal\textless{}/td\textgreater{} \textless{}td\textgreater{}mass\_surface\_fractal \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}Parallelepiped\textless{}/td\textgreater{} \textless{}td\textgreater{}parallelepiped \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}PearlNecklace\textless{}/td\textgreater{} \textless{}td\textgreater{}pearl\_necklace \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}Sphere\textless{}/td\textgreater{} \textless{}td\textgreater{}sphere \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}StarPolymer\textless{}/td\textgreater{} \textless{}td\textgreater{}star\_polymer \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}StickyHSStructure\textless{}/td\textgreater{} \textless{}td\textgreater{}stickyhardsphere \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
-\end{verbatim}
-
-\textless{}td\textgreater{} Y \textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}tr\textgreater{} \textless{}td\textgreater{}TriaxialEllipsoid\textless{}/td\textgreater{} \textless{}td\textgreater{}triaxial\_ellipsoid \textless{}/td\textgreater{}
-
-\begin{verbatim}
-- |
- - |
-\end{verbatim}
-
-\textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}td\textgreater{}-\textless{}/td\textgreater{} \textless{}/tr\textgreater{} \textless{}/table\textgreater{} \textless{}/body\textgreater{} \textless{}/html\textgreater{} MDOC\_END
-
-\subsection*{Input parameters}
-Parameters in \textbf{boldface} are required; the others are optional.
-
-\begin{longtable}{p{0.22\textwidth}p{0.12\textwidth}p{0.46\textwidth}p{0.14\textwidth}}
-\toprule
-\textbf{Name} & \textbf{Unit} & \textbf{Description} & \textbf{Default} \\
-\midrule
-\endhead
-model\_index & & Index of the applied sasview model. Recompile instrument for changes to take effect. & 21 \\
-model\_scale & & Global scale factor for scattering kernel. For systems without inter-particle interference, the form factors can be related to the scattering intensity by the particle volume fraction. & 1.0 \\
-model\_pars & & Model parameters are given as a set of comma-separated values enclosed by \{\}, e.g. \{60\} for the model index 21 (the guinier model). Consult the sasview docs for further info. & \{60,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\} \\
-model\_abs & 1/m & Absorption cross section density at 2200 m/s & 0.5 \\
-xwidth & m & horiz. dimension of sample, as a width & 0 \\
-yheight & m & vert . dimension of sample, as a height for cylinder/box & 0 \\
-zdepth & m & depth of sample & 0 \\
-radius & m & Outer radius of sample in (x,z) plane for cylinder/sphere & 0 \\
-target\_x & m & relative focus target position & 0 \\
-target\_y & m & relative focus target position & 0 \\
-target\_z & m & relative focus target position & 6 \\
-target\_index & 1 & Relative index of component to focus at, e.g. next is +1 & 0 \\
-focus\_xw & m & horiz. dimension of a rectangular area & 0 \\
-focus\_yh & m & vert. dimension of a rectangular area & 0 \\
-focus\_aw & deg & horiz. angular dimension of a rectangular area & 0 \\
-focus\_ah & deg & vert. angular dimension of a rectangular area & 0 \\
-\bottomrule
-\end{longtable}
-
-\subsection*{Links}
-\begin{itemize}
- \item Component source code found in file \texttt{SasView\_model.comp}.
- \item http://www.sasview.org/sasview/user/models/model\_functions.html
-\end{itemize}
-\IfFileExists{obsolete/SasView_model_static.tex}{\input{obsolete/SasView_model_static.tex}}{}
\ No newline at end of file
diff --git a/docs/manuals/mcstas/obsolete/Virtual_input.tex b/docs/manuals/mcstas/obsolete/Virtual_input.tex
index a202ffa8ba..2e284a229b 100644
--- a/docs/manuals/mcstas/obsolete/Virtual_input.tex
+++ b/docs/manuals/mcstas/obsolete/Virtual_input.tex
@@ -10,13 +10,15 @@ \subsection*{Identification}
\end{itemize}
\subsection*{Description}
+NOTE: No longer supported - use MCPL\_input instead. Any use exits with an error.
+
This component reads neutron events stored from a file, and sends them into the instrument. It thus replaces a Source component, using a previously computed neutron set. The 'source' file type is an ascii text file with the format listed below. The number of neutron events for the simulation is set to the length of the 'source' file times the repetition parameter 'repeat\_count' (1 by default). It is particularly useful to generate a virtual source at a point that few neutron reach. A long simulation will then only be performed once, to create the 'source' filename. Further simulations are much faster if they start from this low flux position with the 'source' filename.
The input file format is: text column formatted with lines containing 11 values in the order: p x y z vx vy vz t sx sy sz stored into about 83 bytes/n.
\%BUGS We recommend NOT to use parallel execution (MPI) with this component. If you need to, set parameter 'smooth=1'.
-EXAMPLE: To create a 'source' file collecting all neutron states, use: COMPONENT MySourceCreator = Virtual\_output(filename = "MySource.list") at the position where will be the Virtual\_input. Then inactivate the part of the simulation description before (and including) the component MySourceCreator. Put the new instrument source: COMPONENT Source = Virtual\_input(filename="MySource.list") at the same position as 'MySourceCreator'. A Vitess filename may be obtained from the 'Vitess\_output' component or from a Vitess simulation (104 bytes per neutron) and read with Vitess\_input.
+EXAMPLE: To create a 'source' file collecting all neutron states, use: COMPONENT MySourceCreator = Virtual\_output(filename = "MySource.list") at the position where will be the Virtual\_input. Then inactivate the part of the simulation description before (and including) the component MySourceCreator. Put the new instrument source: COMPONENT Source = Virtual\_input(filename="MySource.list") at the same position as 'MySourceCreator'.
\subsection*{Input parameters}
Parameters in \textbf{boldface} are required; the others are optional.
diff --git a/docs/manuals/mcstas/obsolete/Virtual_mcnp_input.tex b/docs/manuals/mcstas/obsolete/Virtual_mcnp_input.tex
deleted file mode 100644
index d4e8794994..0000000000
--- a/docs/manuals/mcstas/obsolete/Virtual_mcnp_input.tex
+++ /dev/null
@@ -1,66 +0,0 @@
-\section{The \texttt{Virtual\_mcnp\_input} McStas Component}
-This component uses a filename of recorded neutrons from the reactor monte carlo
-code MCNP as a source of particles.
-
-\subsection*{Identification}
-\begin{itemize}
- \item \textbf{Author:} \textless{}a href="mailto:hennanec@ensimag.fr"\textgreater{}Chama Hennane\textless{}/a\textgreater{} and E. Farhi
- \item \textbf{Origin:} \textless{}a href="http://www.ill.fr/"\textgreater{}ILL\textless{}/a\textgreater{}
- \item \textbf{Date:} June 28th, 2006
-\end{itemize}
-
-\subsection*{Description}
-This component generates neutron events from a filename created using the MCNP Monte Carlo code for nuclear reactors. It is used to calculate flux exiting from hot or cold neutron sources. Neutron position and velocity is set from the filename. The neutron time is left at zero.
-
-Note that axes orientation may be different between MCNP and McStas. The component has the ability to center and orient the neutron beam to the Z-axis. It also may change the coordinate system from the MCNP frame to the McStas one. The verbose mode is highly recommended as it displays lots of useful informations. To obtain absolute intensity, set 'intensity' and 'nps' parameters. The source total intensity is 1.054e18 for LLB/Saclay (14 MW) and 4.28e18 for ILL/Grenoble (58 MW).
-
-Format of MCNP events are :
-
-position\_X position\_Y position\_Z dir\_X dir\_Y dir\_Z Energy Weight Time
-
-energy is in Mega eV, time in shakes (1e-8 s), positions are in cm and the direction vector is normalized to 1.
-
-\%BUGS We recommend NOT to use parallel execution (MPI) with this component. If you need to, set parameter 'smooth=1'.
-
-EXAMPLE: To generate PTRAC files using MCNP/MCNPX, add at the end of your input file:
-
-\begin{verbatim}
-f1:n 2001 // tally
-\end{verbatim}
-
-(...)
-
-\begin{verbatim}
-ptrac filename = asc
-max = -1000000 // number of neutrons to generate and stop
-\end{verbatim}
-
-write = all event = sur filter = 2001,jsu // surface tally id To create a 'source' from a MCNP simulation event file for the ILL: COMPONENT source = Virtual\_mcnp\_input( filename = "H10p", intensity=4.28e18, nps=11328982, verbose = 1, autocenter="translate rotate rescale")
-
-\subsection*{Input parameters}
-Parameters in \textbf{boldface} are required; the others are optional.
-
-\begin{longtable}{p{0.22\textwidth}p{0.12\textwidth}p{0.46\textwidth}p{0.14\textwidth}}
-\toprule
-\textbf{Name} & \textbf{Unit} & \textbf{Description} & \textbf{Default} \\
-\midrule
-\endhead
-filename & str & Name of the MCNP PTRAC neutron input file. Empty string "" unactivates component & 0 \\
-autocenter & str & String which may contain following keywords. "translate" or "center" to center the beam area AT (0,0,0) "rotate" or "orient" to center the beam velocity along Z "change axes" to change coordinate system definition "rescale" to adapt intensity to abs. units. with factor intensity/nps. Other words are ignored. & 0 \\
-repeat\_count & 1 & Number of times the source must be generated. 0 unactivates the component & 1 \\
-verbose & 0|1 & Displays additional informations if set to 1 & 0 \\
-intensity & n/s & Intensity multiplication factor & 0 \\
-MCNP\_ANALYSE & 1 & Number of neutron events to read for file pre-analysis. Use 0 to analyze them all. & 10000 \\
-surface\_id & 1 & Index of the emitting MCNP surface to use. -1 for all. & -1 \\
-nps & 1 & Number of total events shot by MCNP to generate the PTRAC as indicated at the end of the MCNP 'o' file as 'source particle weight for summary table normalization' or alternatively 'nps = '. & 0 \\
-smooth & 0/1 & Smooth sparsed event files for file repetitions. & 1 \\
-\bottomrule
-\end{longtable}
-
-\subsection*{Links}
-\begin{itemize}
- \item Component source code found in file \texttt{Virtual\_mcnp\_input.comp}.
- \item \htmladdnormallink{MCNP}{http://mcnp-green.lanl.gov/index.html}
- \item MCNP -- A General Monte Carlo N-Particle Transport Code, Version 5, Volume II: User's Guide, p177
-\end{itemize}
-\IfFileExists{obsolete/Virtual_mcnp_input_static.tex}{\input{obsolete/Virtual_mcnp_input_static.tex}}{}
\ No newline at end of file
diff --git a/docs/manuals/mcstas/obsolete/Virtual_mcnp_output.tex b/docs/manuals/mcstas/obsolete/Virtual_mcnp_output.tex
deleted file mode 100644
index b0827179a1..0000000000
--- a/docs/manuals/mcstas/obsolete/Virtual_mcnp_output.tex
+++ /dev/null
@@ -1,41 +0,0 @@
-\section{The \texttt{Virtual\_mcnp\_output} McStas Component}
-Detector-like component that writes neutron state parameters into a
-'virtual source' neutron file with MCNP/PTRAC format.
-
-\subsection*{Identification}
-\begin{itemize}
- \item \textbf{Author:} \textless{}a href="mailto hennanec@ensimag.fr"\textgreater{}Chama Hennane\textless{}/a\textgreater{} and E. Farhi
- \item \textbf{Origin:} \textless{}a href="http://www.ill.fr/"\textgreater{}ILL\textless{}/a\textgreater{}
- \item \textbf{Date:} July 7th, 2006
-\end{itemize}
-
-\subsection*{Description}
-Detector-like component writing neutron state parameters to a virtual source neutron file with MCNP/PTRAC format. The component geometry is the full plane, and saves the neutron state as it exits from the previous component. Format is the one used by MCNP 5 files :
-
-position\_X position\_Y position\_Z dir\_X dir\_Y dir\_Z energy weight time
-
-energy is in Mega eV positions are in cm and the direction vector is normalized to 1.
-
-\%BUGS This component will NOT work with parallel execution (MPI).
-
-EXAMPLE: To create a file collecting all neutron states with MCNP5 format COMPONENT fichier\_sortie = Virtual\_mcnp\_output( filename = "exit\_guide\_result.dat") at the position where will be the Virtual\_mcnp\_input.
-
-\subsection*{Input parameters}
-Parameters in \textbf{boldface} are required; the others are optional.
-
-\begin{longtable}{p{0.22\textwidth}p{0.12\textwidth}p{0.46\textwidth}p{0.14\textwidth}}
-\toprule
-\textbf{Name} & \textbf{Unit} & \textbf{Description} & \textbf{Default} \\
-\midrule
-\endhead
-filename & str & name of the MCNP5 neutron output file, or stdout if left to 0. & 0 \\
-\bottomrule
-\end{longtable}
-
-\subsection*{Links}
-\begin{itemize}
- \item Component source code found in file \texttt{Virtual\_mcnp\_output.comp}.
- \item \htmladdnormallink{MCNP}{http://mcnp-green.lanl.gov/index.html}
- \item MCNP -- A General Monte Carlo N-Particle Transport Code, Version 5, Volume II: User's Guide, p177
-\end{itemize}
-\IfFileExists{obsolete/Virtual_mcnp_output_static.tex}{\input{obsolete/Virtual_mcnp_output_static.tex}}{}
\ No newline at end of file
diff --git a/docs/manuals/mcstas/obsolete/Virtual_mcnp_ss_Guide.tex b/docs/manuals/mcstas/obsolete/Virtual_mcnp_ss_Guide.tex
deleted file mode 100644
index efc8a9fbf4..0000000000
--- a/docs/manuals/mcstas/obsolete/Virtual_mcnp_ss_Guide.tex
+++ /dev/null
@@ -1,56 +0,0 @@
-\section{The \texttt{Virtual\_mcnp\_ss\_Guide} McStas Component}
-Neutron guide initiated using Virtual\_mcnp\_ss\_input.comp, and replacing Virtual\_mcnp\_ss\_output.comp - see examples//Test\_SSR\_SSW\_Guide.instr
-
-\subsection*{Identification}
-\begin{itemize}
- \item \textbf{Author:} Esben klinkby and Peter Willendrup
- \item \textbf{Origin:} Risoe-DTU
- \item \textbf{Date:} Marts 2012
-\end{itemize}
-
-\subsection*{Description}
-Based on Kristian Nielsens Guide.comp Models a rectangular guide tube centered on the Z axis. The entrance lies in the X-Y plane. The component must be initiated after Virtual\_mcnp\_ss\_input.comp, and replaces Virtual\_mcnp\_ss\_output.comp - see examples/Test\_SSR\_SSW\_Guide.instr. The basic idea is, that rather than discarding unreflected (i.e. absorbed) neutrons at the guide mirrors, these neutron states are stored on disk. Thus, after the McStas simulation a MCNP simulation can be performed based on the un-reflected neutrons - intended for shielding studies. (details: we don't deal with actual neutrons, so what is transferred between simulations suites is neutron state parameters: pos,mom,time,weight. The latter is whatever remains after reflection.
-
-For details on the geometry calculation see the description in the McStas reference manual. The reflectivity profile may either use an analytical mode (see Component Manual) or a 2-columns reflectivity free text file with format
-
-\begin{verbatim}
-[q(Angs-1) R(0-1)].
-\end{verbatim}
-
-Example: Virtual\_mcnp\_ss\_Guide(w1=0.1, h1=0.1, w2=0.1, h2=0.1, l=2.0,
-
-\begin{verbatim}
-R0=0.99, Qc=0.021, alpha=6.07, m=2, W=0.003
-\end{verbatim}
-
-\%VALIDATION Upcomming in 2012 based on ESS shielding Validated by: D. Ene \& E. Klinkby
-
-\%BUGS This component does not work with gravitation on. Use component Guide\_gravity then (doesn't work with SSR/SSW unfortunately)
-
-\subsection*{Input parameters}
-Parameters in \textbf{boldface} are required; the others are optional.
-
-\begin{longtable}{p{0.22\textwidth}p{0.12\textwidth}p{0.46\textwidth}p{0.14\textwidth}}
-\toprule
-\textbf{Name} & \textbf{Unit} & \textbf{Description} & \textbf{Default} \\
-\midrule
-\endhead
-reflect & str & Reflectivity file name. Format \textless{}q(\AA{}-1) R(0-1)\textgreater{} & 0 \\
-\textbf{w1} & m & Width at the guide entry & \\
-\textbf{h1} & m & Height at the guide entry & \\
-\textbf{w2} & m & Width at the guide exit & \\
-\textbf{h2} & m & Height at the guide exit & \\
-\textbf{l} & m & length of guide & \\
-R0 & 1 & Low-angle reflectivity & 0.99 \\
-Qc & \AA{}$^{-1}$ & Critical scattering vector & 0.0219 \\
-alpha & \AA{} & Slope of reflectivity & 6.07 \\
-m & 1 & m-value of material. Zero means completely absorbing. & 2 \\
-W & \AA{}$^{-1}$ & Width of supermirror cut-off & 0.003 \\
-\bottomrule
-\end{longtable}
-
-\subsection*{Links}
-\begin{itemize}
- \item Component source code found in file \texttt{Virtual\_mcnp\_ss\_Guide.comp}.
-\end{itemize}
-\IfFileExists{obsolete/Virtual_mcnp_ss_Guide_static.tex}{\input{obsolete/Virtual_mcnp_ss_Guide_static.tex}}{}
\ No newline at end of file
diff --git a/docs/manuals/mcstas/obsolete/Virtual_mcnp_ss_input.tex b/docs/manuals/mcstas/obsolete/Virtual_mcnp_ss_input.tex
deleted file mode 100644
index 11e341891c..0000000000
--- a/docs/manuals/mcstas/obsolete/Virtual_mcnp_ss_input.tex
+++ /dev/null
@@ -1,48 +0,0 @@
-\section{The \texttt{Virtual\_mcnp\_ss\_input} McStas Component}
-This component uses a Source Surface type file of recorded neutrons from the
-reactor monte carlo code MCNP as a source of particles.
-
-\subsection*{Identification}
-\begin{itemize}
- \item \textbf{Author:} \textless{}a href="mailto:esbe@dtu.dk"\textgreater{}Esben Klinkby\textless{}/a\textgreater{} and \textless{}a href="mailto:pkwi@dtu.dk"\textgreater{}Peter Willendrup\textless{}/a\textgreater{}
- \item \textbf{Origin:} \textless{}a href="http://www.risoe.dtu.dk/"\textgreater{}DTU\textless{}/a\textgreater{}
- \item \textbf{Date:} January, 2012
-\end{itemize}
-
-\subsection*{Description}
-This component draws neutron events from a Source Surface file created using the MCNP Monte Carlo code and converts them to make them suitable for a McStas simulation
-
-Note that axes orientation may be different between MCNP and McStas! Note also that the conversion of between McStas and MCNP units and parameters is done automatically by this component - but the user must ensure that geometry description matches between the two Monte Carlo codes.
-
-The verbose mode is highly recommended as it displays lots of useful informations.
-
-This interface uses the MCNP Source Surface Read/Write format (SSW/SSR). Infomation transfer from(to) SSW files proceeds via a set of Fortran modules and subroutines collected in "subs.f" For succesful compilation, it is required that these subroutines are compiled and linked to the instrument file:
-
-mcstas dummy.instr -\textgreater{} generates dummy.c gfortran -c subs.f -\textgreater{} generates subs.f gcc -o runme.out dummy.c subs.o -lm -lgfortran -\textgreater{} generates runme.out
-
-Note that this requires a fortran compiler (here gfortran) and gcc.
-
-\%BUGS None known bugs so far. But surely this will change... Caveat: when writing the header for the output wssa file, the number of histories and tracks are assumed to be that of the input MNCP run. This is generally not the case, due to losses in the McStas simulation step. In case of losses any subsequel MCNP run based on the McStas output, can be confused by inconsistency between header and file content. To resolve, either ensure that NPS is lower than the actual number of events in the McStas output. Or hardcode values of nhis \& ntrk in either subs.f or Virtual\_mcnp\_ss\_output.comp.
-
-EXAMPLE of usage: first a MCNP simulation is run and at a relevant surface, a Source Surface Write card is given (e.g. for MCNP surface \#1, add the line: SSW 1 to the end of the input file. By this a ".w" file is produced, which then serves as input to the McStas simulation. Present version: rename *.w to rssa, and make sure to put it in the dir from which McStas is run
-
-\subsection*{Input parameters}
-Parameters in \textbf{boldface} are required; the others are optional.
-
-\begin{longtable}{p{0.22\textwidth}p{0.12\textwidth}p{0.46\textwidth}p{0.14\textwidth}}
-\toprule
-\textbf{Name} & \textbf{Unit} & \textbf{Description} & \textbf{Default} \\
-\midrule
-\endhead
-file & str & Name of the MCNP SSW neutron input file. Not active: Name assumed to be 'rssa' & "rssa" \\
-verbose & 1 & Toggles debugging info on/off & 1 \\
-\bottomrule
-\end{longtable}
-
-\subsection*{Links}
-\begin{itemize}
- \item Component source code found in file \texttt{Virtual\_mcnp\_ss\_input.comp}.
- \item \htmladdnormallink{MCNP}{http://mcnp-green.lanl.gov/index.html}
- \item MCNP -- A General Monte Carlo N-Particle Transport Code, Version 5, Volume II: User's Guide, p177
-\end{itemize}
-\IfFileExists{obsolete/Virtual_mcnp_ss_input_static.tex}{\input{obsolete/Virtual_mcnp_ss_input_static.tex}}{}
\ No newline at end of file
diff --git a/docs/manuals/mcstas/obsolete/Virtual_mcnp_ss_output.tex b/docs/manuals/mcstas/obsolete/Virtual_mcnp_ss_output.tex
deleted file mode 100644
index c3b87ab81a..0000000000
--- a/docs/manuals/mcstas/obsolete/Virtual_mcnp_ss_output.tex
+++ /dev/null
@@ -1,48 +0,0 @@
-\section{The \texttt{Virtual\_mcnp\_ss\_output} McStas Component}
-This component uses a Source Surface type file of recorded neutrons from the
-reactor monte carlo code MCNP as a source of particles.
-
-\subsection*{Identification}
-\begin{itemize}
- \item \textbf{Author:} \textless{}a href="mailto:esbe@dtu.dk"\textgreater{}Esben Klinkby\textless{}/a\textgreater{} and \textless{}a href="mailto:pkwi@dtu.dk"\textgreater{}Peter Willendrup\textless{}/a\textgreater{}
- \item \textbf{Origin:} \textless{}a href="http://www.risoe.dtu.dk/"\textgreater{}DTU\textless{}/a\textgreater{}
- \item \textbf{Date:} January, 2012
-\end{itemize}
-
-\subsection*{Description}
-This component draws neutron events from a Source Surface file created using the MCNP Monte Carlo code and converts them to make them suitable for a McStas simulation
-
-Note that axes orientation may be different between MCNP and McStas! Note also that the conversion of between McStas and MCNP units and parameters is done automatically by this component - but the user must ensure that geometry description matches between the two Monte Carlo codes.
-
-The verbose mode is highly recommended as it displays lots of useful informations.
-
-This interface uses the MCNP Source Surface Read/Write format (SSW/SSR). Infomation transfer from(to) SSW files proceeds via a set of Fortran modules and subroutines collected in "subs.f" For succesful compilation, it is required that these subroutines are compiled and linked to the instrument file:
-
-mcstas dummy.instr -\textgreater{} generates dummy.c gfortran -c subs.f -\textgreater{} generates subs.f gcc -o runme.out dummy.c subs.o -lm -lgfortran -\textgreater{} generates runme.out
-
-Note that this requires a fortran compiler (here gfortran) and gcc.
-
-\%BUGS None known bugs so far. But surely this will change... Caveat: when writing the header for the output wssa file, the number of histories and tracks are assumed to be that of the input MNCP run. This is generally not the case, due to losses in the McStas simulation step. In case of losses any subsequel MCNP run based on the McStas output, can be confused by inconsistency between header and file content. To resolve, either ensure that NPS is lower than the actual number of events in the McStas output. Or hardcode values of nhis \& ntrk in either subs.f or Virtual\_mcnp\_ss\_output.comp.
-
-EXAMPLE of usage: first a MCNP simulation is run and at a relevant surface, a Source Surface Write card is given (e.g. for MCNP surface \#1, add the line: SSW 1 to the end of the input file. By this a ".w" file is produced, which then serves as input to the McStas simulation. Present version: rename *.w to rssa, and make sure to put it in the dir from which McStas is run (or use symbolic links)
-
-\subsection*{Input parameters}
-Parameters in \textbf{boldface} are required; the others are optional.
-
-\begin{longtable}{p{0.22\textwidth}p{0.12\textwidth}p{0.46\textwidth}p{0.14\textwidth}}
-\toprule
-\textbf{Name} & \textbf{Unit} & \textbf{Description} & \textbf{Default} \\
-\midrule
-\endhead
-file & str & Name of the MCNP SSW neutron input file. Not active: Name assumed to be 'rssa' & "rssa" \\
-verbose & 1 & Toggles debugging info on/off & 1 \\
-\bottomrule
-\end{longtable}
-
-\subsection*{Links}
-\begin{itemize}
- \item Component source code found in file \texttt{Virtual\_mcnp\_ss\_output.comp}.
- \item \htmladdnormallink{MCNP}{http://mcnp-green.lanl.gov/index.html}
- \item MCNP -- A General Monte Carlo N-Particle Transport Code, Version 5, Volume II: User's Guide, p177
-\end{itemize}
-\IfFileExists{obsolete/Virtual_mcnp_ss_output_static.tex}{\input{obsolete/Virtual_mcnp_ss_output_static.tex}}{}
\ No newline at end of file
diff --git a/docs/manuals/mcstas/obsolete/Virtual_output.tex b/docs/manuals/mcstas/obsolete/Virtual_output.tex
index 87930990de..7af7bd13f8 100644
--- a/docs/manuals/mcstas/obsolete/Virtual_output.tex
+++ b/docs/manuals/mcstas/obsolete/Virtual_output.tex
@@ -10,6 +10,8 @@ \subsection*{Identification}
\end{itemize}
\subsection*{Description}
+NOTE: No longer supported - use MCPL\_output instead. Any use exits with an error.
+
Detector-like component writing neutron state parameters to a virtual source neutron filename. The component geometry is the full plane, and saves the neutron state as it exits from the previous component.
It is particularly useful to generate a virtual source at a point that few neutron reach. A long simulation will then only be performed once, to create the upstream 'source' file. Further simulations are much faster if they start from this low flux position with the 'source' filename.
@@ -18,8 +20,6 @@ \subsection*{Description}
Beware the size of generated files ! When saving all events (bufsize=0) the required memory has been optimized and remains very small. On the other hand using large bufsize values (not recommended) requires huge storage memory. Moreover, using the 'bufsize' parameter will often lead to wrong intensities. Both methods will generate huge files.
-A Vitess file may be obtained from the 'Vitess\_output' component or from a Vitess simulation (104 bytes per neutron) and read with Vitess\_input.
-
Example: Virtual\_output(filename="MySource.dat") will generate a 9 Mo text file for 1e5 events stored.
\%BUGS Using bufsize non-zero may generate a virtual source with wrong intensity. This component works with MPI (parallel execution mode).
diff --git a/docs/manuals/mcstas/obsolete/Virtual_tripoli4_input.tex b/docs/manuals/mcstas/obsolete/Virtual_tripoli4_input.tex
deleted file mode 100644
index 93c54a9195..0000000000
--- a/docs/manuals/mcstas/obsolete/Virtual_tripoli4_input.tex
+++ /dev/null
@@ -1,55 +0,0 @@
-\section{The \texttt{Virtual\_tripoli4\_input} McStas Component}
-This component reads a file of recorded neutrons from the reactor Monte Carlo
-code TRIPOLI4.4 as a source of particles.
-
-\subsection*{Identification}
-\begin{itemize}
- \item \textbf{Author:} \textless{}a href="mailto:guillaume.campioni@cea.fr"\textgreater{}Guillaume Campioni\textless{}/a\textgreater{}
- \item \textbf{Origin:} \textless{}a href="http://www.serma.cea.fr/"\textgreater{}SERMA\textless{}/a\textgreater{}
- \item \textbf{Date:} Sep 28th, 2001
-\end{itemize}
-
-\subsection*{Description}
-This component generates neutron events from a file created using the TRIPOLI4 Monte Carlo code for nuclear reactors (as MCNP). It is used to calculate flux exiting from hot or cold neutron sources. Neutron position and velocity is set from the file. The neutron time is left at zero. Storage files from TRIPOLI4.4 contain several batches of particules, all of them having the same statictical weight.
-
-Note that axes orientation may be different between TRIPOLI4.4 and McStas. The component has the ability to center and orient the neutron beam to the Z-axis. It also changes the coordinate system from the Tripoli frame to the McStas one. The verbose mode is highly recommended as it displays lots of useful informations, including the absolute intensity normalisation factor. All neutron fluxes in the instrument should be multiplied by this factor. Such a renormalization is done when 'autocenter' contains the word 'rescale'. The source total intensity is 1.054e18 for LLB/Saclay (14 MW) and 4.28e18 for ILL/Grenoble (58 MW).
-
-Format of TRIPOLI4.4 event files is :
-
-NEUTRON energy position\_X position\_Y position\_Z dir\_X dir\_Y dir\_Z weight
-
-energy is in Mega eV positions are in cm and the direction vector is normalized to 1.
-
-\%BUGS We recommend NOT to use parallel execution (MPI) with this component. If you need to, set parameter 'smooth=1'.
-
-EXAMPLE: To create a 'source' from a Tripoli4 simulation event file for the ILL: COMPONENT source = Virtual\_tripoli4\_input( filename = "ILL\_SFH.dat", intensity=4.28e18, verbose = 1, autocenter="translate rotate rescale")
-
-\subsection*{Input parameters}
-Parameters in \textbf{boldface} are required; the others are optional.
-
-\begin{longtable}{p{0.22\textwidth}p{0.12\textwidth}p{0.46\textwidth}p{0.14\textwidth}}
-\toprule
-\textbf{Name} & \textbf{Unit} & \textbf{Description} & \textbf{Default} \\
-\midrule
-\endhead
-filename & str & Name of the Tripoli4.4 neutron input file. Empty string "" unactivates component & 0 \\
-autocenter & str & String which may contain following keywords. "translate" or "center" to center the beam area AT (0,0,0) "rotate" or "orient" to center the beam velocity along Z "rescale" to adapt intensity to abs. units. Other words are ignored. & 0 \\
-repeat\_count & 1 & Number of times the source must be generated. 0 unactivates the component & 1 \\
-verbose & 0|1 & Displays additional informations if set to 1 & 0 \\
-intensity & n/s & Initial total Source integrated intensity & 1 \\
-T4\_ANALYSE & 1 & Number of neutron events to read for file pre-analysis. Use 0 to analyze them all. & 10000 \\
-radius & m & In the case the Tripoli4 batch file is a point, you may specify a disk emission area for the source. & 0 \\
-T4\_ANALYSE\_EMIN & meV & Minimal energy to use for file pre-analysis & 0 \\
-T4\_ANALYSE\_EMAX & meV & Maximal energy to use for file pre-analysis & 0 \\
-smooth & 0/1 & Smooth sparsed event files for file repetitions. & 1 \\
-\bottomrule
-\end{longtable}
-
-\subsection*{Links}
-\begin{itemize}
- \item Component source code found in file \texttt{Virtual\_tripoli4\_input.comp}.
- \item \htmladdnormallink{Tripoli}{http://www.nea.fr/html/dbprog/tripoli-abs.html}
- \item Virtual\_tripoli4\_output
- \item CAMPIONI Guillaume, Etude et Modelisation des Sources Froides de Neutrons, These de Doctorat, CEA Saclay/UJF (2004)
-\end{itemize}
-\IfFileExists{obsolete/Virtual_tripoli4_input_static.tex}{\input{obsolete/Virtual_tripoli4_input_static.tex}}{}
\ No newline at end of file
diff --git a/docs/manuals/mcstas/obsolete/Virtual_tripoli4_output.tex b/docs/manuals/mcstas/obsolete/Virtual_tripoli4_output.tex
deleted file mode 100644
index 8070c85eef..0000000000
--- a/docs/manuals/mcstas/obsolete/Virtual_tripoli4_output.tex
+++ /dev/null
@@ -1,43 +0,0 @@
-\section{The \texttt{Virtual\_tripoli4\_output} McStas Component}
-Detector-like component that writes neutron state parameters into a
-'virtual source' neutron file when neutrons come from the source :
-Virtual\_tripoli4\_input.comp
-
-\subsection*{Identification}
-\begin{itemize}
- \item \textbf{Author:} \textless{}a href="mailtoguillaume.campioni@cea.fr"\textgreater{}Guillaume Campioni\textless{}/a\textgreater{}
- \item \textbf{Origin:} \textless{}a href="http://www.cea-llb.fr"\textgreater{}LLB\textless{}/a\textgreater{}
- \item \textbf{Date:} Sep 28th, 2001
-\end{itemize}
-
-\subsection*{Description}
-Detector-like component writing neutron state parameters to a virtual source neutron file when neutron are coming from a Virtual\_tripoli4\_input.comp. The component geometry is the full plane, and saves the neutron state as it exits from the previous component. Format is the one used by TRIPOLI4.4 stock files :
-
-NEUTRON energy position\_X position\_Y position\_Z dir\_X dir\_Y dir\_Z weight
-
-energy is in [Mega eV] positions are in [cm] and the direction vector is normalized to 1.
-
-\%BUGS This component will NOT work with parallel execution (MPI/GPU).
-
-EXAMPLE: To create a file collecting all neutron states with TRIPOLI4 format COMPONENT T4output = Virtual\_tripoli4\_output( filename = "exit\_guide\_result.dat", batch = 1 ) at the position where will be the Virtual\_tripoli4\_input when reading the file.
-
-\subsection*{Input parameters}
-Parameters in \textbf{boldface} are required; the others are optional.
-
-\begin{longtable}{p{0.22\textwidth}p{0.12\textwidth}p{0.46\textwidth}p{0.14\textwidth}}
-\toprule
-\textbf{Name} & \textbf{Unit} & \textbf{Description} & \textbf{Default} \\
-\midrule
-\endhead
-filename & str & Name of the Tripoli4 neutron output file, or stdout if left to 0. & 0 \\
-batch & 1 & Index of the Tripoli batch to generate, when no Tripoli4\_input component is available in instrument. & 1 \\
-\bottomrule
-\end{longtable}
-
-\subsection*{Links}
-\begin{itemize}
- \item Component source code found in file \texttt{Virtual\_tripoli4\_output.comp}.
- \item \htmladdnormallink{Tripoli}{http://www.nea.fr/html/dbprog/tripoli-abs.html}
- \item Virtual\_tripoli4\_input
-\end{itemize}
-\IfFileExists{obsolete/Virtual_tripoli4_output_static.tex}{\input{obsolete/Virtual_tripoli4_output_static.tex}}{}
\ No newline at end of file
diff --git a/docs/manuals/mcstas/obsolete/Vitess_input.tex b/docs/manuals/mcstas/obsolete/Vitess_input.tex
deleted file mode 100644
index e2873175d1..0000000000
--- a/docs/manuals/mcstas/obsolete/Vitess_input.tex
+++ /dev/null
@@ -1,36 +0,0 @@
-\section{The \texttt{Vitess\_input} McStas Component}
-Read neutron state parameters from VITESS neutron filename.
-
-\subsection*{Identification}
-\begin{itemize}
- \item \textbf{Author:} Kristian Nielsen
- \item \textbf{Origin:} Risoe/ILL
- \item \textbf{Date:} June 6, 2000
-\end{itemize}
-
-\subsection*{Description}
-Source-like component reading neutron state parameters from a VITESS neutron filename. Used to interface McStas components or simulations into VITESS. Each neutron is 104 bytes.
-
-Example: Vitess\_input(filename="MySource.vit", bufsize = 10000, repeat\_count = 2)
-
-\%BUGS We recommend NOT to use parallel execution (MPI) with this component.
-
-\subsection*{Input parameters}
-Parameters in \textbf{boldface} are required; the others are optional.
-
-\begin{longtable}{p{0.22\textwidth}p{0.12\textwidth}p{0.46\textwidth}p{0.14\textwidth}}
-\toprule
-\textbf{Name} & \textbf{Unit} & \textbf{Description} & \textbf{Default} \\
-\midrule
-\endhead
-filename & string & Filename of neutron file to read. Default (NULL) is standard input. Empty string "" unactivates component & 0 \\
-bufsize & records & Size of neutron input buffer & 10000 \\
-repeat\_count & 1 & Number of times to repeat each neutron read & 1 \\
-\bottomrule
-\end{longtable}
-
-\subsection*{Links}
-\begin{itemize}
- \item Component source code found in file \texttt{Vitess\_input.comp}.
-\end{itemize}
-\IfFileExists{obsolete/Vitess_input_static.tex}{\input{obsolete/Vitess_input_static.tex}}{}
\ No newline at end of file
diff --git a/docs/manuals/mcstas/obsolete/Vitess_output.tex b/docs/manuals/mcstas/obsolete/Vitess_output.tex
deleted file mode 100644
index 903daf3d60..0000000000
--- a/docs/manuals/mcstas/obsolete/Vitess_output.tex
+++ /dev/null
@@ -1,38 +0,0 @@
-\section{The \texttt{Vitess\_output} McStas Component}
-Write neutron state parameters to VITESS neutron filename.
-
-\subsection*{Identification}
-\begin{itemize}
- \item \textbf{Author:} Kristian Nielsen
- \item \textbf{Origin:} Risoe/ILL
- \item \textbf{Date:} June 6, 2000
-\end{itemize}
-
-\subsection*{Description}
-Detector-like component writing neutron state parameters to a VITESS neutron filename. Used to interface McStas components or simulations into VITESS. Each neutron is 104 bytes.
-
-Note that when standard output is used, as is the default, no monitors or other components that produce terminal output must be used, or the neutron output from this component will become corrupted.
-
-Example: Vitess\_output(filename="MySource.vit", bufsize = 10000, progress = 1)
-
-\%BUGS This component will NOT work with parallel execution (MPI).
-
-\subsection*{Input parameters}
-Parameters in \textbf{boldface} are required; the others are optional.
-
-\begin{longtable}{p{0.22\textwidth}p{0.12\textwidth}p{0.46\textwidth}p{0.14\textwidth}}
-\toprule
-\textbf{Name} & \textbf{Unit} & \textbf{Description} & \textbf{Default} \\
-\midrule
-\endhead
-filename & string & Filename of neutron file to write. Default is standard output & 0 \\
-bufsize & records & Size of neutron output buffer & 10000 \\
-progress & flag & If not zero, output dots as progress indicator & 0 \\
-\bottomrule
-\end{longtable}
-
-\subsection*{Links}
-\begin{itemize}
- \item Component source code found in file \texttt{Vitess\_output.comp}.
-\end{itemize}
-\IfFileExists{obsolete/Vitess_output_static.tex}{\input{obsolete/Vitess_output_static.tex}}{}
\ No newline at end of file
diff --git a/docs/manuals/mcstas/obsolete/obsolete.tex b/docs/manuals/mcstas/obsolete/obsolete.tex
index fd4a6109af..0fc41b8dc9 100644
--- a/docs/manuals/mcstas/obsolete/obsolete.tex
+++ b/docs/manuals/mcstas/obsolete/obsolete.tex
@@ -15,25 +15,13 @@ \chapter{Obsolete components}
\begin{itemize}
\item \texttt{V\_sample} -- superseded by the more general
\texttt{Incoherent} sample component (see the Samples chapter).
-\item \texttt{Virtual\_input}, \texttt{Virtual\_output},
- \texttt{Virtual\_mcnp\_input}, \texttt{Virtual\_mcnp\_output},
- \texttt{Virtual\_mcnp\_ss\_input}, \texttt{Virtual\_mcnp\_ss\_output},
- \texttt{Virtual\_mcnp\_ss\_Guide}, \texttt{Virtual\_tripoli4\_input},
- \texttt{Virtual\_tripoli4\_output}, \texttt{Vitess\_input},
- \texttt{Vitess\_output} -- code-specific neutron event file readers/writers,
+\item \texttt{Virtual\_input}, \texttt{Virtual\_output} -- \MCS\ event file reader/writer,
superseded by \texttt{MCPL\_input}/\texttt{MCPL\_output} (see the Misc
- chapter), which use the portable, multi-code MCPL event format instead of
- a McStas/MCNP/Tripoli4/Vitess-specific one. See the User Manual, section
- on choosing an output data file format.
+ chapter). No longer supported: both stop with an error.
\item \texttt{ESS\_moderator\_short} -- an early, simplified ESS moderator
model, superseded by \texttt{ESS\_butterfly} (see the Sources chapter).
\item \texttt{ESS\_moderator} -- the 2014--2015 ESS moderator model,
superseded by \texttt{ESS\_butterfly} (see the Sources chapter).
-\item \texttt{Beam\_spy} -- a diagnostic/debugging component superseded by
- more general monitor components (e.g. \texttt{Monitor\_nD}).
-\item \texttt{SasView\_model} -- the generic interface to SasView's
- scattering kernels, superseded by the individual \texttt{SasView\_*}
- components of the \texttt{sasmodels} category (chapter~\ref{c:sasmodels}).
\item \texttt{Guide\_anyshape\_r} -- merged into \texttt{Guide\_anyshape}
(see the Optics chapter): per-face m, alpha, W values given in the OFF/PLY
file are used with \texttt{Guide\_anyshape(file\_coatings=1)}.
@@ -47,18 +35,7 @@ \chapter{Obsolete components}
\input{obsolete/V_sample}
\input{obsolete/Virtual_input}
\input{obsolete/Virtual_output}
-\input{obsolete/Virtual_mcnp_input}
-\input{obsolete/Virtual_mcnp_output}
-\input{obsolete/Virtual_mcnp_ss_input}
-\input{obsolete/Virtual_mcnp_ss_output}
-\input{obsolete/Virtual_mcnp_ss_Guide}
-\input{obsolete/Virtual_tripoli4_input}
-\input{obsolete/Virtual_tripoli4_output}
-\input{obsolete/Vitess_input}
-\input{obsolete/Vitess_output}
\input{obsolete/ESS_moderator_short}
\input{obsolete/ESS_moderator}
-\input{obsolete/Beam_spy}
-\input{obsolete/SasView_model}
\input{obsolete/Guide_anyshape_r}
\input{obsolete/MCPL_input_once}
diff --git a/docs/manuals/mcstas/optics/FermiChopper.tex b/docs/manuals/mcstas/optics/FermiChopper.tex
index d196015da6..1667e24e36 100644
--- a/docs/manuals/mcstas/optics/FermiChopper.tex
+++ b/docs/manuals/mcstas/optics/FermiChopper.tex
@@ -53,7 +53,5 @@ \subsection*{Input parameters}
\subsection*{Links}
\begin{itemize}
\item Component source code found in file \texttt{FermiChopper.comp}.
- \item \htmladdnormallink{Vitess\_ChopperFermi}{Vitess\_ChopperFermi.html} component by
- \item G. Zsigmond, imported from Vitess by K. Lieutenant.
\end{itemize}
\IfFileExists{optics/FermiChopper_static.tex}{\input{optics/FermiChopper_static.tex}}{}
\ No newline at end of file
diff --git a/docs/manuals/mcstas/optics/FermiChopper_static.tex b/docs/manuals/mcstas/optics/FermiChopper_static.tex
index 71633234aa..f2c48aaca8 100644
--- a/docs/manuals/mcstas/optics/FermiChopper_static.tex
+++ b/docs/manuals/mcstas/optics/FermiChopper_static.tex
@@ -29,7 +29,7 @@ \subsubsection{The chopper geometry and parameters}
The curvature of the slit channels is specified with the \textit{curvature} parameter. Positive sign indicates that the deviation 'bump' due to curvature is in the $x'$ positive side, and the center of curvature is in the $x'$ negative side. The optimal radius of curvature $R$ is related to frequency $\nu$ and neutron velocity $v$ with: $v=4 \pi R \nu$.
-The component was validated extensively by K.\ Lieutenant. As an alternative, one may use the \textbf{Vitess\_ChopperFermi} component (eventhough slower and without super-mirror support) or the \textbf{FermiChopper\_ILL} contributed component. The Guide\_gravity component has also a rotating mode, using an approximation of a Fermi Chopper.
+The component was validated extensively by K.\ Lieutenant. As an alternative, one may use the \textbf{FermiChopper\_ILL} contributed component. The Guide\_gravity component has also a rotating mode, using an approximation of a Fermi Chopper.
\begin{table}
\begin{center}
diff --git a/docs/manuals/mcstas/optics/Pol_bender.tex b/docs/manuals/mcstas/optics/Pol_bender.tex
index 9faecd755b..5507bafd84 100644
--- a/docs/manuals/mcstas/optics/Pol_bender.tex
+++ b/docs/manuals/mcstas/optics/Pol_bender.tex
@@ -21,7 +21,7 @@ \subsection*{Description}
\textless{}------\textgreater{} xwidth/nslit (nslit=3) \textless{}\textgreater{} d
-The reflection functions and parameters defaults as follows: Bot defaults to Top, Left defaults to Top, Right defaults to left. Down defaults to down and up defaults to up for all functions and Top(Up and Down) defaults to StdReflecFunc and \{0.99,0.0219,6.07,2.0,0.003\} which stands for \{R0, Qc, alpha, m, W\}.
+Each mirror and spin state uses StdReflecFunc with its own parameter vector \{R0, Qc, alpha, m, W\}, unless a reflectivity file is given. All parameter vectors default to \{0.99,0.0219,6.07,2.0,0.003\}.
Example: Pol\_bender(xwidth = 0.08, yheight = 0.08, length = 1.0, radius= 10.0, nslit=5, d=0.0, endFlat=0, drawOption=2,
@@ -69,6 +69,7 @@ \subsection*{Input parameters}
rLeftDownData & 1 & Reflectivity file for left mirror, spin down & "" \\
rRightUpData & 1 & Reflectivity file for right mirror, spin up & "" \\
rRightDownData & 1 & Reflectivity file for right mirror, spin down & "" \\
+drawOption & 1 & 1: fine(all slits/90 points per arc), 2: normal (max 20/40), 3: rough (max 5/10) & 1 \\
\bottomrule
\end{longtable}
diff --git a/docs/manuals/mcstas/optics/Vitess_ChopperFermi.tex b/docs/manuals/mcstas/optics/Vitess_ChopperFermi.tex
deleted file mode 100644
index d282f633bc..0000000000
--- a/docs/manuals/mcstas/optics/Vitess_ChopperFermi.tex
+++ /dev/null
@@ -1,79 +0,0 @@
-\section{The \texttt{Vitess\_ChopperFermi} McStas Component}
-Fermi chopper with absorbing walls using the VITESS module 'chopper\_fermi'
-
-\subsection*{Identification}
-\begin{itemize}
- \item \textbf{Author:} Geza Zsigmond
- \item \textbf{Origin:} VITESS module 'chopper\_fermi'
- \item \textbf{Date:} Sep 2004
-\end{itemize}
-
-\subsection*{Description}
-This component simulates a Fermi chopper with absorbing walls. The rotation axis is vertical (y-axis), i.e. the path length through the channels is given by the length 'depth' along the z-axis. The shape of the channels can be straight, curved with circular, or curved with ideal (i.e. close to a parabolic) shape. This is determined by the parameter 'GeomOption'.
-
-Geometry for straight and circular channels: The geometry of the chopper consists of a rectangular shaped object with a channel system. In transmission position, there are 'Nchannels' slits along the x-axis, separated by absorbing walls of thickness 'wallwidth' giving a total width 'width'. The rectangular channel system is surrounded by a so-called shadowing cylinder (cf component manual).
-
-Geometry for parabolic channels: In this case, the Fermi chopper is supposed to be a full cylinder, i.e. the central channels are longer than those on the edges (cf. figure in the component manual). The other features are the same as for the other options.
-
-Apart from the frequency of rotation, the phase of the chopper at t=0 has to be given; phase = 0 means transmission orientation.
-
-The option 'zerotime' may be used to reset the time at the chopper position. The consequence is that only 1 pulse is generated instead of several.
-
-NOTE: This component must NOT be located at the same position as the previous one. This also stands for monitors and Arms. A non zero distance must be defined.
-
-Examples: straight Fermi chopper, 18000 rpm, 20 channels a 0.9 mm separated by 0.1 mm walls, 16 mm channel length, minimal shadowing cylinder, phased to be open at 1 ms, generation of only 1 pulse, normal precision (for short wavelength neutrons) Vitess\_ChopperFermi(GeomOption=0, zerotime=1, Nchannels=20, Ngates=4,
-
-\begin{verbatim}
-freq=300.0, height=0.06, width=0.0201,
-depth=0.016, r_curv=0.0, diameter=0.025691, Phase=-108.0,
-\end{verbatim}
-
-wallwidth=0.0001, sGeomFileName="FC\_geom\_str.dat")
-
-Fermi chopper with circular channels, 12000 rpm, optimized for 6 \AA{}, several pulses, highest accuracy (because of long wavelength neutrons used), rest as above
-
-\begin{verbatim}
-Vitess_ChopperFermi(GeomOption=2, zerotime=0, Nchannels=20, Ngates=8,
-freq=200.0, height=0.06, width=0.0201,
-depth=0.016, r_curv=0.2623, diameter=0.025691, Phase=-72.0,
-\end{verbatim}
-
-wallwidth=0.0001, sGeomFileName="FC\_geom\_circ.dat")
-
-\%VALIDATION Apr 2005: extensive external test, most problems solved (cf. 'Bugs' and source header) Validated by: K. Lieutenant
-
-limitations: slow (10 times slower than FermiChopper), especially for a high number of channels
-
-\%BUGS reduction of transmission by a large shadowing cylinder underestimated
-
-\subsection*{Input parameters}
-Parameters in \textbf{boldface} are required; the others are optional.
-
-\begin{longtable}{p{0.22\textwidth}p{0.12\textwidth}p{0.46\textwidth}p{0.14\textwidth}}
-\toprule
-\textbf{Name} & \textbf{Unit} & \textbf{Description} & \textbf{Default} \\
-\midrule
-\endhead
-sGeomFileName & str & name of output file for geometry information & 0 \\
-GeomOption & 1 & option: 0:straight 1:parabolic 2:circular & 0 \\
-zerotime & 1 & option: 1:'set time to zero' 0: 'do not' & 0 \\
-Nchannels & 1 & number of channels of the Fermi chopper & 20 \\
-Ngates & 1 & number of gates defining the channel: 4=default, 6 or 8 for long wavelengths & 4 \\
-freq & Hz & number of rotations per second & 300.0 \\
-height & m & height of the Fermi chopper & 0.05 \\
-width & m & total width of the Fermi chopper & 0.04 \\
-depth & m & channel length of the Fermi chopper & 0.03 \\
-r\_curv & m & radius of curvature of the curved Fermi chopper & 0.5 \\
-diameter & m & diameter of the shadowing cylinder & 0.071 \\
-Phase & deg & dephasing angle at zero time & 0.0 \\
-wallwidth & m & thickness of walls separating the channels & 0.0002 \\
-\bottomrule
-\end{longtable}
-
-\subsection*{Links}
-\begin{itemize}
- \item Component source code found in file \texttt{Vitess\_ChopperFermi.comp}.
- \item \htmladdnormallink{straight VITESS Fermi chopper}{http://www.hmi.de/projects/ess/vitess/DOC/chopper\_fermi\_str.html}
- \item \htmladdnormallink{curved VITESS Fermi chopper}{http://www.hmi.de/projects/ess/vitess/DOC/chopper\_fermi\_cur.html}
-\end{itemize}
-\IfFileExists{optics/Vitess_ChopperFermi_static.tex}{\input{optics/Vitess_ChopperFermi_static.tex}}{}
\ No newline at end of file
diff --git a/docs/manuals/mcstas/optics/Vitess_ChopperFermi_static.tex b/docs/manuals/mcstas/optics/Vitess_ChopperFermi_static.tex
deleted file mode 100644
index bc90691dcb..0000000000
--- a/docs/manuals/mcstas/optics/Vitess_ChopperFermi_static.tex
+++ /dev/null
@@ -1,98 +0,0 @@
-% Emacs settings: -*-mode: latex; TeX-master: "manual.tex"; -*-
-
-\subsection*{The Fermi Chopper from Vitess}
-\label{s:vit_fc}
-\index{Optics!Fermi Chopper}
-
-%\component{Vitess\_ChopperFermi}{Geza Zsigmond}{GeomOption, $N_\textrm{chan}$, $f$, $h$, $w_\textrm{tot}$, $l$, $r_\textrm{curv}$, $d$, $\phi$, $w_\textrm{wall}$, GeomFile}{zerotime, $N_\textrm{gates}$}{validated}
-%\mcdoccomp{optics/Vitess_ChopperFermi.parms}
-
-
-The component \textbf{Vitess\_ChopperFermi} simulates a Fermi chopper with absorbing walls.
-The shape of the channels can be straight, curved with circular, or curved with ideal
-(i.e. close to a parabolic) shape.
-This is determined by the parameter 'GeomOption'. In the option 'straight Fermi
-chopper', the very fast neutrons are transmitted with only a time modulation and lower
-speed neutrons are modulated both in time of flight and wavelength.
-If the channels are curved, the highest transmission occurs for a wavelength
-
-\begin{equation}
-\lambda_\textrm{opt} = \frac{3956 \textrm{[m\AA/s]}}{2 \omega r_\textrm{curv}}
-\end{equation}
-
-with
-
-\begin{equation}
-\omega = 2 \pi f
-\end{equation}
-
-The optimal shape is calculated in an exact way and is close to parabolic; in this
-case, transmission is as high for the optimal wavelength as in the case of a straight
-Fermi chopper for the limit $\lambda \rightarrow 0$.
-In the more realistic case of circular shapes channels, the transmission is slightly
-lower. In general, neutrons are transmitted through a curved Fermi chopper with a time
-AND wavelength modulation .
-
-The rotation axis is vertical (y-axis), i.e. the path length through the channels is
-given by the length $l$ along the z-axis. The inital orientation is given by the phase
-$\phi$ of the chopper - $\phi$ = 0 means transmission orientation.
-
-Geometry for \textbf{straight} and \textbf{circular} channels:
-The geometry of the chopper consists of a rectangular shaped object with a channel
-system. In transmission position, there are $N_\textrm{gates}$ slits of width $w_\textrm{slit}$
-each along the x-axis, separated by absorbing walls of thickness $w_\textrm{wall}$
-(see figure~\ref{f:vit_fc1}). The total width $w_\textrm{tot}$ is given by
-
-\begin{equation}
-w_\textrm{tot} = N_\textrm{gates} w_\textrm{slit} + (N_\textrm{gates}+1) w_\textrm{wall}
-\end{equation}
-
-The rectangular channel system is surrounded by a so-called shadowing cylinder; it is a
-part of a cylinder with vertical symmetry axis and diameter
-
-\begin{equation}
-d \geq \sqrt{l^2 + w_\textrm{tot}^2}
-\end{equation}
-
-It serves to prevent transmission of neutrons which do not fly through the channels;
-but it also reduces the transmission, because the cylinder removes neutrons
-in front of the channel entrance or behind the channel exit (see figure~\ref{f:vit_fc1}).
-
-\begin{figure}[ht]
-\begin{center}
-\includegraphics[width=0.45\linewidth]{figures/vitess_fc_str}
-\caption{geometry of a staight Fermi chopper\label{f:vit_fc1}}
-\end{center}
-\end{figure}
-
-Geometry for \textbf{parabolic} channels:
-In this case, the Fermi chopper is supposed to be a full cylinder, i.e. the central
-channels are longer than those on the edges. The other features are the same as for
-the other options. (see figure~\ref{f:vit_fc2}).
-
-\begin{figure}[ht]
-\begin{center}
-\includegraphics[width=0.4\linewidth]{figures/vitess_fc_parab}
-\caption{geometry of a curved Fermi chopper\label{f:vit_fc2}}
-\end{center}
-\end{figure}
-
-The algorithm works with a rotating chopper framework. Neutrons hitting the channel
-walls are absorbed. The channels are approximated by $N_\textrm{gates}$ gates. If the trajectory
-takes a course through all the gates, the neutron passes the Fermi chopper. There are gates at
-the entrance and the exit of the channel. The other gates are situated close to the centre of
-the Fermic chopper.
-Precision of the simulation increases with the number of gates, but also the computing time needed.
-The use of four channels already gives exact transmission shapes for lower wavelengths
-($\lambda < 6$ \AA) and good approximation for higher ones. It is recommended to use larger number of
-channels only for a check.
-
-The option 'zerotime' may be used to reset the time at the chopper position. The time is
-set to a value between -$T_\textrm{p}$/2 and +$T_\textrm{p}$/2 (with $T_\textrm{p}$ being the maximal pulse length),
-depending on the phase of the chopper at the moment of passing the chopper centre. The
-result is the generation of only 1 pulse instead of several; this is useful for TOF instruments
-on continuous sources.
-
-This component is about twice slower than the \verb+FermiChopper+ component.
-
-The component must be placed after a component which sets a non zero flight path to the Fermi Chopper (e.g. not an Arm).
diff --git a/docs/manuals/mcstas/optics/mcdoc_index b/docs/manuals/mcstas/optics/mcdoc_index
index c80b859b8a..2f692d705c 100644
--- a/docs/manuals/mcstas/optics/mcdoc_index
+++ b/docs/manuals/mcstas/optics/mcdoc_index
@@ -11,4 +11,3 @@ Monochromator_flat
Selector
Slit
V_selector
-Vitess_ChopperFermi
diff --git a/docs/manuals/mcstas/optics/optics.tex b/docs/manuals/mcstas/optics/optics.tex
index 2653b3b8c0..af6b479236 100644
--- a/docs/manuals/mcstas/optics/optics.tex
+++ b/docs/manuals/mcstas/optics/optics.tex
@@ -49,8 +49,6 @@ \chapter{Moving optical components:
\newpage
\input{optics/FermiChopper}
-\input{optics/Vitess_ChopperFermi}
-
\newpage
\input{optics/V_selector}
\input{optics/Selector}
diff --git a/docs/manuals/mcstas/running.tex b/docs/manuals/mcstas/running.tex
index 628657b48c..d57104f089 100644
--- a/docs/manuals/mcstas/running.tex
+++ b/docs/manuals/mcstas/running.tex
@@ -544,13 +544,10 @@ \subsection{Choosing an output data file format}
rather than any particular code's native event format. This is the
recommended way to exchange neutron events between \MCS/McXtrace and other
Monte Carlo codes.\index{MCPL} The older, code-specific event-file
-components (\texttt{Virtual\_input}/\texttt{Virtual\_output},
-\texttt{Virtual\_mcnp\_input}/\texttt{Virtual\_mcnp\_output},
-\texttt{Virtual\_tripoli4\_input}/\texttt{Virtual\_tripoli4\_output},
-\texttt{Vitess\_input}/\texttt{Vitess\_output}) still exist for backward
-compatibility, but have moved to the \texttt{obsolete} component category
-(see the Component Manual) and are no longer recommended for new
-instrument work in favour of MCPL.\index{Vitess} \index{Tripoli} \index{MCNP}
+components are gone: \texttt{Virtual\_input}/\texttt{Virtual\_output} stop with an
+error, and the MCNP/Tripoli4-specific readers/writers have been removed. Use
+\texttt{MCPL\_input}/\texttt{MCPL\_output} instead; MCNP surface-source (SSW) files
+convert to and from MCPL with the \texttt{ssw2mcpl}/\texttt{mcpl2ssw} tools.\index{MCNP}
Additionally, adding the \texttt{raw} keyword to the FORMAT will produce raw
$[N, p, p^2]$ data sets instead of $[N, p, \sigma]$ (see Section
diff --git a/docs/manuals/mcstas/sources/Source_adapt.tex b/docs/manuals/mcstas/sources/Source_adapt.tex
index 7be711fd30..9d2872912f 100644
--- a/docs/manuals/mcstas/sources/Source_adapt.tex
+++ b/docs/manuals/mcstas/sources/Source_adapt.tex
@@ -17,7 +17,7 @@ \subsection*{Description}
In order to prevent false learning, a parameter beta sets a fraction of the neutrons that are emitted uniformly, without regard to the adaptive distribution. The parameter alpha sets an initial fraction of neutrons that are emitted with low weights; this is done to prevent early neutrons with rare initial parameters but high weight to ruin the statistics before the component adapts its distribution to the problem at hand. Good general-purpose values for these parameters are alpha = beta = 0.25.
-\%VALIDATION This component is not validated. It does not work properly with MPI.
+\%VALIDATION This component is not validated. With MPI, each process adapts on its own.
\subsection*{Input parameters}
Parameters in \textbf{boldface} are required; the others are optional.
diff --git a/docs/manuals/mcstas/sources/Source_div.tex b/docs/manuals/mcstas/sources/Source_div.tex
index c0c0da2a72..b827bf2742 100644
--- a/docs/manuals/mcstas/sources/Source_div.tex
+++ b/docs/manuals/mcstas/sources/Source_div.tex
@@ -3,7 +3,7 @@ \section{The \texttt{Source\_div} McStas Component}
\subsection*{Identification}
\begin{itemize}
- \item \textbf{Author:} KL
+ \item \textbf{Author:} Kim Lefmann
\item \textbf{Origin:} Risoe
\item \textbf{Date:} November 20, 1998
\end{itemize}
diff --git a/docs/manuals/mcstas/sources/sources.tex b/docs/manuals/mcstas/sources/sources.tex
index 3ea9aca901..b698e7bd66 100644
--- a/docs/manuals/mcstas/sources/sources.tex
+++ b/docs/manuals/mcstas/sources/sources.tex
@@ -143,14 +143,11 @@ \section{Other sources components: contributed pulsed sources, virtual sources (
\textbf{misc/MCPL\_input} and \textbf{misc/MCPL\_output} components,
section~\ref{s:mcpl}), which has backends for \MCS/McXtrace as well as
several other Monte Carlo transport codes (MCNP, PHITS, Geant4, Vitess,
-SIMRES). The older, code-specific event-file components
-(\textbf{Virtual\_input}/\textbf{Virtual\_output},
-\textbf{Virtual\_mcnp\_input}/\textbf{Virtual\_mcnp\_output},
-\textbf{Virtual\_tripoli4\_input}/\textbf{Virtual\_tripoli4\_output},
-\textbf{Vitess\_input}/\textbf{Vitess\_output}) still exist for backward
-compatibility but have moved to the \textbf{obsolete} component category
-(see the Component Manual's Obsolete chapter); new instrument work should
-prefer MCPL.\index{Vitess} \index{Tripoli} \index{MCNP}
+SIMRES). The older, code-specific event-file
+components are gone: \textbf{Virtual\_input}/\textbf{Virtual\_output} stop with an
+error, and the MCNP/Tripoli4-specific readers/writers have been removed. Use
+\textbf{MCPL\_input}/\textbf{MCPL\_output} instead; MCNP surface-source (SSW) files
+convert to and from MCPL with the \texttt{ssw2mcpl}/\texttt{mcpl2ssw} tools.\index{MCNP}
Finally, \textbf{optics/Filter\_gen} reads a 1D distribution from a file,
and may either modify or set the flux according to it. See its entry in
diff --git a/docs/manuals/mcstas/techniq.tex b/docs/manuals/mcstas/techniq.tex
index ebb73a964c..30e0df9a53 100644
--- a/docs/manuals/mcstas/techniq.tex
+++ b/docs/manuals/mcstas/techniq.tex
@@ -259,7 +259,7 @@ \section{Adaptive and Stratified sampling}
An other class of efficiency improvement technique is the so-called \emph{stratified sampling}. It consists in partitioning the event distributions in representative sub-spaces, which are then all sampled individually. The advantage is that we are then sure that each sub-space is well represented in the final integrals. This means that instead of shooting $N$ events, we define $D$ partitions and shoot $r=N/D$ events in each partition. In conjunction with adaptive sampling, we may define partitions so that they represent 'interesting' distributions, e.g. from events scattered on a monochromator or a sample. The sum of partitions should equal the total space integrated by the Monte Carlo method, and each partition must be sampled randomly.
\index{Virtual sources}
-In the case of \MCS, an ad-hoc implementation of adaptive stratified is used when repeating events, such as in the Virtual sources (Virtual\_input, Vitess\_input, Virtual\_mcnp\_input, Virtual\_tripoli4\_input) and when using the SPLIT keyword in the TRACE section on instrument descriptions. We emphasize here that the number of repetitions $r$ should not exceed the dimensionality of the Monte Carlo integration space (which is $d=10$ for neutron events) and the dimensionality of the partition spaces, i.e. the number of random generators following the stratified sampling location in the instrument.
+In the case of \MCS, an ad-hoc implementation of adaptive stratified is used when repeating events, such as in the Virtual sources (MCPL\_input) and when using the SPLIT keyword in the TRACE section on instrument descriptions. We emphasize here that the number of repetitions $r$ should not exceed the dimensionality of the Monte Carlo integration space (which is $d=10$ for neutron events) and the dimensionality of the partition spaces, i.e. the number of random generators following the stratified sampling location in the instrument.
\section{Accuracy of Monte Carlo simulations}
\index{Monte Carlo method!accuracy}
diff --git a/docs/manuals/mcstas/union/Union_abs_logger_1D_time.tex b/docs/manuals/mcstas/union/Union_abs_logger_1D_time.tex
index 5beef29f4d..1900703c38 100644
--- a/docs/manuals/mcstas/union/Union_abs_logger_1D_time.tex
+++ b/docs/manuals/mcstas/union/Union_abs_logger_1D_time.tex
@@ -21,7 +21,7 @@ \subsection*{Description}
A absorption logger will log something for each absorption event happening in the geometry or geometries on which it is attached. These are specified in the target\_geometry string. By leaving it blank, all geometries are logged, even the ones not defined at this point in the instrument file. Multiple geometries are specified as a comma separated list.
-This absorption logger stores the absorbed weight as a function of height in a histogram. It is expected this abs logger will often be attached to a cylindrical geometry, and so if the abs logger has the same position and orientation it will measure absorption along the axis of symmetry. This makes it easy to create simple tubes, and it is even possible to include the detector casing and similar to improve the realism of the simulation.
+This absorption logger stores the absorbed weight as a function of the time of absorption in a histogram.
This absorption logger needs to be placed in space, the position is recorded in the coordinate system of the logger component.
@@ -38,9 +38,9 @@ \subsection*{Input parameters}
\midrule
\endhead
target\_geometry & string & Comma separated list of geometry names that will be logged, leave empty for all volumes (even not defined yet) & "NULL" \\
-time\_min & s & time at start of recording & 0 \\
+time\_min & s & Minimum time to log & 0 \\
\textbf{time\_max} & s & Maximum time to log & \\
-n & 1 & number of bins along y & 100 \\
+n & 1 & number of time bins & 100 \\
filename & string & Filename of produced data file & "NULL" \\
order\_total & 1 & Only log rays that have scattered n times, -1 for all orders & -1 \\
order\_volume & 1 & Only log rays that have scattered n times in the same geometry, -1 for all orders & -1 \\
diff --git a/docs/manuals/mcxtrace/figures/vitess_fc_parab.eps b/docs/manuals/mcxtrace/figures/vitess_fc_parab.eps
deleted file mode 100644
index e2ffcb6767..0000000000
--- a/docs/manuals/mcxtrace/figures/vitess_fc_parab.eps
+++ /dev/null
@@ -1,793 +0,0 @@
-%!PS-Adobe-2.0 EPSF-2.0
-%%Title: vitess_fc_parab.eps
-%%Creator: fig2dev Version 3.2 Patchlevel 5-alpha5
-%%CreationDate: Tue Nov 15 13:48:04 2005
-%%For: farhi@zorro (Emmanuel FARHI)
-%%BoundingBox: 0 0 396 405
-%Magnification: 1.0000
-%%EndComments
-/$F2psDict 200 dict def
-$F2psDict begin
-$F2psDict /mtrx matrix put
-/col-1 {0 setgray} bind def
-/col0 {0.000 0.000 0.000 srgb} bind def
-/col1 {0.000 0.000 1.000 srgb} bind def
-/col2 {0.000 1.000 0.000 srgb} bind def
-/col3 {0.000 1.000 1.000 srgb} bind def
-/col4 {1.000 0.000 0.000 srgb} bind def
-/col5 {1.000 0.000 1.000 srgb} bind def
-/col6 {1.000 1.000 0.000 srgb} bind def
-/col7 {1.000 1.000 1.000 srgb} bind def
-/col8 {0.000 0.000 0.560 srgb} bind def
-/col9 {0.000 0.000 0.690 srgb} bind def
-/col10 {0.000 0.000 0.820 srgb} bind def
-/col11 {0.530 0.810 1.000 srgb} bind def
-/col12 {0.000 0.560 0.000 srgb} bind def
-/col13 {0.000 0.690 0.000 srgb} bind def
-/col14 {0.000 0.820 0.000 srgb} bind def
-/col15 {0.000 0.560 0.560 srgb} bind def
-/col16 {0.000 0.690 0.690 srgb} bind def
-/col17 {0.000 0.820 0.820 srgb} bind def
-/col18 {0.560 0.000 0.000 srgb} bind def
-/col19 {0.690 0.000 0.000 srgb} bind def
-/col20 {0.820 0.000 0.000 srgb} bind def
-/col21 {0.560 0.000 0.560 srgb} bind def
-/col22 {0.690 0.000 0.690 srgb} bind def
-/col23 {0.820 0.000 0.820 srgb} bind def
-/col24 {0.500 0.190 0.000 srgb} bind def
-/col25 {0.630 0.250 0.000 srgb} bind def
-/col26 {0.750 0.380 0.000 srgb} bind def
-/col27 {1.000 0.500 0.500 srgb} bind def
-/col28 {1.000 0.630 0.630 srgb} bind def
-/col29 {1.000 0.750 0.750 srgb} bind def
-/col30 {1.000 0.880 0.880 srgb} bind def
-/col31 {1.000 0.840 0.000 srgb} bind def
-
-end
-save
-newpath 0 405 moveto 0 0 lineto 396 0 lineto 396 405 lineto closepath clip newpath
--107.7 487.2 translate
-1 -1 scale
-
-/cp {closepath} bind def
-/ef {eofill} bind def
-/gr {grestore} bind def
-/gs {gsave} bind def
-/sa {save} bind def
-/rs {restore} bind def
-/l {lineto} bind def
-/m {moveto} bind def
-/rm {rmoveto} bind def
-/n {newpath} bind def
-/s {stroke} bind def
-/sh {show} bind def
-/slc {setlinecap} bind def
-/slj {setlinejoin} bind def
-/slw {setlinewidth} bind def
-/srgb {setrgbcolor} bind def
-/rot {rotate} bind def
-/sc {scale} bind def
-/sd {setdash} bind def
-/ff {findfont} bind def
-/sf {setfont} bind def
-/scf {scalefont} bind def
-/sw {stringwidth} bind def
-/tr {translate} bind def
-/tnt {dup dup currentrgbcolor
- 4 -2 roll dup 1 exch sub 3 -1 roll mul add
- 4 -2 roll dup 1 exch sub 3 -1 roll mul add
- 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb}
- bind def
-/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul
- 4 -2 roll mul srgb} bind def
-/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def
-/$F2psEnd {$F2psEnteredState restore end} def
-
-$F2psBegin
-10 setmiterlimit
-0 slj 0 slc
- 0.06299 0.06299 sc
-%
-% Fig objects follow
-%
-%
-% here starts figure with depth 50
-% Polyline
-%
-% pen to black in case this eps object doesn't set color first
-0 0 0 setrgbcolor
-% Originally from a GIF File: /home/farhi/Programs/mcstas/cvs/tex/figures/vitess_fc_parab.gif
-
-% Begin Imported PCX File: /home/farhi/Programs/mcstas/cvs/tex/figures/vitess_fc_parab.gif
-
-%***********************************************************************
-%* *
-%* Object: Image decoding PS-routine Date: 01.02.93 *
-%* Author: Evgeni CHERNYAEV (chernaev@vxcern.cern.ch) *
-%* *
-%* Function: Display a run-length encoded color image. *
-%* The image is displayed in color on viewers and printers *
-%* that support color Postscript, otherwise it is displayed *
-%* as grayscale. *
-%* *
-%***********************************************************************
-/byte 1 string def
-/color 3 string def
-systemdict /colorimage known { /cnt 3 def } { /cnt 1 def } ifelse
-/String 256 cnt mul string def
-%***********************************************************************
-/DecodePacket % Decode color packet *
-%***********************************************************************
-{
- currentfile byte readhexstring pop 0 get
- /Nbyte exch 1 add cnt mul def
- /color ColorMap currentfile byte readhexstring pop 0 get get def
- String dup
- 0 cnt Nbyte 1 sub { color putinterval dup } for
- pop 0 Nbyte getinterval
-} bind def
-%***********************************************************************
-/DisplayImage % Display run-length encoded color image *
-%***********************************************************************
-{
- gsave
- currentfile String readline pop
- token { /columns exch def } { } ifelse
- token { /rows exch def pop } { } ifelse
- currentfile String readline pop
- token { /Ncol exch def pop } { } ifelse
- /ColorMap Ncol array def
- systemdict /colorimage known {
- 0 1 Ncol 1 sub {
- ColorMap exch
- currentfile 3 string readhexstring pop put
- } for
- columns rows 8
- [ columns 0 0 rows neg 0 rows ]
- { DecodePacket } false 3 colorimage
- }{
- 0 1 Ncol 1 sub {
- ColorMap exch
- 1 string dup 0
- currentfile color readhexstring pop pop
- color 0 get 0.299 mul
- color 1 get 0.587 mul add
- color 2 get 0.114 mul add
- cvi put put
- } for
- columns rows 8
- [ columns 0 0 rows neg 0 rows ]
- { DecodePacket } image
- } ifelse
- grestore
-} bind def
-n gs
-1710 1305 tr
-14.286364 -14.286667 sc
-0 -450 tr
-0 0 tr
-sa
-/showpage {} def
-% PCX image follows:
-440 450 sc
-%***********************************************
-%* Image decoding *
-%***********************************************
-DisplayImage
-440 450
-2
-000000ffffff
-ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01
-ff01ff01ff016e0102000901020009010200ff019a0102000901020009010200ff018e01
-020008010200090102000901020009010200ff0174010200090102002f01020009010200
-ff0167010200090102002f01020009010200ff016701020049010200ff015a0102006201
-0200ff014e01020062010200ff014e01020062010200ff014e01020062010200ff014201
-02007b010200ff01350102007b010200ff01350102007b010200ff01ff01ff01ff019901
-020093010200ff011d01020093010200ff011d01020093010200ff01ff01ff01ff018101
-0200aa010200ff0106010200aa010200ff0106010200aa010200ff01ff01ff01ff01ff01
-ff0123010200c1010200ef010200c1010200ef010200c1010200ff01ff01ff01ff01ff01
-ff01ff01c4010200d7010200d9010200d7010200d9010200d7010200ff01ff01ff01ff01
-ff01ff01ff01ae010200ec010200c4010200ec010200c4010200ec010200ff01ff01ff01
-ff01ff01ff01ff01ff01ff0152010200ff0101010200af010200ff0101010200af010200
-ff0101010200ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01f5010200ff0114010200
-9c01020041010800c90102009c0102001d01020000012e000001110000010800a6010200
-ad01020000010e0000015b00ff0138018e00ff01210105000001670000012e00ff011701
-18000001120043010e0000011e0000010500ff011001180067010e0000010e0000010e00
-ff01070108008a010b0000011800fa0102009c01020000011e00660102008a010200a601
-1e00600102008a010200ac0118000001050059010200ff0144011b00ff01a1011c00ff01
-a1011b00ff01a1011800f801020000010500000105000001050000010f00000105000001
-050000010800000102006601020000011400de01050000015b0000010c0055011700cd01
-020000010500000170000001080051011500b90102000201020000012a00000105000001
-050000010c0000010800000105000001050000012b0000010500000102004c0115003601
-02007801200000010c00000105003a010600000108000001130000010500000108000001
-0200460114003301020077011700000105006b0105000001050000010500000108000001
-0c00420114002d010200770109000001050083010200000105000001080000010c000001
-050041011100a5010200000102009801080000010c0000010800000102003d011500ff01
-48010c000001080000010500000102003901020000011100ff014f010200000108000001
-0500000108003a011100ff01530105000001050000010f0039011100ff01540105000001
-0f000001020038011100ff0158010500000112003501020000010d0086010200d5010200
-0001120035010d0015010300690102002f01020000010500000102000001090000010500
-000102000001050000010900000102000001050000010200640112000001020034010d00
-12010300690102001d010900000102000001220000011400000109000001090000010200
-000105005801020000011200310110000c01030069010200120102000001050000013100
-000114000001140000010900000105000001020051011200000102003001110008010300
-7401090000012d0000010200000105000001020000010500000109000001020000010500
-00010d000001100000010900000102004c011300300111007301020000011e0000010200
-0001050000010200000102003d0106000001020000010500000109000001090000010200
-00010500000102004801020000010f002f010e006c011b00000102000001050063010500
-0001020000010900000109000001050000010600410112002f010e006901100000010200
-000105007c01060000010900000105000001090000010200400113002b010e0066010500
-000109009201020000010200000105000001090000010500000102003d0112002c010d00
-63010200ab010200000109000001050000010200000106003c010f002b010b00ff011801
-06000001050000010200000109000001020038010f002b010800ff012001050000010200
-0001090000010500380110002a0105005f010200c4010200000109000001050000010500
-3501120027010200000102005b010200cb01060000010500000105000001060034010b00
-00010200270102005b010200d3010500000105000001090034010f002401020096010200
-000102000001020000010500000102000001020000010200000109000001020000010200
-000102000001020069010500000109000001020033010f00a80102000001020000010d00
-00010d000001020000011100000102000001020000010200000105000001020000010200
-000106005901020000010900000105000001020030010b00000102009501020000010200
-000105000001150000010d0000010200000111000001020000010d000001020000011100
-0001020000010200000102004d010600000105000001050030010f008601060000011100
-000115000001050000010200000102000001020000010d00000102000001020000010500
-00010200000102000001020000011100000102000001020000010500000102004e010500
-00010d002b01020000010b007c0102000001090000011100000109000001020000010200
-000102000001020029010200000102000001020000010200000109000001060000010200
-0001090000010200000102000001060045010200000110002c010e006d01020000010200
-000111000001090000010200000102000001020057010200000102000001020000010200
-000109000001020000010d00000102004201020000010c00000102002b01020000010b00
-690102000001110000010200000102007d010200000102000001020000010d0000010200
-00010200000102004101020000010c002f010b0066010200000109000001020000010200
-91010d00000102000001020000010500000102003e0113002b010c006101030000010500
-a40106000001020000010200000105000001020000010200000102003901100000010200
-2a010c000c0102004e010300b30102000001020000010500000102000001020000010500
-0001020036010200000110002a010b00090102004e010200bc0105000001020000010200
-0001050000010200000102003901100027010f0005010200ff0119010200000105000001
-020000010200000102000001020035010c00000102002a010b00ff012301050000010200
-0001020000010200000105003501020000010500000105002a010b00ff01270102000001
-02000001020000010500000102000001020031010500000105000001020026010e009b01
-020000010500000102000001060000010200760102000001050000010200000105003101
-0200000105000001050026010b007b010200000102000001020000010200000102000001
-020000011100000102000001060000010200000102000001020000010200000102000001
-02000001020000010200000102005d010200000102000001050000010200000102003001
-02000001050000010200250109006e010600000102000001020000010200000102000001
-020000011900000102000001060000010200000102000001020000010200000102000001
-020000010600000102000001050000010200000102005201020000010500000102000001
-0600300105000001050026010500620102000001020000010a0000010200000102000001
-020000010200000102000001110000010200000102000001020000010200000102000001
-020000010200000102000001020000010200000102000001110000010200000102000001
-020000010200000102004a01050000010200000109003001020000010900250102005701
-020000010200000105000001020000010a00000102000001020000010200000102000001
-020000010500000102000001020000010200000102000001020000010200000102000001
-02000001020000010200000102000001020000010200000102000001050000010a000001
-02000001020000010200000102000001020000010200000102004901020000010d003001
-0c0075010200000111000001020000010600000102000001020000010200520102000001
-020000010200000102000001020000010200000102000001020000010200000102000001
-02000001020000010200410102000001090000010200000102002b010d00690102000001
-190000010200000102007201020000010200000102000001020000010200000102000001
-02000001020000010500000102004201050000010200000105002c010c00200102004201
-110000010200000102000001020086010200000102000001020000010200000109000001
-020000010200000102003d0102000001020000010500000102002c010c001c0102004201
-090000010200000102009a01020000010200000109000001020000010200000102000001
-02003d0102000001050000010200000102002b010c001901020042010500b10102000001
-020000010200000102000001020000010200000102000001020039010500000102000001
-06002b010c00ff011b010200000102000001020000010200000102000001020000010600
-3401020000010200000109002b010c00ff0120010200000102000001020000010a000001
-02003401020000010900000102002701020000010800ff012801020000010a0000010500
-0001020031010900000102000001020027010c00ff012b01070000010500000102000001
-02003401020000010200000105002701020000010800ff012c0103000001050000010200
-00010200000102000001020030010200000105000001020027010c008701020000010200
-000102000001020000010200000102000001020000010200000102000101020000010200
-000102000001020000010200000102000001020000010200000102006001020000010200
-00010200000102000001020000010200300105000001050027010c007401020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020000011b00000102000001020000010200000102000001020000010200
-540102000001020000010200000102000001050030010200000109002701080000010200
-640102000001020000010200000102000001020000010200000102000001020000010200
-0001020000010200000102000001020000010200000102000001020000011b0000010200
-000102000001020000010200000102000001020000010200000102000001020050010200
-000102000001050000010200300109000001020026010900410102000f01020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001170000010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102000001020048010200000105000001020000010200
-000102002c01050000010600260108000201020038010200070102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020041010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102000001020000010200440105000001020000010200
-00010200000102002b0102000001090023010e0038010500000102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020061010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-0001020043010200000102000001020000010200000102002b010d0022010b0037010200
-00010200000102000001020000010200000102000001020000010200000102007d010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-3f010200000102000001020000010200000102002b010900000102002201050038010700
-000102000001020000010200000102009901020000010200000102000001020000010600
-00010200000102003b0102000001020000010200000105002c0105000001050022010200
-380107000001020000010200a90102000001020000010e00000102000001020037010200
-0001020000010500000102002b010200000105005e01020000010300b9010e0000010200
-000102000001020037010200000105000001020000010200270102000001050000010200
-ff0123010700000102000001020000010200000102000001020033010500000102000001
-0200000102002701050000010600ff012801020000010200000102000001020000010200
-0001020000010200320102000001020000010200000102002601020000010900ff012901
-02000001020000010200000106000001050033010200000102000001050027010d00ff01
-2d01020000010d000001020033010200000105000001020027010c009601020000010200
-000102000001020000010200000102000001020000010200000102000101020000010200
-00010200670105000001060000010200000102003301050000010600260109004a010200
-2f0102000001020001010200000102000001020000010200000102000001020000010200
-00010200000102000001020000010200000102000001020000010b000001020000010200
-000102000001020000010200000102005601020000010200000102000001020000010200
-000102002e010200000106000001020026010900120103002f0102002301020000010200
-00010200000102000001020000010b000001020000010200000102000001020000010200
-000102000001020000010200000102000001020000010b00000102000001020000010200
-00010200000102000001020000010b004d01020000010200000102000001020000010200
-000102002e01060000010200000102002201020000010500000102000e0103002f010200
-170102000001020000010200000102000001020000010200000102000001020000010b00
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102000101020000010200000102000001020000010200
-00010200000113000001020049010200000102000001020000010200000102002e010200
-000102000001050023010500000105000b01030041010300000102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-010102000001020000010200200102000001020001010200000102000001020000010200
-000102000001020000011300000102000001020000010200450102000001020000010200
-00010200000102002a010200000102000001050026010200000105004501170000010200
-00010200000102000001020000010200000102005a010200000102000001020000010200
-000107000001020000010200000102000001020000010200000102003d01020000010200
-0001020000010200000102002e01090000010200220109003d0102000001170000010200
-000102000001020072010200000102000001030000010200000102000001020000010200
-000102000001020000010200410102000001020000010200000102002a01020000010500
-0001020026010900350102000001020000010e00000107008b0102000001020000010200
-0001020000010200000102000001020000010200000102003d0102000001020000010200
-000102002a010500000102000001020022010c0032010200000102000001060000010200
-000102009c01020000010200000102000001020000010200000102000001020000010200
-000102003901020000010200000102000001020029010200000102000001050022010900
-32010200000102000001020000010200ac01020000010200000102000001020000010200
-000102000001020000010200390102000001020000010200000102002901020000010900
-220109002e010200c4010200000102000001020000010200000102000001020000010200
-35010200000102000001020000010200290109000001020021010600fe01020000010200
-000102000001020000010200000102003501020000010200000105002a01050000010200
-21010600ff01020102000001020000010200000102000001020000010200350102000001
-05000001020029010200000102000001020021010200ff010a0102000001020000010200
-000102000001020000010200310105000001020000010200250102000001020000010200
-000102004d01020055010200000102000101020000010200000102000001020070010200
-000102000001020000010200000102000001020030010200000102000001020000010200
-2501020000010200000105001e010200280102003c010700000102000001020000010200
-000102000001020000010200010102000001020000010200000102000001020000010200
-00010200000102000101020000010200000102005b010200000102000001020000010200
-000103002f01020000010200000102000001020025010200000105001e01020028010200
-2c010200000102000001020000010b000001020000010200000102000001020000010200
-000102000001030000010200000102000001020000010200000102000001020000010200
-000107000001020000010200000102000001020053010200000102000001020000010600
-000102002c010200000102000001020000010200250109001a0102004b01030000010200
-0001020000010200000102000001020000010b0000010200000102000001020000010200
-000102000001020000010300000102000001020000010200000102000001020000010200
-000102000001070000010200000102000001020000010200000102000001020000010200
-4b010200000102000001060000010200000102002c010200000102000001020000010200
-210102000001050000010200590102000001020000010f00000102000001020000010200
-000106000001030000010200000102000001020000010200000102000001020000010200
-010102000001020000010200000102000001020000010200000102000001020000010200
-010102000001020000010200000102000001020000010200000102000001020001010200
-0001020046010200000102000001020000010200000102002c0102000001020000010600
-21010500000105004e01020000010200000102000001020000010f000001020000010200
-000102000001020000010200470102000001020000010200000102000001020000010200
-000102000001020000010700000102000001020042010200000102000001020000010200
-000102002c01020000010a00200102000001050046010200000102000001020000010200
-000102000001020000010f00000102006301020000010200000102000001020000010200
-00010700000102000001020000010200000102003e010200000102000001020000010200
-000102002c010a00240109003e0102000001020000010200000102000001020000010200
-0001020000010200000103007b0102000001020000010200000103000001020000010200
-000102000001020000010200000102003a01020000010200000102000001020000010200
-28010d002501050000010200350102000001070000010200000102000001020000010200
-99010200000102000001020000010200000102000001020000010200000102003a010200
-00010200000102000001020027010a000001020021010500000106003101020000010600
-0101020000010200a9010200000102000001020000010200000102000001020000010300
-390102000001020000010200000102002701060000010200000102002001020000010600
-310102000001020000010200b60102000001020000010200000102000001020000010b00
-350102000001020000010200000102002701020000010200000102000001020020010900
-2e010200c6010200000102000001020000010f0035010200000102000001020000010200
-27010200000102000001020020010d00fc0102000001020000010f003501020000010200
-00010200000102002701020000010200000102002001090029010300d601020000010f00
-000102003101020000010200000102000001020027010200000105002001060000010500
-22010300da010f0000010200000102003101020000010200000102000001020023010200
-000109002001020000010500220103004801020001010200000102000001020000010200
-000102000001020000010200010102000001020000010200000102006801070000010200
-000102000001020031010200000102000001020000010200230109002001020000010500
-5f0102000001020000010200000102000001020001010200000102000001020000010200
-000102000001020000010200000103000001020000010200000102000001020000010200
-000107000001020057010300000102000001020000010200000102002d01020000010200
-00010200000102002701050000010200200102004d010200000102000101020000010200
-000102000001020000010200000102000001020000010200000103000001020000010200
-000102000001020000010200000102000001030000010200000102000001020000010200
-0001020000010b0000010200000102000001020000010200500102000001020000010200
-00010200000102002d010200000102000001020026010200000102000001020065010200
-000102000001020000010200000107000001020000010200000102000001020000010200
-000102000001020001010200000102000001020000010200000102000001020000010200
-010102000001020000010200000102000001020000010f00000102000001020000010200
-00010200000103004b010200000102000001020000010200000102002901020000010200
-000102000001020022010200000102000001020000010200590102000001020000010200
-000102000001020000010200000107000001020000010200000102000001020000010200
-0001020000010200010102001d0102000001020000010200000102000001020000010b00
-000102000001020000010200000102000001070000010200000102004301020000010200
-000102000001020000010200290102000001020000010200000102002201020000010200
-000102005001020001010200000102000001020000010200000102000001020000010200
-000102000001020001010200000102004e01070000010200000102000001020000010200
-00010700000102000001020000010200000102003f010200000102000001020000010200
-000102002901020000010a00220102000001060044010200000102000001020000010300
-000102000001020000010200000102000001020074010200000102000001020000010300
-0001020000010200000102000001020000010200000102003b0102000001020000010200
-000102000001020029010e00220109003901020000010200000102000001020000010200
-000103000001020000010200000102008801020001010200000102000001020000010200
-000102000001020000010200000102003b01020000010200000102000001020028010b00
-220109003901020000010200000102000001020000010200000102009e01020000010200
-0001020000010200000102000001020000010200000102003b0102000001020000010200
-0001020028010b0021010a0035010200000102000001020000010200ae01020000010200
-000102000001020000010200000102000101020000010200360102000001020000010200
-0001020024010e0023010500000102003101020000010200be0102000001020000010200
-0001020000010700000102003601020000010200000102000001020024010a0000010200
-1f0105000001020030010200cb0102000001020000010700000102000001020000010200
-32010200000102000001020000010200240102000001020000010200000102001e010200
-00010200000102000a0102001e010200d301020000010200010102000001020000010200
-000102003201020000010200000102000001020024010200000102000001020022010200
-00010500070102001e010200d70102000101020000010200000102000001020000010200
-320102000001020000010200000102002401020000010200000102001e01020000010500
-07010200ff010201020000010200000102000001020000010200000102002e0102000001
-020000010200000102002401020000010200000102001e0109006a010300000102000001
-020000010200000102000001020000010200010102000001020000010200000102000001
-020000010200000102000001020001010200000102005c01020000010200000102000001
-020000010200000102002e01020000010200000102002401020000010200000102000001
-02001e0105000001020056010200000102000001020000010b0000010200000102000001
-020000010200000102000001030000010200000102000001020000010200000102000001
-020000010200000103000001020000010200000102000001020000010200540102000001
-02000001020000010200000102002a010200000102000001020000010200240102000001
-0200000102001e0105000001020049010300000102000001020000010200000102000001
-020000010b00000102000001020000010200000102000001020000010300000102000001
-020000010200000102000001020000010200000102000001030000010200000102000001
-020000010200000102000001020000010200000102004c01020000010200000102000001
-0200000102002a0102000001020000010200000102002401020000010200000102001d01
-020000010200410102000001070000010200000102000001020000010200000102000001
-0b0000010200000102000001020000010200000102000001020001010200000102000001
-020000010200000102000001020000010200000102000101020000010200000102000001
-020000010200000102000001020000010200010102000001020047010200000102000001
-020000010200000102002a01020000010200000102000001020020010200000106002101
-020035010200000102000001020000010200000107000001020000010200000102000001
-02000001020000010200000103003e010200000102000001020000010200000102000001
-02000001020000010200000107000001020000010200000102003f010200000102000001
-020000010200000102002a010200000102000001020000010200200109001e0102002d01
-020000010200000102000001020000010200000102000001070000010200000102000001
-02005f010200000102000001020000010200000107000001020000010200000102000001
-0200000102003b010200000102000001020000010200000102002a010200000102000001
-0200000102001f0102000001020000010200420102000101020000010200000102000001
-020000010200000102000001020000010700770102000001020000010200010102000001
-0200000102000001020000010200000102003f0102000001020000010200000102002a01
-020000010200000102002301020000010200000102003a01020000010200000103000001
-0200000102000001020000010200000102008c0102000101020000010200000102000001
-0200000102000001020000010200000102003b0102000001020000010200000102002a01
-020000010200000102001f01020000010200000102003a01020000010200000103000001
-02000001020000010200a101020000010200000102000001020000010200000102000001
-020000010200370102000001020000010200000102002a01020000010200000102001f01
-0200000102000001020036010200000102000001020001010200b1010200000102000001
-020000010200000102000001020000010300360102000001020000010200000102002601
-02000001020000010200000102001f0102000001020000010200120102001c0102000001
-0200c2010200000102000001020000010200000103000001020000010200320102000001
-020000010200000102002601020000010200000102001f01020000010200000102001201
-02001c010200ca0102000001020000010200000107000001020000010200320102000001
-02000001020000010200260109002001020000010200000102000e010200f20102000001
-0f0000010200320102000001020000010200000102002501020000010200000102002001
-02000001020000010200ff0108010f0000010200000102002e0102000001020000010200
-00010200210102000001020000010200000102001c010200000102000001020084010200
-0001020000010200000102000001020001010200000102006b010f000001020000010200
-2e0102000001020000010200250102000001020000010200200102000001050068010200
-010102000001020000010200000102000001020000010200000102000001020000010200
-000102000101020000010200000102000001020000010200000102000001020000010200
-5b0107000001020000010200000102002a01020000010200000102000001020025010200
-000102000001020020010500580102000001020000010200000102000001020001010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000103000001020000010200000102000001020000010200000102000001020000010200
-0001020000010200000103004e010300000102000001020000010200000102002e010200
-00010200000102002501020000010200000102001c010500000102004701030000010200
-000102000001020000010200000102000001020000010200010102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020001010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-00010700000102000001020047010200000102000001020000010200000102002a010200
-0001020000010200000102002101020000010200000102001f0102000001020000010200
-3b010b000001020000010200000102000001020000010200000102000001020001010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000101020000010200000102000001020000010200000102000001020000010200
-000102000001020000010b00000102000001020000010200430102000001020000010200
-00010200000102002a010200000102000001020000010200210102000001020000010200
-1f010200000102003301020000010f000001020000010200000102000001020000010200
-00010200000102004601020000010200000102000001020000010f000001020000010200
-0001020000010200430102000001020000010200000102002a0102000001020000010200
-000102002101020000010200000102001b01020000010200270102000001020000010200
-0001020000010f0000010200000102006e010b0000010200000102000001020000010200
-0001020000010200000102003b0102000001020000010200000102000001020026010200
-00010200000102000001020021010200000102001f010200230102000001020000010200
-000102000001020000010f007e0103000001020000010200000102000001020000010200
-0001020000010200000102003b0102000001020000010200000102002a01020000010200
-000102002101020000010200000102003e01020000010200000102000001020000010200
-000102000001030097010200000102000001020000010200000102000001020000010200
-00010200370102000001020000010200000102002a010200000102000001020021010a00
-1b0102001b01020000010200000102000001020000010200a80102000001020000010200
-000102000001020000010200000102003701020000010200000102000001020026010200
-0001020000010200000102001d010a001b0102001b010200000102000001020000010200
-b00102000001020000010200000102000001020000010200010102000001020032010200
-000102000001020000010200260102000001020000010200200107000001020017010200
-1b010200c801020000010200000102000001070000010200320102000001020000010200
-0001020026010200000102000001020020010a00ff01030102000001020000010b000001
-0200000102002e0102000001020000010200000102002601020000010200000102001c01
-0a00ff010b010200000102000001070000010200000102002e0102000001020000010200
-00010200220102000001020000010200000102001c0102000001020000010200ff010b01
-0200000102000001070000010200000102002e0102000001020000010200000102002201
-0200000102000001020020010200000102007c0102000001020000010200000102000001
-020000010200000102000101020000010200000102000001020000010200000102006201
-02000001020000010700000102002e010200000102000001020000010200220106000001
-02001c010200000102000001020068010200000102000001020000010200000102000001
-020000010200000102000001020000010200000102000001030000010200000102000001
-020000010200000102000001020000010200000102000001020000010200520102000001
-020000010700000102002e01020000010200000102000001020021010b001c0102000001
-020000010200540102000001020000010200000102000001020000010200000102000001
-020000010200000102000001020000010200000102000001020000010200000103000001
-020000010200000102000001020000010200000102000001020000010200000102000001
-02000001020000010200000102004a010200000102000001070000010200000102002a01
-0200000102000001020021010b0020010200000102004c01020000010200000102000001
-020000010200000102000001020000010200000102000001020000010200000102000001
-020000010200000102000001020000010200000102000101020000010200000102000001
-020000010200000102000001020000010200000102000001020000010200000102000001
-020000010200000102004a01020000010700000102000001020026010200000102000001
-02000001020021010700000102001c01020000010200000102003b010b00000102000001
-020000010200000102000001020000010200000102000001020000010200000102000001
-020000010200250102000001020000010200000102000001020000010200000102000001
-020000010200000102000001020000010200000102000001020000010200420102000001
-0b00000102002a010200000102000001020021010700000102001c010200000105003001
-130000010200000102000001020000010200000102000001020000010200510102000001
-020000010200000102000001020000010200000102000001020000010200000102000001
-02003e01020000010f002601020000010200000102000001020021010700200105002801
-020000010200000113000001020000010200000102006d01020000010200000102000001
-02000001020000010200000102000001020000010200000102003a011300260102000001
-020000010200000102001d010200000106001d0105002001020000010200000102000001
-020000010f00000102000001020081010200000102000001020000010200000102000001
-020000010200000102000001020036011300260102000001020000010200210102000001
-0200000102001c010200000102001c01020000010200000102000001020000010b009901
-02000001020000010200000102000001020000010200000102000001020036010b000001
-020026010200000102000001020021010200000102001c010200000102001c0102000001
-0200000102000001020000010300a9010200000102000001020000010200000102000001
-02000001020036010b00000102002601020000010200000102001d010200000102000001
-02001c0102001c0102000001020000010200b60102000001020000010200000102000001
-0200000102000001020036010b0000010200220102000001020000010200000102001d01
-0200000102000001020038010200c6010200000102000001020000010200000102000001
-0200000102002e0106000001030000010200260102000001020000010200210102000001
-0200ff010a01020000010200000102000001020000010200000102003201020000010a00
-23010600000102001d0102000001020000010200ff010e01020000010200000102000001
-020000010200000102002e0102000001060026010200000106001e010200000102000001
-0200ff010e01020000010200000102000001020000010200000102002a01020000010600
-0001020022010200000106001e01020000010200000102007d0102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102006101020000010200000102000001020000010200000102002a01020000010200
-00010200000102002201020000010200000102001e0109006b0102000001050000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-55010200000102000001020000010200000102002a010200000102000001020000010200
-2201020000010200000102001d0106005a010b00000102000001020000010d0000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020049010200000102000001020000010200000102002a01020000010200
-00010200000102002201020000010200000102001901020000010200000102004a010200
-00011300000102000001020000010d000001020000010200000102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-45010200000102000001020000010200000102002a010200000102000001020000010200
-1e01020000010200000102001d01020000010200000102003f0102000001050000011300
-000102000001020000010200000102000001050000010200240102000001020000010200
-000102000001020000010200000102000001020000010200000102000001020000010200
-000102000001020000010200000102003d01020000010200000102000001020000010200
-2a01020000010200000102002201020000010200000102001d0102000001020026010200
-0d010200000102000001020000011a0000010200000102004f0102000001020000010200
-000102000001020000010200000102000001060000010600410102000001020000010200
-000102002a010200000102000001020022010200000102001d0102000001020000010200
-000102001e01020005010200000102000001020000010200000102000001020000010200
-000102000001020073010200000102000001020000011a00390102000001020000010200
-000102002a01020000010200000102001e01020000010200000102001d01020000010200
-000102001e01030000010200000102000001020000010200000102000001020000010200
-0001020087011d003a010200000106000001020026010200000102000001020000010200
-1e01020000010200000102001901020000010200000102001f0102000001020000010200
-0001020000010200000102000001020096011600000102000001020036010a0000010200
-260102000001020000010200220106001d01020023010200000102000001020000010200
-00010200a6010600000106000001020000010200000102003501020000010b0026010600
-000102001e010a004001020000010200ba01020000010200000102000001020000010200
-00010200000102003101020000010b0025010b001d010b003c010200c601020000010200
-00010200000102000001020000010200000102002d010f0021010f001d010700ff010e01
-020000010200000102000001020000010200000102002d010e0022010b001d010a00ff01
-0f010200000102000001020000010200000105002e010200000106000001020022010700
-000102001d01020000010200ff011701020000010900000103002d010200000102000001
-02000001020022010200000106001e010200000102007d01020000010200000102000001
-020000010200000102000001020000010500000102000001020000010200000102000001
-020000010200000102005b0105000001020000010a002a01020000010200000102000001
-02001e010200000106001e01020000010200000102006a01110000010200000102000001
-020000010200000102000001020000010500000102000001020000010200000102000001
-020000010200000102000001050000010200000102004f0102000001020000010a000001
-02002a01020000010200000102002201020000010200000102001e010200000102005e01
-020000010200000102000001150000010200000102000001020000010200000102000001
-050000010200000102000001020000010200000102000001020000010200000105000001
-0200000102000001020000010200000102004b0102000001060000010200000102002a01
-020000010200000102002201020000010200000102001a01020000010200000102002e01
-03001b010200000102000001020000010200000102000001020000011500000102000001
-020000010200000102000001020000010500000102000001020000010200000102000001
-020000010200000102000001050000010200000102000001020000010200000102000001
-0a0043010200000102000001020000010200000102002601020000010200000102000001
-02001e01020000010200000102001e010200000102000801020022010300100102000001
-0200000109000001020000010200000102000001020000010200000111002f0102000001
-020000010500000102000001020000010200000102000001110000010200400102000001
-02000001020000010200000102002601020000010600000102001e010200000102000001
-02001e010200000102000401020022010300080102000001020000010200000102000001
-090000010200000102000001020000010200000102005501020000010200000102000001
-11000001020000010200000102003c010200000102000001020000010200000102002601
-0d001f01020000010200000102001a010900010102002b01020000010200000102000001
-020000010200000102000001050000010200000102006d010d0000010200000102000001
-020000010200000102000001020038010200000102000001060000010200250102000001
-0600230106001d0106002801020000010200000102000001020000010200000102000001
-020000010200000102008301020000010200000102000001020000010200000109000001
-020039010d002601020000010200000102001f0109001a01020000010200280102000001
-0200000102000001020000010200000102009b0102000001020000010900000102000001
-0200000102003401020000010600000102002601020000010200000102001e0102000001
-0200000102001a01020028010200000102000001020000010200ab010500000102000001
-020000010200000102000001020034010200000102000001020000010200260102000001
-0200000102001e010200000102004601020000010200ba01020000010200000102000001
-0a0000010200300102000001020000010200000102002201020000010200000102001e01
-02000001020000010200ff01080102000001020000010a00000105003101020000010200
-00010200000102002201020000010200000102001e0102000001020000010200ff010c01
-110000010200000102002d01020000010a0022010600000102001e01020000010200ff01
-13010600000102000001020000010200000102002d010e0021010700000102001a010200
-0001020000010200ff01130102000001020000010200000109002d010b0021010b001e01
-02000001020086010900000102000001020000010500000102000001020000010d000001
-02006001020000010900000102002d0102000001060022010a001b010200000102000001
-0200380102002f0102000001020000010500000102000001020000010d00000102000001
-09000001020000010d0000010200000105000001020000010200000105004e0105000001
-020000010200000102000001020029010200000102000001020022010200000102000001
-02001b010600000102000801020028010200240109000001020000010200000109000001
-020000010d0000010200000109000001020000010d000001020000010900000102000001
-050000010600000102004901020000010200000102000001020000010200290102000001
-02000001020022010200000102001e01070008010200280102001c010200000102000001
-0d0000010200000109000001020000010200000109000001020000010200000105000001
-020000010200000109000001020000010900000102000001050000010600000102000001
-050046010200000102000001020000010200000102002501020000010200000102000001
-02001e01020000010200000102001a01020000010600050102003d010200000105000001
-02000001020000010d000001020000010200000105000001020000010200000102002501
-020000010200000102000001050000010200000105000001060000010200000105000001
-020000010200000102003e01020000010d0026010200000109001f010200000102000001
-02001a010200000102003e01020000010200000102000001090000010200000102000001
-09005a010200000102000001020000010200000105000001020000010900000102003b01
-0d000001020026010900000102001f0106001e0102000001020032010e00000102000001
-090000010200000102007101020000010500000102000001090000010200000106003601
-06000001020000010200000102002501020000010200000102001f010600000102001a01
-0200000102002f0111000001020000010200000102008701020000010500000102000001
-020000010900000102003701020000010200000102000001020025010200000102000001
-02001e010200000106001b0102002f010a00000105000001020096010200000102000001
-020000010900000102000001020037010200000109002201020000010200000102000001
-02001e0106001b0102002f0106000001020000010200a501020000010900000102000001
-020000010500340109000001020022010200000106001e01020000010200000102004a01
-0200bc010200000102000001090000010200000102002f01020000010200000102000001
-020022010a001e0102000001020000010200ff010a010200000109000001020000010600
-2f01020000010a0021010b001e010600ff01110102000001020000010d0030010e002101
-0a001b010a00ff011101020000010d0000010200000102002b010b002101020000010600
-1e01070044010200d001060000010200000109002c01020000010600000102001e010200
-00010200000102001e010300000102000c0103002f010200400102000001020000010500
-000102000001050000010200000105000001020000010500000109005d01020000010900
-000102002c01020000010200000102002201020000010200000102001a01020000010600
-090103002f01020032010500000102000001050000010200000105000001020000010900
-000105000001020000010500000109000001050000010200000102005201050000010200
-000102000001020028010200000102000001020000010200220109001b01060009010300
-5a0105000001020000010900000109000001050000010200000109000001050000010200
-000105000001090000010500000102000001050000010200000105004701020000010200
-0001090029010200000109001f0109001b01020000010200000102005501020000011400
-000109000001020000010500000105000001020000010900000105000001020000010500
-000109000001050000010200000105000001020000010500000102000001050044010900
-000102000001020025010900000102001e01020000010200000102001b01020000010200
-000102004a0105000001020000011400000102000001050000010200000105002b010600
-000105000001020000010500000102000001050000010900000106003f01020000010200
-00010900250102000001020000010200000102001e01020000010200000102001b010200
-00010200430105000001090000010d000001050000010200500105000001020000010500
-00010900000109000001050039010200000109000001020025010200000106001e010200
-000106001b0106003b010200000102000001100000010200000106006c01020000010500
-000102000001090000010500000102003901050000010200000102000001020025010a00
-1e010600000102001a010300370102000001060000010900000105008701090000010500
-000105000001020000010200350102000001090025010200000106001e010b0016010200
-38010a000001020000010200980102000001050000010500000102000001050036010900
-0001020025010600000102001e0107005201030000010500a70102000001050000010900
-000102000001020031010200000102000001020000010200210102000001020000010200
-000102001a0102000001060050010200b501020000010900000102000001050032010200
-000109002201020000010200000102001e01060051010200bb0106000001090000010500
-2f01090000010200220109001f0106001101020038010200c30105000001090000010200
-2e01060000010200000102002101020000010200000102001b010600000102000d010200
-38010200c6010200000114002b010200000109001e01020000010600000102001a010700
-0d010200ff010901020000010d00000102002b010900000102001e010600000102001a01
-020000010600940109000001050000010c0000010500600114002b010200000106002101
-0200000106001b010200000102000001020077010200000109000001050000010c000001
-050000010c000001050000010c00000108004f0102000001090000010500280109000001
-02001e01020000010200000102001b01060069010600000108000001100000010c000001
-050000010c000001050000010c0000010800000102000001050048010500000109000001
-02002701020000010200000102001e010200000106001b0109005c010500000125000001
-0500000105000001050000010500000105000001050000010c0000010c00000105000001
-080045010d00000102002701020000010200000102001e010a001a010200000102005501
-020000012100000102000001080000010500000105000001020006010200000105000001
-0500000105000001050000010c00000105000001080000010200000105003d0102000001
-0d0024010200000109001e010a0017010200000102004a01020000011700000102000001
-0800000102005001050000010500000108000001020000010800000102003a010d000001
-020024010900000102001e01060000010200170102004401080000011000000105000001
-02006801020000010800000102000001080000010500000102003a010200000109002401
-02000001020000010200000102001a01020000010200000102005f011a007d0102000001
-02000001080000010c0000010200370109000001020024010200000106001e0106000001
-02005b010c00000106008e01050000010c00000105000001020033010200000109002501
-09001e010700150102004201020000010500a30109000001100030010900000105002101
-020000010200000102001a010200000106001201020042010200b1010200000116002d01
-020000010900250109001b01020000010200000102000e010200fe01050000010c000001
-02002d0109000001020021010900000102001b010600ff011301020000010c0000010500
-2d010200000109002101020000010200000102001b010900ff011b010500000105000001
-05002a0109000001020021010a001a0102000001020000010200ff011a01020000010c00
-00010200290102000001090021010a001b0106009a010800000112000001020065011300
-27010900000102001d010a001b010600000102008201050000010b000001080000011200
-0001080000010f00510110000001020026010200000109001e0102000001020000010200
-1a01070071010f0000014e0000010800000102004701020000010c002701090000010200
-1e0109001b0103006701020000012d000001150000011f000001080000010c0041010c00
-0001020026010200000109001e01060000010200170102005e0105000001050000012600
-0001050000011500000108000001150000010800000112003e0113002401090000010200
-1a010200000106006b0102000301240000010c003e010800000108000001150000010500
-3b010c000001020023010200000106001e010900160102004e012100000105005f010200
-00011f0000010200370102000001050000010500240109001e0106000001020012010200
-4e011b007901200035010c00000102002301020000010200000102001d01070012010200
-4f0110008d0116000001050031011000240109001a010a0062010200000105009b010800
-000113002d01100021010900000102001a01020000010200000102005e010200a8010200
-0001160031010200000105000001020020010200000106001e010600ff01140102000001
-12002f010c00210109001b010900ff0118011200000102002b0109000001020020010900
-1b0102000001020000010200ff011701050000010f002b010d0020010600000102001b01
-0600ff011e01150029010c001d0102000001090018010600ab010e0069010f0000010200
-28010900000102001d0109001b0102005e0102002e014700530112002501020000010900
-1d010600000102001a0102005b010200210160004a01120026010c001e01090017010200
-5b0102001801760040010f00000102002501020000010500000102001a01090017010200
-6a018c003e01120023010c001a01020000010600780131003a0131003801120023010d00
-1a010900720125005901270038010200000108000001020022010a001d01060000010200
-6e011b006f01210036010f0022010200000106001a010a006e0105000001080085011e00
-32010f001f010200000109001a010a006b01050098011b0032010c00230109001b010900
-ff010d011b002f010c0020010900000102001a010600ff01160118002d01080000010200
-1f0102000001090017010200000102006c010200ac0115002d010c00200109001b010500
-69010200b30114002a010f001d0109001a01030069010200b901150026010c0020010600
-0001020016010300ff012901150026010200000109001c010d00be012b005c0111002801
-0c001d010900a70159004b01120024010c001d010900990170004201120024010c001d01
-0a008c0182003f01120021010c001d010a008001400016013b003a01120021010d001901
-0a007d0126004f01280037010f0021010d001a0109007a0117006a012400320112001e01
-0d001a01090077010f007a01220032010f001f010c001a010600780105008c011f002f01
-0f001f010c001701020000010200ff01170118002d010f001f010c00ff01380119002a01
-0f001f010900ff013e0119002a010c001f010900ff01410116002b010b001f010a00ff01
-4201170027010c001c01020000010900ff014801130025010f001a010c00d00114006101
-140025010f001a010900b80144004f01140022010c001d0109008d010200140161004801
-110022010c001d0109008a01020007013400140131004001110023010c001a0106008a01
-2700430122003b011100230109001e0102008d01140061011c0039010e0020010c00ac01
-0d0072011a00340111001d010c00ff013501170031010e0021010900ff01390115002f01
-0e0021010900ff013e0112002d0111001b010c00ff01410111002e010d001c010c00a301
-02009e01120028010e001c010c00000102009c010200a401110026010e001c0109000001
-02009c010200a9010f0029010b001c01060000010200ff014e010f0026010c001c010200
-ff015b010c0024010e00ff0178010f0022010e00ff017b010c0022010e00ff017d010c00
-20010d00ff017d010d001f010e00bb010200c1010c0020010b0005010200af010200c601
-090020010c0002010200af010200c8010d001d01090002010200ff0180010a001e010600
-ff0189010c001c010200ff018f010a00ff01ae010a00ff01af010a00d8010200d5010a00
-0b010200c4010200d801090009010200c4010200da010a0006010200ff01a5010900ff01
-b2010400ff01b4010200ff01ff018f010200d7010200d9010200d7010200d9010200d701
-0200ff01ff01ff01ff01ff01ff01ff01c4010200c1010200ef010200c1010200ef010200
-c1010200ff01ff01ff01ff01ff01ff0122010200aa010200ff0106010200aa010200ff01
-06010200aa010200ff01ff01ff01ff018201020093010200ff011d01020093010200ff01
-1d01020093010200ff01ff01ff01ff01990102007b010200ff01350102007b010200ff01
-350102007b010200ff014101020062010200ff014e01020062010200ff014e0102006201
-0200ff015b01020049010200ff016701020049010200ff0167010200090102002f010200
-09010200ff0174010200080102001601020009010200ff01810102000801020009010200
-0901020009010200ff018d0102000901020009010200ff01a7010200ff01ff01ff01ff01
-ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01ff01
-ff01ff01e801
-restore grestore
-%
-% End Imported PIC File: /home/farhi/Programs/mcstas/cvs/tex/figures/vitess_fc_parab.gif
-%
-% here ends figure;
-$F2psEnd
-rs
-showpage
-%%Trailer
-%EOF
diff --git a/docs/manuals/mcxtrace/figures/vitess_fc_parab.gif b/docs/manuals/mcxtrace/figures/vitess_fc_parab.gif
deleted file mode 100644
index e207d167f9..0000000000
Binary files a/docs/manuals/mcxtrace/figures/vitess_fc_parab.gif and /dev/null differ
diff --git a/docs/manuals/mcxtrace/figures/vitess_fc_str.eps b/docs/manuals/mcxtrace/figures/vitess_fc_str.eps
deleted file mode 100644
index a22f0d0044..0000000000
--- a/docs/manuals/mcxtrace/figures/vitess_fc_str.eps
+++ /dev/null
@@ -1,590 +0,0 @@
-%!PS-Adobe-2.0 EPSF-2.0
-%%Title: vitess_fc_str.eps
-%%Creator: fig2dev Version 3.2 Patchlevel 5-alpha5
-%%CreationDate: Tue Nov 15 13:48:48 2005
-%%For: farhi@zorro (Emmanuel FARHI)
-%%BoundingBox: 0 0 959 735
-%Magnification: 1.0000
-%%EndComments
-/$F2psDict 200 dict def
-$F2psDict begin
-$F2psDict /mtrx matrix put
-/col-1 {0 setgray} bind def
-/col0 {0.000 0.000 0.000 srgb} bind def
-/col1 {0.000 0.000 1.000 srgb} bind def
-/col2 {0.000 1.000 0.000 srgb} bind def
-/col3 {0.000 1.000 1.000 srgb} bind def
-/col4 {1.000 0.000 0.000 srgb} bind def
-/col5 {1.000 0.000 1.000 srgb} bind def
-/col6 {1.000 1.000 0.000 srgb} bind def
-/col7 {1.000 1.000 1.000 srgb} bind def
-/col8 {0.000 0.000 0.560 srgb} bind def
-/col9 {0.000 0.000 0.690 srgb} bind def
-/col10 {0.000 0.000 0.820 srgb} bind def
-/col11 {0.530 0.810 1.000 srgb} bind def
-/col12 {0.000 0.560 0.000 srgb} bind def
-/col13 {0.000 0.690 0.000 srgb} bind def
-/col14 {0.000 0.820 0.000 srgb} bind def
-/col15 {0.000 0.560 0.560 srgb} bind def
-/col16 {0.000 0.690 0.690 srgb} bind def
-/col17 {0.000 0.820 0.820 srgb} bind def
-/col18 {0.560 0.000 0.000 srgb} bind def
-/col19 {0.690 0.000 0.000 srgb} bind def
-/col20 {0.820 0.000 0.000 srgb} bind def
-/col21 {0.560 0.000 0.560 srgb} bind def
-/col22 {0.690 0.000 0.690 srgb} bind def
-/col23 {0.820 0.000 0.820 srgb} bind def
-/col24 {0.500 0.190 0.000 srgb} bind def
-/col25 {0.630 0.250 0.000 srgb} bind def
-/col26 {0.750 0.380 0.000 srgb} bind def
-/col27 {1.000 0.500 0.500 srgb} bind def
-/col28 {1.000 0.630 0.630 srgb} bind def
-/col29 {1.000 0.750 0.750 srgb} bind def
-/col30 {1.000 0.880 0.880 srgb} bind def
-/col31 {1.000 0.840 0.000 srgb} bind def
-
-end
-save
-newpath 0 735 moveto 0 0 lineto 959 0 lineto 959 735 lineto closepath clip newpath
--104.9 774.0 translate
-1 -1 scale
-
-/cp {closepath} bind def
-/ef {eofill} bind def
-/gr {grestore} bind def
-/gs {gsave} bind def
-/sa {save} bind def
-/rs {restore} bind def
-/l {lineto} bind def
-/m {moveto} bind def
-/rm {rmoveto} bind def
-/n {newpath} bind def
-/s {stroke} bind def
-/sh {show} bind def
-/slc {setlinecap} bind def
-/slj {setlinejoin} bind def
-/slw {setlinewidth} bind def
-/srgb {setrgbcolor} bind def
-/rot {rotate} bind def
-/sc {scale} bind def
-/sd {setdash} bind def
-/ff {findfont} bind def
-/sf {setfont} bind def
-/scf {scalefont} bind def
-/sw {stringwidth} bind def
-/tr {translate} bind def
-/tnt {dup dup currentrgbcolor
- 4 -2 roll dup 1 exch sub 3 -1 roll mul add
- 4 -2 roll dup 1 exch sub 3 -1 roll mul add
- 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb}
- bind def
-/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul
- 4 -2 roll mul srgb} bind def
-/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def
-/$F2psEnd {$F2psEnteredState restore end} def
-
-$F2psBegin
-10 setmiterlimit
-0 slj 0 slc
- 0.06299 0.06299 sc
-%
-% Fig objects follow
-%
-%
-% here starts figure with depth 50
-% Polyline
-%
-% pen to black in case this eps object doesn't set color first
-0 0 0 setrgbcolor
-% Originally from a GIF File: /home/farhi/Programs/mcstas/cvs/tex/figures/vitess_fc_str.gif
-
-% Begin Imported PCX File: /home/farhi/Programs/mcstas/cvs/tex/figures/vitess_fc_str.gif
-
-%***********************************************************************
-%* *
-%* Object: Image decoding PS-routine Date: 01.02.93 *
-%* Author: Evgeni CHERNYAEV (chernaev@vxcern.cern.ch) *
-%* *
-%* Function: Display a run-length encoded color image. *
-%* The image is displayed in color on viewers and printers *
-%* that support color Postscript, otherwise it is displayed *
-%* as grayscale. *
-%* *
-%***********************************************************************
-/byte 1 string def
-/color 3 string def
-systemdict /colorimage known { /cnt 3 def } { /cnt 1 def } ifelse
-/String 256 cnt mul string def
-%***********************************************************************
-/DecodePacket % Decode color packet *
-%***********************************************************************
-{
- currentfile byte readhexstring pop 0 get
- /Nbyte exch 1 add cnt mul def
- /color ColorMap currentfile byte readhexstring pop 0 get get def
- String dup
- 0 cnt Nbyte 1 sub { color putinterval dup } for
- pop 0 Nbyte getinterval
-} bind def
-%***********************************************************************
-/DisplayImage % Display run-length encoded color image *
-%***********************************************************************
-{
- gsave
- currentfile String readline pop
- token { /columns exch def } { } ifelse
- token { /rows exch def pop } { } ifelse
- currentfile String readline pop
- token { /Ncol exch def pop } { } ifelse
- /ColorMap Ncol array def
- systemdict /colorimage known {
- 0 1 Ncol 1 sub {
- ColorMap exch
- currentfile 3 string readhexstring pop put
- } for
- columns rows 8
- [ columns 0 0 rows neg 0 rows ]
- { DecodePacket } false 3 colorimage
- }{
- 0 1 Ncol 1 sub {
- ColorMap exch
- 1 string dup 0
- currentfile color readhexstring pop pop
- color 0 get 0.299 mul
- color 1 get 0.587 mul add
- color 2 get 0.114 mul add
- cvi put put
- } for
- columns rows 8
- [ columns 0 0 rows neg 0 rows ]
- { DecodePacket } image
- } ifelse
- grestore
-} bind def
-n gs
-1665 630 tr
-14.287324 -14.286765 sc
-0 -816 tr
-0 0 tr
-sa
-/showpage {} def
-% PCX image follows:
-1065 816 sc
-%***********************************************
-%* Image decoding *
-%***********************************************
-DisplayImage
-1065 816
-8
-000000336666666666ffffff1a1a1a000000000000000000
-ff03c0036a00ff03ff03ff03b6037800ff03ff03ff03a8038500ff03ff03ff039b033f00
-14033e00ff03ff03ff038d0330003f033000ff03ff03ff038003290059032900ff03ff03
-ff037603270065032700ff03ff03ff036e03250071032500ff03ff03ff03660323007d03
-2300ff03ff03ff035e03210089032100ff03ff03ff0356031f0095031f00ff03ff03ff03
-4e031d00a1031d00ff03ff03ff0346031d00aa031c00ff03ff03ff033e031d00b2031c00
-ff03ff03ff0336031d00ba031c00ff03ff03ff032f031c00c2031b00ff03ff03ff032903
-1b00ca031a00ff03ff03ff0324031900d2031800ff03ff03ff031f031800da031700ff03
-ff03ff0319031700e2031600ff03ff03ff0314031500ea031500ff03ff03ff030e031400
-f2031400ff03ff03ff0308031400f8031300ff03ff03ff0303031400fe031300ff03ff03
-fe031300ff0304031300ff03ff03f8031300ff030a031300ff03ff03f2031300ff031003
-1300ff03ff03ed031200ff0316031200ff03ff03e8031200ff031c031200ff03ff03e203
-1300ff0320031300ff03ff03dd031200ff0326031200ff03ff03d9031100ff032c031100
-ff03ff03d5031000ff0332031000ff03ff03d1030f00ff0338030f00ff03ff03cd030e00
-ff033e030e00ff03ff03c8030e00ff0344030d00ff03ff03c4030e00ff0348030d00ff03
-ff03c0030e00ff034c030e00ff03ff03bb030e00ff0350030e00ff03ff03b7030e00ff03
-54030e00ff03ff03b2030f00ff0358030e00ff03ff03ae030f00ff035c030e00ff03ff03
-aa030f00ff0360030e00ff03ff03a6030e00ff0366030d00ff03ff03a2030e00ff036a03
-0d00ff03ff039e030e00ff036e030d00ff03ff039a030e00ff0372030d00ff03ff039603
-0e00ff0376030d00ff03ff0392030e00ff037a030d00ff03ff038f030d00ff037e030c00
-ff03ff038c030d00ff0382030c00ff03ff0388030d00ff0386030c00ff03ff0385030c00
-ff038a030b00ff03ff0382030c00ff038e030b00ff03ff037e030c00ff0392030b00ff03
-ff037b030c00ff0394030b00ff03ff0378030c00ff0398030b00ff03ff0374030c00ff03
-9b030c00ff03ff0371030c00ff039e030b00ff03ff036e030c00ff03a2030b00ff03ff03
-6a030c00ff03a5030c00ff03ff0367030c00ff03a8030b00ff03ff0364030c00ff03ac03
-0b00ff03ff0360030c00ff03af030c00ff03ff035d030c00ff03b2030b00ff03ff035a03
-0c00ff03b5030c00ff03ff0356030c00ff03b9030c00ff03ff0353030c00ff03bc030b00
-ff03ff0350030c00ff03bf030c00ff03ff034d030b00ff03c3030b00ff03ff034b030b00
-ff03c5030b00ff03ff0348030b00ff03c9030b00ff03ff0345030a00ff03cd030a00ff03
-ff0343030a00ff03cf030a00ff03ff0340030a00ff03d3030a00ff03ff033d030a00ff03
-d5030a00ff03ff033b030a00ff03d7030a00ff03ff0338030a00ff03db030a00ff03ff03
-35030a00ff03dd030a00ff03ff0333030a00ff03e0030900ff03ff0330030a00ff03e303
-0a00ff03ff032d030a00ff03e5030a00ff03ff032b030a00ff03e8030900ff03ff032803
-0a00ff03eb030a00ff03ff0325030a00ff03ee030900ff03ff0323030a00ff03f0030900
-ff03ff0320030a00ff03f3030a00ff03ff031d030a00ff03f6030900ff03ff031b030a00
-ff03f8030900ff03ff0318030a00ff03fb030a00ff03ff0315030a00ff03fe030900ff03
-ff0313030a00ff03ff0300030900ff03ff0311030900ff03ff0304030800ff03ff030f03
-0900ff03ff0306030800ff03ff030c030a00ff03ff0308030900ff03ff0309030900ff03
-ff030c030800ff03ff0307030900ff03ff030e030800ff03ff0305030900ff03ff031003
-0800ff03ff0303030900ff03ff0312030800ff03ff0301030800ff03ff0315030800ff03
-ff030800ff03ff0318030700ff03fc030900ff03ff031a030800ff03f9030900ff03ff03
-1c030800ff03f7030900ff03ff031e030800ff03f5030900ff03ff0320030800ff03f303
-0900ff03ff0322030800ff03f1030800ff03ff0325030800ff03ee030900ff03ff032703
-0900ff03eb030900ff03ff0329030900ff03e9030900ff03ff032c030800ff03e7030900
-ff03ff032e030800ff03e5030900ff03ff0330030800ff03e3030800ff03ff0333030800
-ff03e1030800ff03ff0335030800ff03de030900ff03ff0337030900ff03db030900ff03
-ff0339030900ff03d9030900ff03ff033b030900ff03d7030900ff03ff033d030900ff03
-d5030900ff03ff0340030800ff03d3030800ff03ff0343030800ff03d1030800ff03ff03
-45030800ff03cf030800ff03ff0347030800ff03cd030800ff03ff0349030800ff03cb03
-0800ff03ff034b030800ff03c9030800ff03ff034d030800ff03c8030700ff03ff034f03
-0700ff03c7030700ff03ff0351030700ff03c5030700ff03ff0353030700ff03c3030700
-ff03ff0355030700ff03c1030800ff03ff0355030800ff03bf030800ff03ff0357030800
-ff03bd030800ff03ff0359030800ff03bb030800ff03ff035b030800ff03b9030800ff03
-ff035d030800ff03b7030800ff03ff035f030800ff03b5030800ff03ff0361030800ff03
-b3030800ff03ff0363030800ff03b1030800ff03ff0365030800ff03af030800ff03ff03
-67030800ff03ae030700ff03ff0369030700ff03ad030700ff03ff036b030700ff03ab03
-0700ff03ff036d030700ff03a9030700ff03ff036f030700ff03a7030800ff03ff036f03
-0800ff03a5030800ff03ff0371030800ff03a3030800ff03ff0373030800ff03a1030800
-ff03ff0375030800ff039f030800ff03ff0377030800ff039e030700ff03ff0379030800
-ff039c030700ff03ff037b030700ff039b030700ff03ff037d030700ff0399030700ff03
-ff037f030700ff0398030600ff03ff0381030700ff0396030700ff03ff0381030700ff03
-95030700ff03ff0383030700ff0393030700ff03ff0385030700ff039203ff00ff008f00
-ff039703ff00ff009000ff039d03ff00ff008a00ff039d03ff00ff008a00ff039d03ff00
-ff008a00ff039d03ff00ff008a00ff039d03ff00ff008a00ff03ff0335030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff00
-6b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff00
-6b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03
-bc03ff006b00ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc03ff006b00ff03ff03bc03ff00
-6b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03
-bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff00
-6b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03
-ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff00
-6b00ff03ff03bc03ff006b00ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ca03090107030601d803ff006b00ff03c7030c0105030901
-d703ff006b00ff03c9030a0104030a01d703ff006b00ff03ca03080104030b01d703ff00
-6b00ff03ca03080103030c01d703ff006b00ff03ca0308010203020102030701d703ff00
-6b00ff03ca0307010203020103030701d7030500ff035e030600ff03ca03070102030101
-03030801d7030500ff035e030600ff03ca0307010103010104030801d7030500ff035e03
-0600ff03c90307010103010105030801d7030500ff035e030600ff03c903070100030101
-06030801d7030500ff035e030600ff03c90307010003010105030801d8030500ff035e03
-0600ff03c8030a0106030801d8030500ff035e030600ff03c803090107030801d8030500
-ff035e030600ff03c803090106030801d9030500ff035e030600ff03c703090107030801
-d9030500ff035e030600ff03c703080108030801d9030500ff035e030600ff03c7030801
-08030701da030500ff035e030600ff03c703070108030801da030500ff035e030600ff03
-c603080108030801da030500ff035e030600ff03c603070109030701db030500ff035e03
-0600ff03c603070108030801db030500ff035e030600ff03c503080108030801db030500
-ff035e030600ff03c503070109030701dc030500ff035e030600ff03c503070108030801
-03030001d7030500ff035e030600ff03c50307010803080102030101d7030500ff035e03
-0600ff03c40308010803070102030101d8030500ff035e030600ff03c403070109030701
-01030201d8030500ff035e030600ff03c403070109030b01d9030500ff035e030600ff03
-c303080109030a01da030500ff035e030600ff03c30307010b030701dc030500ff035e03
-0600ff03d8030401de03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03
-ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500a50305040f0305049c030600ff03ff03bc030500a60305040e0304049d030600
-ff03ff032203010097030500a70304040d0304049e030600ff03ff032203030095030500
-a80304040c0304049e030600ff03ff032303040093030500a80304040b0304049f030600
-ff03ff032303070090030500a903040409030404a0030600ff03ff03230309008e030500
-a903050408030404a0030600ff03ff0323030b008c030500aa03040407030404a1030600
-ff03ff0324030c008a030500ab03040405030404a2030600ff03ff0324030f0087030500
-ab03040405030404a2030600ff03ff032503100085030500ac03040403030404a3030600
-ff03ff032503120083030500ad03040401030404a4030600ff03ff032503150080030500
-ad03040401030404a4030600ff03ff03250317007e030500ae030904a5030600ff03ff03
-260318007c03b4000804ad00ff03ff0326031a007a03b5000704ad00ff037403cf007703
-b6000504ae00ff037403d1007503b6000504ae00ff037403d3007303b5000604ae00ff03
-7403d5007103b5000704ad00ff037403d3007303b4000804ad00ff037403d10075030500
-ad03040400030404a5030600ff03ff0326031c0078030500ad03040401030404a4030600
-ff03ff0326031a007a030500ac030404020304042703030078030600ff03ff0326031800
-7c030500ab030404040304042003090078030600ff03ff03250316007f030500ab030404
-0403050419030e0079030600ff03ff032503140081030500aa0304040603040415031200
-79030600ff03ff032503110084030500aa030304080304041503110079030600ff03ff03
-25030f0086030500a9030404080304041603100079030600ff03ff0324030d0089030500
-a80304040a03040416030e007a030600ff03ff0324030b008b030500a80304040a030504
-16030d007a030600ff03ff03230309008e030500a70304040c03040417030c007a030600
-ff03ff032303070090030500a60304040e03040417030a000003020077030600ff03ff03
-2303050092030500a60304040e030404180309000303020074030600ff03ff0323030200
-95030500a503040410030404180308000603020071030600ff03ff032203010097030500
-a403040411030504180306000a0302006e030600ff03ff03bc030500db0305000d030200
-6b030600ff03ff03bc030500dc0304001003020068030600ff03ff03bc030500dd030300
-1303020065030600ff03ff03bc030500de0301001703020062030600ff03ff03bc030500
-df0300001a0302005f030600ff03ff03bc030500fe0302005c030600ff03ff03bc030500
-ff030103020059030600ff03ff03bc030500ff030403020056030600ff03ff03bc030500
-ff030703020053030600ff03ff03bc030500ff030a03020050030600ff03ff03bc030500
-ff030d0302004d030600ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03
-ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03
-ff03bc030500ff0322030200380306005703030237030302ff03ff0324030500ff032503
-02003503060057030302370303020a030302ad030302ff0363030500ff03280303003103
-060057030302370303020a030302ad030302ff0363030500ff032c0302002e0306005703
-0302370303020a030302ad030302ff0363030500ff032f0302002b030600570303023703
-03020a030302ad030302ff0363030500ff03320302002803060057030302370303020a03
-0302ad030302ff0363030500ff03350302002503060057030302370303020a030302ad03
-0302ff0363030500ff03380302002203060057030302370303020a030302ad030302ff03
-63030500ff033b0302001f0306005703030237030302ff03ff0324030500ff033e030200
-1c0306005703030237030302ff03ff0324030500ff034103020019030600570303023703
-0302ff03ff0324030500ff034403020016030600240303020e0308021603030216030902
-16030302220308021d0308022f03090241030602ff034e030500ff034703020013030600
-1b030302020305020b030e020c0311020c030f0205030302020311020303030210030e02
-0f03030203030e0229030f0205030302020305020f030502030303020b030a02ff034c03
-0500ff034a030200100306001b03030200030702090312020a0311020a03130203030302
-02031102030303020e0312020d030302010312022503130203030302030305020e030402
-0403030209030d02ff034b030500ff034d0302000d0306001b030c020803140209031102
-090315020203030202031102030303020d0314020c030302000314022303150202030302
-040304020d0304020503030208030f02ff034a030500ff03500302000a0306001b030902
-09030702070308020703110207030802060308020103030202031102030303020b030702
-070308020a030b0206030702200308020603080201030302050304020c03040205030302
-0803040205030502ff0349030500ff0353030200070306001b0307020a0306020c030602
-0d0303020d0306020c03060200030302090303020a0303020a0306020c03060209030802
-0c0305021e0306020c03060200030302050304020b030402060303020703040207030402
-ff0349030500ff0356030200040306001b0305020b030502100305020c0303020c030502
-10030902090303020a0303020903050210030502080307020e0304021d03050210030902
-0603040209030402070303020703030209030302ff0349030500ff035903020001030600
-1b0305020b030402120304020c0303020c03040212030802090303020a03030209030402
-1203040208030602100304021c0304021203080206030502080304020703030206030302
-0a030402ff0348030500ff035c0308001b0304020b030402140304020b0303020b030402
-14030702090303020a030302080304021403040207030502110304021b03040214030702
-070304020703040208030302060303020b030302ff034803ff006b001b0304020a030402
-160304020a0303020a03040216030602090303020a030302070304021603040206030402
-130303021a03040216030602080304020503040209030302060303020b030302ff034803
-ff006b001b0303020b030302180303020a0303020a03030218030502090303020a030302
-070303021803030206030402130304021903030218030502080304020503040209030302
-06030302ff035803ff006e00180303020a03040218030402090303020903040218030502
-090303020a03030206030402180304020503040214030302180304021803050209030402
-030304020a03030206030302ff035803ff006b0002030200150303020a0303021a030302
-09030302090303021a030402090303020a030302060303021a0303020503030215030302
-180303021a0304020a030402010304020b03030206030402ff035703ff006b0005030200
-120303020a0303021a03030209030302090303021a030402090303020a03030206030302
-1a0303020503030215030302180303021a0304020a030402010304020b03030207030402
-ff035603ff006b00080302000f030302090303021c03030208030302080304021b030302
-090303020a030302050303021c0303020403030215030302170304021b0303020b030902
-0c03030207030502ff035503ff006b000b0300000e030302090303021c03030208030302
-080303021c030302090303020a030302050303021c030302040303021503030217030302
-1c0303020b0308020d03030208030602ff0353030500ff035e0306001b03030209030302
-1c03030208030302080303021c030302090303020a030302050303021c03030204030302
-15030302170303021c0303020c0307020d03030208030a02ff034f030500ff035e030600
-1b030302090303021c03030208030302080303021c030302090303020a03030205030302
-1c0303020403030215030302170303021c0303020d0305020e0303020a030a02ff034d03
-0500ff035e0306001b030302090303021c03030208030302080303021c03030209030302
-0a030302050303021c0303020403030215030302170303021c0303020d0305020e030302
-0c030a02ff034b030500ff035e0306001b030302090303021c0303020803030208030302
-1c030302090303020a030302050303021c0303020403030215030302170303021c030302
-0c0306020e0303020e030902ff034a030500ff035e0306001b030302090303021c030302
-08030302080303021c030302090303020a030302050303021c0303020403030215030302
-170303021c0303020c0307020d03030211030702ff0349030500ff035e0306001b030302
-090303021c03030208030302080303021c030302090303020a030302050303021c030302
-0403030215030302170303021c0303020b0308020d03030213030602ff0348030500ff03
-5e0306001b030302090303021c03030208030302080303021b030402090303020a030302
-050303021c0303020403030215030302170303021b0304020a030402000304020c030302
-15030402ff0348030500ff035e0306001b0303020a0303021a0303020903030209030302
-1a030402090303020a030302060303021a0303020503030215030302180303021a030402
-0a030402010304020b03030216030402ff0347030500ff035e0306001b0303020a030302
-1a03030209030302090303021a030402090303020a030302060303021a03030205030302
-15030302180303021a03040209030402020304020b03030216030402ff0347030500ff03
-5e0306001b0303020a03040218030402090303020903040218030502090303020a030302
-06030402180304020503030215030302180304021803050208030402040304020a030302
-040303020e030302ff0347030500ff035e0306001b0303020b030302180303020a030302
-0a03030217030602090303020a0303020703030218030302060303021503030219030302
-17030602080304020403050209030302040303020e030302ff0347030500ff035e030600
-1b0303020b030402160304020a0303020a03040216030602090303020a03030207030402
-160304020603030215030302190304021603060207030402060304020903030204030302
-0e030302ff0347030500ff035e0306001b0303020c030402140304020b0303020b030402
-14030702090303020a030302080304021403040207030302150303021a03040214030702
-070303020803040208030302040304020d030302ff0347030500ff035e0306001b030302
-0d030402120304020c0303020b03050212030802090303020a0303020903040212030402
-08030302150303021a03050212030802060304020803040208030302050303020c030402
-ff0347030500ff035e0306001b0303020d030502100305020c0303020c03050210030902
-090303020a030302090305021003050208030302150303021b0305021003090205030402
-0a03040207030302050304020b030302ff0348030500ff035e0306001b0303020e030602
-0c0306020d0303020d0306020c03060200030302090303020a0303020a0306020c030602
-09030302150303021c0306020c03060200030302050304020a0305020603030206030402
-09030402ff0348030500ff035e0306001b0303020f030802070307020e0303020e030802
-0603080201030302090303020a0303020b030802070307020a030302150303021d030802
-0603080201030302040304020c030402060303020603060205030502ff0349030500ff03
-5e0306001b03030211031402100303021003150202030302090303020a0303020d031402
-0c030302150303021f03150202030302030304020e0304020503030207031002ff034a03
-0500ff035e0306001b03030212031202110303021103130203030302090303020a030302
-0e0312020d030302150303022003130203030302030304020e0304020503030208030e02
-ff034b030500ff035e0306001b03030214030e021303030213030f020503030209030302
-0a03030210030e020f0303021503030222030f0205030302020304021003040204030302
-09030c02ff034c030500ff035e0306001b03030217030802160303021603080209030302
-090303020a03030213030802120303021503030225030802090303020103040211030502
-030303020c030602ff034f030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03
-ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc03ff006b00ff03ff03bc03ff00
-6b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03
-bc03ff006b00ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc03ff006b00ff03ff03bc03ff006b00
-ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03
-ff006b00ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc03ff006b00ff03ff03bc03ff006b00
-ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03
-ff006b00ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03
-ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03ff03bc03ff006b00ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e03
-0600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc03
-0500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600
-ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500
-ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03
-ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff03
-5e030600ff03ff03bc030500ff035e030600ff03ff03bc030500ff035e030600ff03ff03
-2403ff00ff008a00ff039d03ff00ff008a00ff039d03ff00ff008a00ff039d03ff00ff00
-8a00ff039d03ff00ff008a00ff039d03ff00ff008a00ff039d03ff00ff008a00ff039a03
-0700ff03ff0381030700ff0396030700ff03ff0381030700ff0397030700ff03ff037f03
-0700ff0399030700ff03ff037d030700ff039b030700ff03ff037b030700ff039c030800
-ff03ff0379030800ff039d030800ff03ff0377030800ff039f030800ff03ff0375030800
-ff03a1030800ff03ff0373030800ff03a3030800ff03ff0371030800ff03a5030800ff03
-ff036f030800ff03a7030700ff03ff036f030700ff03a9030700ff03ff036d030700ff03
-ab030700ff03ff036b030700ff03ad030700ff03ff0369030700ff03ae030800ff03ff03
-67030800ff03af030800ff03ff0365030800ff03b1030800ff03ff0363030800ff03b303
-0800ff03ff0361030800ff03b5030800ff03ff035f030800ff03b7030800ff03ff035d03
-0800ff03b9030800ff03ff035b030800ff03bb030800ff03ff0359030800ff03bd030800
-ff03ff0357030800ff03bf030800ff03ff0355030800ff03c1030700ff03ff0355030700
-ff03c3030700ff03ff0353030700ff03c5030700ff03ff0351030700ff03c7030700ff03
-ff034f030700ff03c8030800ff03ff034d030800ff03c9030800ff03ff034b030800ff03
-cb030800ff03ff0349030800ff03cd030800ff03ff0347030800ff03cf030800ff03ff03
-45030800ff03d1030800ff03ff0343030800ff03d3030900ff03ff0340030800ff03d503
-0900ff03ff033d030900ff03d7030900ff03ff033b030900ff03d9030900ff03ff033903
-0900ff03db030900ff03ff0337030900ff03de030800ff03ff0335030800ff03e1030800
-ff03ff0333030800ff03e3030900ff03ff0330030800ff03e5030900ff03ff032e030800
-ff03e7030900ff03ff032c030800ff03e9030900ff03ff0329030900ff03eb030900ff03
-ff0327030900ff03ee030800ff03ff0325030800ff03f1030900ff03ff0322030800ff03
-f3030900ff03ff0320030800ff03f5030900ff03ff031e030800ff03f7030900ff03ff03
-1c030800ff03f9030900ff03ff031a030800ff03fc030800ff03ff0318030700ff03ff03
-0800ff03ff0315030800ff03ff0301030900ff03ff0312030800ff03ff0303030900ff03
-ff0310030800ff03ff0305030900ff03ff030e030800ff03ff0307030900ff03ff030c03
-0800ff03ff0309030a00ff03ff0308030900ff03ff030c030900ff03ff0306030800ff03
-ff030f030900ff03ff0304030800ff03ff0311030a00ff03ff0300030900ff03ff031303
-0a00ff03fe030900ff03ff0316030900ff03fb030900ff03ff0319030a00ff03f8030900
-ff03ff031b030a00ff03f6030900ff03ff031e030900ff03f3030900ff03ff0321030a00
-ff03f0030900ff03ff0323030a00ff03ed030a00ff03ff0326030900ff03eb030900ff03
-ff0329030a00ff03e8030900ff03ff032b030a00ff03e5030a00ff03ff032e030900ff03
-e3030900ff03ff0331030a00ff03e0030900ff03ff0333030a00ff03dd030a00ff03ff03
-36030900ff03db030900ff03ff0339030a00ff03d7030a00ff03ff033b030a00ff03d503
-0a00ff03ff033e030900ff03d3030900ff03ff0341030a00ff03cf030a00ff03ff034303
-0a00ff03cd030a00ff03ff0346030a00ff03c9030a00ff03ff0349030b00ff03c5030b00
-ff03ff034b030b00ff03c3030b00ff03ff034e030b00ff03bf030b00ff03ff0351030c00
-ff03bc030b00ff03ff0353030c00ff03b9030c00ff03ff0356030c00ff03b5030c00ff03
-ff035a030c00ff03b2030b00ff03ff035d030c00ff03af030c00ff03ff0360030c00ff03
-ab030c00ff03ff0364030c00ff03a8030b00ff03ff0367030c00ff03a5030c00ff03ff03
-6a030c00ff03a2030b00ff03ff036e030c00ff039e030b00ff03ff0371030c00ff039b03
-0c00ff03ff0374030c00ff0398030b00ff03ff0378030c00ff0394030b00ff03ff037b03
-0c00ff0392030b00ff03ff037e030c00ff038e030b00ff03ff0382030c00ff038a030b00
-ff03ff0385030d00ff0386030c00ff03ff0388030d00ff0382030c00ff03ff038c030d00
-ff037e030c00ff03ff038f030e00ff037a030d00ff03ff0392030e00ff0376030d00ff03
-ff0396030e00ff0372030d00ff03ff039a030e00ff036e030d00ff03ff039e030e00ff03
-6a030d00ff03ff03a2030f00ff0364030e00ff03ff03a6030f00ff0360030e00ff03ff03
-aa030f00ff035c030e00ff03ff03ae030f00ff0358030e00ff03ff03b3030e00ff035403
-0e00ff03ff03b7030e00ff0350030e00ff03ff03bb030e00ff034c030d00ff03ff03c003
-0e00ff0348030d00ff03ff03c4030e00ff0344030d00ff03ff03c9030e00ff033e030e00
-ff03ff03cd030f00ff0338030f00ff03ff03d1031000ff0332031000ff03ff03d5031100
-ff032c031100ff03ff03d9031200ff0326031200ff03ff03dd031300ff0320031300ff03
-ff03e2031300ff031a031300ff03ff03e8031200ff0316031200ff03ff03ed031300ff03
-10031300ff03ff03f2031300ff030a031300ff03ff03f8031300ff0304031300ff03ff03
-fd031400fe031300ff03ff03ff0303031400f8031300ff03ff03ff0309031400f1031500
-ff03ff03ff030e031500e9031600ff03ff03ff0313031700e1031700ff03ff03ff031903
-1800d9031800ff03ff03ff031f031900d1031900ff03ff03ff0324031b00c9031b00ff03
-ff03ff0329031c00c1031c00ff03ff03ff0330031c00b9031c00ff03ff03ff0338031c00
-b1031c00ff03ff03ff0340031c00a9031c00ff03ff03ff0348031c00a1031c00ff03ff03
-ff0350031e0095031e00ff03ff03ff035803200089032000ff03ff03ff03600322007d03
-2200ff03ff03ff036803240071032400ff03ff03ff037003260065032600ff03ff03ff03
-7803280059032800ff03ff03ff03810330003f033000ff03ff03ff038d033f0014033e00
-ff03ff03ff039b038500ff03ff03ff03a9037800ff03ff03ff03b6036a00ff03fc03
-restore grestore
-%
-% End Imported PIC File: /home/farhi/Programs/mcstas/cvs/tex/figures/vitess_fc_str.gif
-%
-% here ends figure;
-$F2psEnd
-rs
-showpage
-%%Trailer
-%EOF
diff --git a/docs/manuals/mcxtrace/figures/vitess_fc_str.gif b/docs/manuals/mcxtrace/figures/vitess_fc_str.gif
deleted file mode 100644
index d15bfca43b..0000000000
Binary files a/docs/manuals/mcxtrace/figures/vitess_fc_str.gif and /dev/null differ
diff --git a/docs/manuals/mcxtrace/kernel.tex b/docs/manuals/mcxtrace/kernel.tex
index e39dcc5ad2..98f9cacc47 100644
--- a/docs/manuals/mcxtrace/kernel.tex
+++ b/docs/manuals/mcxtrace/kernel.tex
@@ -321,8 +321,7 @@ \subsection{The \texttt{NEXUS} extension}
\ref{f:simoptions}).
Then, the output format is chosen as usual with the \verb+--format=NeXus+ option when launching the simulation. All output files are stored in the output \textit{filename}, as well
-as the instrument description itself. Other formats are still available. When run on a distributed system (e.g. MPI), detectors are gathered, but list of events (see e.g. component
-Virtual\_output) are stored as one data set per node.
+as the instrument description itself. Other formats are still available. When run on a distributed system (e.g. MPI), detectors are gathered, but list of events are stored as one data set per node.
\subsection{The \texttt{TRACE} section}
\index{Keyword!TRACE}
diff --git a/docs/manuals/mcxtrace/kernelcalls.tex b/docs/manuals/mcxtrace/kernelcalls.tex
index 6dca4be1a6..fbc7611b7d 100644
--- a/docs/manuals/mcxtrace/kernelcalls.tex
+++ b/docs/manuals/mcxtrace/kernelcalls.tex
@@ -432,16 +432,6 @@ \section{Reading a data file into a vector/matrix (Table input, \texttt{read\_ta
%and {\bfseries Adapt\_check}. It performs adaptive importance sampling of x-rays for simulation efficiency optimization.
%Refer to these components for implementation examples, and ask the authors for more details.
%
-%\section{Vitess import/export Library}
-%\index{Library!vitess-lib}
-%
-%This library is used by the components
-%{\bfseries Vitess\_input} and {\bfseries Vitess\_output},
-%as well as the \verb+mcstas2vitess+ utility.
-%% (see section~\ref{s:mcstas2vitess}).
-%\index{Tools!mcstas2vitess}
-%Refer to these components for implementation examples, and ask the authors for more details.
-
\section{Constants for unit conversion etc.}
The following predefined constants are useful for conversion
between units
diff --git a/docs/manuals/mcxtrace/running.tex b/docs/manuals/mcxtrace/running.tex
index 6f62affdfb..a6a01a6041 100644
--- a/docs/manuals/mcxtrace/running.tex
+++ b/docs/manuals/mcxtrace/running.tex
@@ -483,13 +483,10 @@ \subsection{Choosing an output data file format}
rather than any particular code's native event format. This is the
recommended way to exchange x-ray events between \MCX/McXtrace and other
Monte Carlo codes.\index{MCPL} The older, code-specific event-file
-components (\texttt{Virtual\_input}/\texttt{Virtual\_output},
-\texttt{Virtual\_mcnp\_input}/\texttt{Virtual\_mcnp\_output},
-\texttt{Virtual\_tripoli4\_input}/\texttt{Virtual\_tripoli4\_output},
-\texttt{Vitess\_input}/\texttt{Vitess\_output}) still exist for backward
-compatibility, but have moved to the \texttt{obsolete} component category
-(see the Component Manual) and are no longer recommended for new
-instrument work in favour of MCPL.\index{Vitess} \index{Tripoli} \index{MCNP}
+components are gone: \texttt{Virtual\_input}/\texttt{Virtual\_output} stop with an
+error, and the MCNP/Tripoli4-specific readers/writers have been removed. Use
+\texttt{MCPL\_input}/\texttt{MCPL\_output} instead; MCNP surface-source (SSW) files
+convert to and from MCPL with the \texttt{ssw2mcpl}/\texttt{mcpl2ssw} tools.\index{MCNP}
Additionally, adding the \texttt{raw} keyword to the FORMAT will produce raw
$[N, p, p^2]$ data sets instead of $[N, p, \sigma]$ (see Section
diff --git a/docs/manuals/mcxtrace/sources/sources.tex b/docs/manuals/mcxtrace/sources/sources.tex
index 701ff38ff8..4936d1cfd2 100644
--- a/docs/manuals/mcxtrace/sources/sources.tex
+++ b/docs/manuals/mcxtrace/sources/sources.tex
@@ -146,7 +146,6 @@ \section{Other sources components: virtual sources (event files)}
%See section \ref{virtual_input}.}
%\item{\textbf{contrib/Virtual\_tripoli4\_input} does the same, but from event files (text format) obtained from the \emph{Tripoli4} \cite{tripoli_webpage} reactor simulation program. Such files are usually huge.\index{Tripoli}}
%\item{\textbf{contrib/Virtual\_mcnp\_input} can read MCNP "PTRAC" event files (text format) obtained from the \emph{MCNP} \cite{mcnp_webpage} reactor simulation program. Such files are usually huge.\index{MCNP}}
-%\item{\textbf{misc/Vitess\_input} can read \emph{Vitess} \cite{vitess_webpage} neutron event binary files.\index{Vitess}}
%\item{\textbf{optics/Filter\_gen} reads a 1D distribution from a file, and may either modify or set the flux according to it. See section \ref{filter-gen}.}
%\end{itemize}
diff --git a/mccode/nlib/share/vitess-lib.c b/mccode/nlib/share/vitess-lib.c
deleted file mode 100644
index f5a2a5b623..0000000000
--- a/mccode/nlib/share/vitess-lib.c
+++ /dev/null
@@ -1,467 +0,0 @@
-/*******************************************************************************
-*
-* McStas, neutron ray-tracing package
-* Copyright 1997-2002, All rights reserved
-* Risoe National Laboratory, Roskilde, Denmark
-* Institut Laue Langevin, Grenoble, France
-*
-* Library: share/vitess-lib.c
-*
-* %Identification
-* Written by: KN, EF
-* Date: Aug 28, 2002
-* Origin: Risoe
-* Release: McStas 1.6
-* Version: $Revision$
-*
-* This file is to be imported by the mcstas2vitess perl script
-* It handles the way Vitess parses parameters.
-* Functions are imported in the Virtual_imput and Virtual_output
-* components. Embedded within instrument if MC_EMBEDDED_RUNTIME is defined.
-*
-* Usage: within SHARE
-* %include "vitess-lib"
-*
-*******************************************************************************/
-
-#ifndef VITESS_LIB_H
-#error McStas : please import this library with %include "vitess-lib"
-#endif
-
-/********************************************************************************************/
-#ifdef WIN32
-# include
-# include
-# define cSlash '\\'
-#else
-# define cSlash '/'
-#endif
-
-double dTimeMeas = 0.0, /* time of measurement [s] */
- dLmbdWant = 0.0, /* desired wavelength [Ang] */
- dFreq = 0.0; /* frequency of the soure [Hz] */
-
-long BufferSize; /* size of the neutron input and output buffer */
-Neutron* InputNeutrons; /* input neutron Buffer */
-Neutron* OutputNeutrons; /* output neutron buffer */
-
-double wei_min=0.0; /* Minimal weight for tracing neutron */
-long keygrav=1;
-short bTrace=FALSE, /* criterion: write trace files */
- bOldFrame=FALSE, /* criterion: co-ordinate system of prev. module used for current module */
- bSepRate=FALSE; /* criterion: write separate count rates */
-char* ParDirectory; /* parameter directory */
-int ParDirectoryLength;
-
-/* Convert McStas state parameters to VITESS Neutron structure. In
- VITESS, the neutron velocity is represented by a wavelength in
- AAngstroem and a unit direction vector, time is in msec and
- positions are in cm.*/
-Neutron mcstas2vitess(double x, double y, double z,
- double vx, double vy, double vz,
- double t,
- double sx, double sy, double sz,
- double p)
-{
- static unsigned long i=0;
- double v,s; /* Neutron speed */
- Neutron neu; /* Vitess Neutron structure */
-
- neu.Position[0] = z*100; /* Convert position from m to cm */
- neu.Position[1] = x*100;
- neu.Position[2] = y*100;
- v = sqrt(vx*vx + vy*vy + vz*vz);
- if(v == 0.0)
- {
- fprintf(stderr, "Error: zero velocity! (mcstas2vitess)\n");
- exit(1);
- }
- neu.Wavelength = 3956.0346/v; /* Convert speed to wavelength */
- neu.Vector[0] = vz/v; /* Convert velocity to unit direction vector */
- neu.Vector[1] = vx/v;
- neu.Vector[2] = vy/v;
- s = sqrt(sx*sx+sy*sy+sz*sz);
- if(s != 0.0)
- {
- neu.Spin[0] = sz/s;
- neu.Spin[1] = sx/s;
- neu.Spin[2] = sy/s;
- }
-
- neu.Time = t*1000; /* Convert time from sec to msec */
- neu.Probability = p; /* Neutron weight */
- neu.Color = 0;
- neu.Debug = 'N';
- neu.ID.IDGrp[0] = 'A';
- neu.ID.IDGrp[1] = 'A';
- neu.ID.IDNo = i++;
- return neu;
-}
-
-/* Convert VITESS neutron structure to McStas state parameters. In
- VITESS, the neutron velocity is represented by a wavelength in
- AAngstroem and a unit direction vector, time is in msec and
- positions are in cm. */
-void vitess2mcstas(Neutron neu,
- double *x, double *y, double *z,
- double *vx, double *vy, double *vz,
- double *t,
- double *sx, double *sy, double *sz,
- double *p)
-{
- double v; /* Neutron speed */
-
- *x = 0.01*neu.Position[1]; /* Convert position from cm to m */
- *y = 0.01*neu.Position[2];
- *z = 0.01*neu.Position[0];
- if(neu.Wavelength == 0.0)
- {
- fprintf(stderr, "Error: zero wavelength! (mcstas2vitess: )\n");
- exit(1);
- }
- v = 3956.0346/neu.Wavelength; /* Convert wavelength to speed */
- *vx = v*neu.Vector[1]; /* Convert unit direction vector to velocity */
- *vy = v*neu.Vector[2];
- *vz = v*neu.Vector[0];
- *sx = neu.Spin[1];
- *sy = neu.Spin[2];
- *sz = neu.Spin[0];
- *t = 0.001*neu.Time; /* Convert msec to sec */
- *p = neu.Probability; /* Neutron weight */
-}
-
-/* Standard VITESS option parsing. */
-char *vitess_infile; /* Neutron input file name, or NULL. */
-char *vitess_outfile; /* Neutron output file name, or NULL. */
-int vitess_tracepoints; /* If true, use dots as progress-indicator */
-int vitess_repcnt; /* Number of times to repeat this neutron */
-int vitess_bufsize; /* The buffer size for neutron read/write */
-
-void
-vitess_option_error(char *opt)
-{
- fprintf(stderr, "Error: Invalid VITESS option '%s'\n", opt);
- exit(1);
-}
-
-void
-vitess_parseopt(int argc, char *argv[],
- double *dptr[], char dchr[], char **sptr[], char schr[])
-{
- int i, j;
-
- /* Initialize variables to defaults. */
- vitess_infile = NULL;
- vitess_outfile = NULL;
- vitess_tracepoints = 0;
- vitess_repcnt = 1;
- vitess_bufsize = 10000;
- for(i = 0; dptr[i]; i++)
- *dptr[i] = 0; /* Set all double parameters to zero */
- for(i = 0; sptr[i]; i++)
- *sptr[i] = NULL; /* Set all string parameters to NULL */
-
- /* Now loop over all option arguments. */
- for(i = 1; i < argc; i++)
- {
- if(argv[i][0] != '-')
- vitess_option_error(argv[i]);
-
- if (argv[i][0] == '-' && (argv[i][1] == '-'))
- { switch(argv[i][2])
- {
- case 'f':
- vitess_infile = &argv[i][3];
- break;
- case 'F':
- vitess_outfile = &argv[i][3];
- break;
- case 'J':
- vitess_tracepoints = 1;
- break;
- case 'L':
- if(!freopen(&argv[i][3], "wt", stderr))
- {
- fprintf(stderr, "Can't open %s for output!\n", &argv[i][2]);
- exit(1);
- }
- LogFilePtr=stderr;
- break;
- case 'Z':
- srandom(atol(&(argv[i][3])));
- break;
- case 'G':
- mcgravitation = atol(&(argv[i][3]));
- keygrav = mcgravitation;
- break;
- case 'B':
- vitess_bufsize = atol(&(argv[i][3]));
- break;
- case 'P':
- setParDirectory(&argv[i][3]);
- break;
- case 'U':
- wei_min = atof(&(argv[i][3])); /* minimal weight for tracing neutron */
- }
- }
- else
- { /* First look for a matching double parameter. */
- for(j = 0; dchr[j]; j++)
- {
- if(argv[i][1] == dchr[j])
- {
- *dptr[j] = atof(&(argv[i][2]));
- goto end_loop;
- }
- }
- if(!dchr[j])
- {
- /* Then look for a matching string parameter. */
- for(j = 0; schr[j]; j++)
- {
- if(argv[i][1] == schr[j])
- {
- *sptr[j] = &(argv[i][2]);
- goto end_loop;
- }
- }
- if(!schr[j])
- vitess_option_error(argv[i]);
- }
- }
-end_loop:
- continue;
- }
-}
-
-void WriteInstrData(long nModuleNo, VectorType Pos, double dLength, double dRotZ, double dRotY)
-{
- FILE* pFile=NULL;
- char *pBuffer, sBuffer[CHAR_BUF_SMALL+1];
- int m, i;
-
- /* source module writes header lines */
- if (nModuleNo==0)
- { pFile = fopen( FullParName("instrument.inf"), "w");
- fprintf(pFile, "# No ID module len [m] x [m] y [m] z [m] hor. [deg] ver. W-Par. H-Par. R-Par number type Description\n");
- fprintf(pFile, "# ------------------------------------------------------------------------------------------------------------------------------------------------\n");
- }
- /* first module of 2nd, 3rd ... part re-writes file up to end of previous part */
- else if (vitess_infile!=NULL)
- { i=-1;
- pFile = fopen(FullParName("instrument.inf"), "r");
- pBuffer=malloc(CHAR_BUF_SMALL*(nModuleNo+3+3));
- for (m=-2; m 0)
- fprintf(pFile, "EOP\n");
- fclose(pFile);
- }
-}
-
-void ReadInstrData(long* pModuleNo, VectorType Pos, double* pLength, double* pRotZ, double* pRotY)
-{
- FILE* pFile=NULL;
- int nModuleID;
- long No=0, nDum;
- char sBuffer[CHAR_BUF_LENGTH]="", sLine[CHAR_BUF_LENGTH]="", sLineH[CHAR_BUF_LENGTH]="";
-
- *pModuleNo = 0;
- Pos[0] = Pos[1] = Pos[2] = 0.0;
- *pLength = 0.0;
- *pRotY = 0.0;
- *pRotZ = 0.0;
-
- pFile = fopen(FullParName("instrument.inf"), "r");
- if (pFile)
- {
- if (vitess_infile==NULL)
- { /* Read last line and copy content, except:
- lines containing F at pos 116-118, they have not a new frame) */
- while (ReadLine(pFile, sBuffer, sizeof(sBuffer)-1))
- { sscanf(sBuffer, "%ld", pModuleNo);
- // ndig = short(floor(lg10(*pModuleNo));
- if (sBuffer[116]!='F' && sBuffer[117]!='F' && sBuffer[118]!='F') strcpy(sLine, sBuffer);
- }
- }
- else
- { /* read until end of previous part, if input file is used */
- while (ReadLine(pFile, sBuffer, sizeof(sBuffer)-1))
- { if (memcmp(sBuffer, "EOP", 3)==0)
- { *pModuleNo = No;
- strcpy(sLine, sLineH);
- }
- else
- { sscanf(sBuffer, "%ld", &No);
- if (sBuffer[116]!='F' && sBuffer[117]!='F' && sBuffer[118]!='F') strcpy(sLineH, sBuffer);
- }
- }
- if (strlen(sLine)==0) {*pModuleNo = No; strcpy(sLine, sLineH);}
- }
- sscanf(sLine, "%ld %3d %18c %lf %lf %lf %lf %lf %lf",
- &nDum, &nModuleID, sBuffer, pLength, &Pos[0], &Pos[1], &Pos[2], pRotZ, pRotY);
- *pRotZ *= M_PI/180.0;
- *pRotY *= M_PI/180.0;
- fclose(pFile);
- }
-}
-
-
-vitess_write(double NumNeutRead, double NumNeutWritten, double CntRate, double CntRateSqr,
- double dShiftX, double dShiftY, double dShiftZ,
- double dHorizAngle, double dVertAngle)
-{
- double dRotMatrix[3][3], dRotY, dRotZ, dLength,
- CntRateErr;
- long nModuleNo=0;
- int k;
- VectorType Shift, /* Shift of end position [m] */
- EndPos; /* end position of prev. module [m] */
-
- fprintf(LogFilePtr,"\n\nVITESS 2.6 / McStas 1.9 module %s\n", instrument_name);
-
- /* update 'instrument.inf' */
- ReadInstrData(&nModuleNo, EndPos, &dLength, &dRotZ, &dRotY);
- nModuleNo++;
- Shift[0] = dShiftZ;
- Shift[1] = dShiftX;
- Shift[2] = dShiftY;
- FillRMatrixZY(dRotMatrix, dRotY, dRotZ);
- RotBackVector(dRotMatrix, Shift);
- for (k=0; k<3; k++)
- EndPos[k] += Shift[k];
- dLength += LengthVector(Shift);
- dRotZ += dHorizAngle;
- dRotY += dVertAngle;
- WriteInstrData(nModuleNo, EndPos, dLength, dRotZ, dRotY);
-
- CntRateErr = sqrt( sq(CntRate)/NumNeutWritten
- + (NumNeutWritten*CntRateSqr-sq(CntRate)) / (NumNeutWritten-1) );
- fprintf(stderr, "%2ld number of trajectories read : %11.0f\n", nModuleNo, NumNeutRead);
- fprintf(stderr, " number of trajectories written : %11.0f\n", NumNeutWritten);
- fprintf(stderr, "(time averaged) neutron count rate : %11.4e +/- %10.3e n/s \n", CntRate, CntRateErr);
-
-}
-
-
-/**************************************************************/
-/* Init does a general program initialization, which is ok */
-/* for all modules of the VITESS program package. */
-/**************************************************************/
-
-void McInitVt()
-{
- /* Set some default values */
- BufferSize = 2;
- LogFilePtr = stderr;
-
- if (dirname==NULL)
- setParDirectory(getenv("PWD") ? getenv("PWD") : ".");
- else
- setParDirectory(dirname);
- idum = -mcseed;
- keygrav = (long) mcgravitation; /* key for gravity 1 -yes (default), 0 - no */
-
- /* allocte memory for the neutron buffers */
- if((InputNeutrons=(Neutron *)calloc(BufferSize, sizeof(Neutron)))==NULL) {
- fprintf(LogFilePtr, "Couldn't allocate memory for input buffer\n");
- exit(-1);
- }
- if((OutputNeutrons=(Neutron *)calloc(BufferSize, sizeof(Neutron)))==NULL) {
- fprintf(LogFilePtr, "Couldn't allocate memory for output buffer\n");
- exit(-1);
- }
-
- /* initalize the random number generator */
- ran3(&idum);
-}
-
-
-/*****************************************************************/
-/* Cleanup() does last things before the VITESS module is closed */
-/* e.g. buffers are flushed and files are closed etc. */
-/* you should also write your OwnCleanup() for your module */
-/*****************************************************************/
-void McCleanupVt()
-{
- /* release the buffer memory */
- free(InputNeutrons);
- free(OutputNeutrons);
-}
-
-
-void setParDirectory (char *a) {
- int len;
- if ((len = strlen(a))) {
- /* last character should be a slash */
- if (a[len-1] == cSlash) {
- memcpy ((ParDirectory = (char *) malloc(len+1)), a, len);
- } else {
- memcpy ((ParDirectory = (char *) malloc(len+2)), a, len);
- ParDirectory[len++] = cSlash;
- ParDirectory[len] = 0;
- }
- ParDirectoryLength = len;
- }
-}
-
-/* Adding path of parameter directory to file name */
-char* FullParName(char* filename)
-{
- int sel=0;
- char *res, *a=NULL;
- int alen, blen;
-
- if (filename == 0)
- return 0;
-
- /* Do not change an absolute path. */
- #ifdef WIN32
- /* we consider a filename with : as absolute */
- if (strstr(filename, ":")) sel = -1;
- #else
- if (filename[0] == '/') sel = -1;
- #endif
- if (sel == -1) {
- alen = 0;
- } else if (sel == 0) {
- a = ParDirectory;
- alen = ParDirectoryLength;
- }
- blen = strlen(filename);
- if ((res = (char *) malloc(alen+blen+1)))
- { if (alen)
- strcpy(res, a);
- else
- strcpy(res,"");
- strcat(res, filename);
- }
- return res;
-}
-
-/* end of vitess-lib.c */
diff --git a/mccode/nlib/share/vitess-lib.h b/mccode/nlib/share/vitess-lib.h
deleted file mode 100644
index 0bc7f335cd..0000000000
--- a/mccode/nlib/share/vitess-lib.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/*******************************************************************************
-*
-* McStas, neutron ray-tracing package
-* Copyright 1997-2002, All rights reserved
-* Risoe National Laboratory, Roskilde, Denmark
-* Institut Laue Langevin, Grenoble, France
-*
-* Library: share/vitess-lib.h
-*
-* %Identification
-* Written by: KN, EF
-* Date: Aug 28, 2002
-* Origin: Risoe
-* Release: McStas 1.6
-* Version: $Revision$
-*
-* This file is to be imported by the mcstas2vitess perl script
-* It handles the way Vitess parses parameters.
-* Functions are used by the Virtual_input and Virtual_output
-* components.
-*
-* Usage: within SHARE
-* %include "vitess-lib"
-*
-*******************************************************************************/
-
-#ifndef VITESS_LIB_H
-#define VITESS_LIB_H "$Revision$"
-
-#ifndef GENERAL_H
- #include
- #include
- #include
-
- /* The Neutron structure, taken from VITESS 2.3 source code "general.h" */
- typedef double VectorType[3];
- typedef struct
- {
- char IDGrp[2];
- unsigned long IDNo;
- }
- TotalID;
- typedef struct
- {
- TotalID ID;
- char Debug;
- short Color;
- double Time;
- double Wavelength;
- double Probability;
- VectorType Position;
- VectorType Vector;
- VectorType Spin;
- }
- Neutron;
-#endif
-
-extern char *vitess_infile; /* Neutron input file name, or NULL. */
-extern char *vitess_outfile; /* Neutron output file name, or NULL. */
-extern int vitess_tracepoints; /* If true, use dots as progress-indicator */
-extern int vitess_repcnt; /* Number of times to repeat this neutron */
-extern int vitess_bufsize; /* The buffer size for neutron read/write */
-
-/* vitess-lib function prototypes */
-/* ========================================================================= */
-Neutron mcstas2vitess(double x, double y, double z,
- double vx, double vy, double vz,
- double t,
- double sx, double sy, double sz,
- double p);
-void vitess2mcstas(Neutron neu,
- double *x, double *y, double *z,
- double *vx, double *vy, double *vz,
- double *sx, double *sy, double *sz,
- double *t, double *p);
-void vitess_option_error(char *opt);
-void vitess_parseopt(int argc, char *argv[],
- double *dptr[], char dchr[], char **sptr[], char schr[]);
-
-void McInitVt();
-void McCleanupVt();
-void setParDirectory (char *a);
-char* FullParName(char* filename);
-
-#endif
-
-/* end of vitess-lib.h */
diff --git a/mcstas-comps/CMakeLists.txt b/mcstas-comps/CMakeLists.txt
index b9524a886a..a233aa02df 100644
--- a/mcstas-comps/CMakeLists.txt
+++ b/mcstas-comps/CMakeLists.txt
@@ -50,15 +50,6 @@ if ( ENABLE_CIF2HKL )
install( TARGETS cif2hkl DESTINATION "${DEST_BINDIR}" )
endif()
-option( ENABLE_NEUTRONICS "Build Third Party code neutronics (fortran)" ON )#TODO: Only enable enable Fortran if this is on
-if ( ENABLE_NEUTRONICS )
- enable_language( Fortran )
- add_library(neutronics "STATIC" libs/neutronics/neutronics-subs.f)
- install(TARGETS neutronics DESTINATION "${DEST_LIBDIR}/neutronics")
- #NB (Aug 2023): Removed general "libs" which has the side-effect of not
- #installing other files related to "neutronics".
-endif()
-
# System c-code
install( DIRECTORY "share/" DESTINATION "${DEST_DATADIR_CODEFILES}" PATTERN "*.ext" EXCLUDE )
diff --git a/mcstas-comps/README.md b/mcstas-comps/README.md
index 81043d0d5c..46c3fbf3c4 100644
--- a/mcstas-comps/README.md
+++ b/mcstas-comps/README.md
@@ -22,7 +22,7 @@
* data: data files to be used by components (crystals structures,
* reflectivities, transmissions, ...)
* doc: documentation (McStas and component manuals)
-* misc: miscellaneous components (Vitess compatibility, etc...)
+* misc: miscellaneous components
* monitors: monitors to analyse neutron beam. Use mcplot to display results.
* obsolete: old (from previous releases) and unstable components
* optics: neutron optics (guides, monochromators, choppers, ...)
diff --git a/mcstas-comps/compmatrix.sh b/mcstas-comps/compmatrix.sh
index 98c10221c0..acf3b899d3 100755
--- a/mcstas-comps/compmatrix.sh
+++ b/mcstas-comps/compmatrix.sh
@@ -11,6 +11,9 @@
# (list of optics comps with their examples)
# etc...
+# Fixed sort order, independent of the user locale
+export LC_ALL=C
+
COMPDIR=$PWD
echo --------------------------------------- > ${COMPDIR}/comps_no_examples.txt
echo Comps with no examples \(disregarding >> ${COMPDIR}/comps_no_examples.txt
diff --git a/mcstas-comps/comps_no_examples.txt b/mcstas-comps/comps_no_examples.txt
index 31c9d068d0..a4fc09d6c7 100644
--- a/mcstas-comps/comps_no_examples.txt
+++ b/mcstas-comps/comps_no_examples.txt
@@ -3,46 +3,17 @@ Comps with no examples (disregarding
sasmodels and obsolete categories)
---------------------------------------
Missing examples from contrib
-- Guide_four_side in contrib is not in any example
-- Guide_gravity_psd in contrib is not in any example
-- Guide_multichannel in contrib is not in any example
-- Mirror_Curved_Bispectral in contrib is not in any example
-- Mirror_Elliptic_Bispectral in contrib is not in any example
-- PerfectCrystal in contrib is not in any example
-- Phonon_BvK_PG in contrib is not in any example
-- Pol_bender_tapering in contrib is not in any example
-- SANSCurve in contrib is not in any example
-- SANS_Liposomes_Abs in contrib is not in any example
-- Sapphire_Filter in contrib is not in any example
-- SiC in contrib is not in any example
-- Source_multi_surfaces in contrib is not in any example
-- TOF2Q_cyl_monitor in contrib is not in any example
-- TOF_PSDmonitor in contrib is not in any example
-- multi_pipe in contrib is not in any example
---------------------------------------
Missing examples from misc
-- MCPL_output_noacc in misc is not in any example
- Shape_simple in misc is not in any example
---------------------------------------
Missing examples from monitors
-- EPSD_monitor in monitors is not in any example
-- Flex_monitor_3D in monitors is not in any example
-- Monitor_4PI in monitors is not in any example
-- Monitor_nD_noacc in monitors is not in any example
-- PSD_TOF_monitor in monitors is not in any example
-- PSD_monitor_psf in monitors is not in any example
-- PSDcyl_monitor in monitors is not in any example
-- TOF_PSD_monitor_rad in monitors is not in any example
-- TOF_cylPSD_monitor in monitors is not in any example
-- TOFlog_monitor in monitors is not in any example
---------------------------------------
Missing examples from obsolete
... Not reporting comps in obsolete
---------------------------------------
Missing examples from optics
-- Mask in optics is not in any example
- Place in optics is not in any example
-- Vitess_ChopperFermi in optics is not in any example
---------------------------------------
Missing examples from samples
---------------------------------------
@@ -50,17 +21,12 @@ Missing examples from sasmodels
... Not reporting comps in sasmodels
---------------------------------------
Missing examples from sources
-- Adapt_check in sources is not in any example
-- ESS_moderator in sources is not in any example
- Monitor_Optimizer in sources is not in any example
- Source_Optimizer in sources is not in any example
-- Source_adapt in sources is not in any example
---------------------------------------
Missing examples from union
-- AF_HB_1D_process in union is not in any example
- Non_process in union is not in any example
- Template_process in union is not in any example
- Template_surface in union is not in any example
-- Union_abs_logger_1D_time in union is not in any example
- Union_master_GPU in union is not in any example
---------------------------------------
diff --git a/mcstas-comps/contrib/Guide_four_side.comp b/mcstas-comps/contrib/Guide_four_side.comp
index 910d5a093e..8bdebaeb8f 100755
--- a/mcstas-comps/contrib/Guide_four_side.comp
+++ b/mcstas-comps/contrib/Guide_four_side.comp
@@ -119,16 +119,16 @@
* louthu [m] upper vertical wall: distance of 2nd focal point
* and guide exit (DEFAULT = 0)
*
-* RIreflect: (str) Name of reflectivity file for the right inner wall.
+* RIreflect: [str] Name of reflectivity file for the right inner wall.
* File columns [q(Angs-1) R(0-1)] (DEFAULT : no file)
*
-* LIreflect: (str) Name of reflectivity file for the left inner wall.
+* LIreflect: [str] Name of reflectivity file for the left inner wall.
* File columns [q(Angs-1) R(0-1)] (DEFAULT : no file)
*
-* DIreflect: (str) Name of reflectivity file for the bottom inner wall.
+* DIreflect: [str] Name of reflectivity file for the bottom inner wall.
* File columns [q(Angs-1) R(0-1)] (DEFAULT : no file)
*
-* UIreflect: (str) Name of reflectivity file for the top inner wall.
+* UIreflect: [str] Name of reflectivity file for the top inner wall.
* File columns [q(Angs-1) R(0-1)] (DEFAULT : no file)
*
* Qcxr: [AA^-1] Critical scattering vector for right vertical
@@ -197,16 +197,16 @@
*
* THE OUTER WALLS OF THE INLAY ARE DEFINED BY:
*
-* ROreflect: (str) Name of reflectivity file for the right outer wall.
+* ROreflect: [str] Name of reflectivity file for the right outer wall.
* File columns [q(Angs-1) R(0-1)] (DEFAULT : no file)
*
-* LOreflect: (str) Name of reflectivity file for the left outer wall.
+* LOreflect: [str] Name of reflectivity file for the left outer wall.
* File columns [q(Angs-1) R(0-1)] (DEFAULT : no file)
*
-* DOreflect: (str) Name of reflectivity file for the bottom outer wall.
+* DOreflect: [str] Name of reflectivity file for the bottom outer wall.
* File columns [q(Angs-1) R(0-1)] (DEFAULT : no file)
*
-* UOreflect: (str) Name of reflectivity file for the top outer wall.
+* UOreflect: [str] Name of reflectivity file for the top outer wall.
* File columns [q(Angs-1) R(0-1)] (DEFAULT : no file)
*
* QcxrOW: [AA^-1] Critical scattering vector for right vertical
@@ -293,6 +293,7 @@ SETTING PARAMETERS (string RIreflect=0, string LIreflect=0, string UIreflect=0,
SHARE
%{
%include "read_table-lib"
+ %include "ref-lib"
void
TEST_INPUT (char name[20], char compname[256]) {
@@ -890,42 +891,66 @@ INITIALIZE
if (RIreflect && strlen (RIreflect)) {
if (Table_Read (&riTable, RIreflect, 1) <= 0) /* read 1st block data from file into pTable */
- exit (fprintf (stderr, "right inner Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, RIreflect));
+ {
+ fprintf (stderr, "right inner Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, RIreflect);
+ exit (-1);
+ }
}
if (LIreflect && strlen (LIreflect)) {
if (Table_Read (&liTable, LIreflect, 1) <= 0) /* read 1st block data from file into pTable */
- exit (fprintf (stderr, "left inner Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, LIreflect));
+ {
+ fprintf (stderr, "left inner Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, LIreflect);
+ exit (-1);
+ }
}
if (UIreflect && strlen (UIreflect)) {
if (Table_Read (&uiTable, UIreflect, 1) <= 0) /* read 1st block data from file into pTable */
- exit (fprintf (stderr, "top inner Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, UIreflect));
+ {
+ fprintf (stderr, "top inner Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, UIreflect);
+ exit (-1);
+ }
}
if (DIreflect && strlen (DIreflect)) {
if (Table_Read (&diTable, DIreflect, 1) <= 0) /* read 1st block data from file into pTable */
- exit (fprintf (stderr, "botton inner Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, DIreflect));
+ {
+ fprintf (stderr, "botton inner Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, DIreflect);
+ exit (-1);
+ }
}
if (ROreflect && strlen (ROreflect)) {
if (Table_Read (&roTable, ROreflect, 1) <= 0) /* read 1st block data from file into pTable */
- exit (fprintf (stderr, "right outer Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, ROreflect));
+ {
+ fprintf (stderr, "right outer Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, ROreflect);
+ exit (-1);
+ }
}
if (LOreflect && strlen (LOreflect)) {
if (Table_Read (&loTable, LOreflect, 1) <= 0) /* read 1st block data from file into pTable */
- exit (fprintf (stderr, "left outer Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, LOreflect));
+ {
+ fprintf (stderr, "left outer Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, LOreflect);
+ exit (-1);
+ }
}
if (UOreflect && strlen (UOreflect)) {
if (Table_Read (&uoTable, UOreflect, 1) <= 0) /* read 1st block data from file into pTable */
- exit (fprintf (stderr, "top outer Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, UOreflect));
+ {
+ fprintf (stderr, "top outer Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, UOreflect);
+ exit (-1);
+ }
}
if (DOreflect && strlen (DOreflect)) {
if (Table_Read (&doTable, DOreflect, 1) <= 0) /* read 1st block data from file into pTable */
- exit (fprintf (stderr, "botton outer Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, DOreflect));
+ {
+ fprintf (stderr, "botton outer Wall: %s: can not read file %s\n", NAME_CURRENT_COMP, DOreflect);
+ exit (-1);
+ }
}
if (w1r < 0)
@@ -1250,6 +1275,7 @@ TRACE
do { /* start the propagation loop inside the guide */
t1 = (l - z) / vz; /* needed time to pass the guide (or rest of the guide without any interaction)*/
+ i = 1; /* no wall hit unless one is found below */
if (loutwr == 0 && linwr == 0) {
TIME_LINEAR (t1, w1r, w2r, l, x, z, vx, vz, w1rwt, &t2w1r, &t2w1rwt);
@@ -1370,10 +1396,6 @@ TRACE
/* which wall is hit first? which geometry? */
- if (t1 < t2w1r && t1 < t2w1l && t1 < t2h1u && t1 < t2h1d && t1 < t2w1rwt && t1 < t2w1lwt && t1 < t2h1uwt && t1 < t2h1dwt) {
- i = 1;
- }
-
/* neutron interacts with the INNER elliptic right wall and this wall is NOT transparent*/
if (t2w1r > 0 && t2w1r < t1 && t2w1r < t2w1l && t2w1r < t2h1u && t2w1r < t2h1d && t2w1r < t2w1rwt && t2w1r < t2w1lwt && t2w1r < t2h1uwt && t2w1r < t2h1dwt) {
@@ -1627,7 +1649,6 @@ TRACE
vx -= pf * nx / n2;
vz -= pf * nz / n2;
q = V2Q * sqrt ((vxin - vx) * (vxin - vx) + (vyin - vy) * (vyin - vy) + (vzin - vz) * (vzin - vz));
- SCATTER;
break;
case 6:
@@ -1988,117 +2009,108 @@ TRACE
if (((i == 2) || (i == 3) || (i == 4))) { /* calculating the the probability that the neutron is reflected at the RIGHT INNER wall*/
if (RIreflect && strlen (RIreflect)) {
- p = Table_Value (riTable, q, 1);
+ p *= Table_Value (riTable, q, 1);
} else {
- if (mxr > 0 && q > Qcxr) {
- double arg = (q - mxr * Qcxr) / Wxr;
- if (arg < 10) {
- p *= 0.5 * (1.0 - tanh (arg)) * (1.0 - alphaxr * (q - Qcxr));
- } else
- ABSORB;
- }
+ double par[5] = { R0, Qcxr, alphaxr, mxr, Wxr };
+ double B;
+ StdReflecFunc (q, par, &B);
+ if (B <= 0)
+ ABSORB;
+ p *= B;
}
}
if (((i == 22) || (i == 23) || (i == 24))) { /* calculating the the probability that the neutron is reflected at the RIGHT OUTER wall*/
if (ROreflect && strlen (ROreflect)) {
- p = Table_Value (roTable, q, 1);
+ p *= Table_Value (roTable, q, 1);
} else {
- if (mxrOW > 0 && q > QcxrOW) {
- double arg = (q - mxrOW * QcxrOW) / WxrOW;
- if (arg < 10) {
- p *= 0.5 * (1.0 - tanh (arg)) * (1.0 - alphaxrOW * (q - QcxrOW));
- } else
- ABSORB;
- }
+ double par[5] = { R0, QcxrOW, alphaxrOW, mxrOW, WxrOW };
+ double B;
+ StdReflecFunc (q, par, &B);
+ if (B <= 0)
+ ABSORB;
+ p *= B;
}
}
if (((i == 5) || (i == 6) || (i == 7))) { /* calculating the the probability that the neutron is reflected at the LEFT INNER wall*/
if (LIreflect && strlen (LIreflect)) {
- p = Table_Value (liTable, q, 1);
+ p *= Table_Value (liTable, q, 1);
} else {
- if (mxl > 0 && q > Qcxl) {
- double arg = (q - mxl * Qcxl) / Wxl;
- if (arg < 10) {
- p *= 0.5 * (1.0 - tanh (arg)) * (1.0 - alphaxl * (q - Qcxl));
- } else
- ABSORB;
- }
+ double par[5] = { R0, Qcxl, alphaxl, mxl, Wxl };
+ double B;
+ StdReflecFunc (q, par, &B);
+ if (B <= 0)
+ ABSORB;
+ p *= B;
}
}
if (((i == 25) || (i == 26) || (i == 27))) { /* calculating the the probability that the neutron is reflected at the LEFT OUTER wall*/
if (LOreflect && strlen (LOreflect)) {
- p = Table_Value (loTable, q, 1);
+ p *= Table_Value (loTable, q, 1);
} else {
- if (mxlOW > 0 && q > QcxlOW) {
- double arg = (q - mxlOW * QcxlOW) / WxlOW;
- if (arg < 10) {
- p *= 0.5 * (1.0 - tanh (arg)) * (1.0 - alphaxlOW * (q - QcxlOW));
- } else
- ABSORB;
- }
+ double par[5] = { R0, QcxlOW, alphaxlOW, mxlOW, WxlOW };
+ double B;
+ StdReflecFunc (q, par, &B);
+ if (B <= 0)
+ ABSORB;
+ p *= B;
}
}
if (((i == 8) || (i == 9) || (i == 10))) { /* calculating the the probability that the neutron is reflected at the TOP INNER wall*/
if (UIreflect && strlen (UIreflect)) {
- p = Table_Value (uiTable, q, 1);
+ p *= Table_Value (uiTable, q, 1);
} else {
- if (myu > 0 && q > Qcyu) {
- double arg = (q - myu * Qcyu) / Wyu;
- if (arg < 10) {
- p *= 0.5 * (1.0 - tanh (arg)) * (1.0 - alphayu * (q - Qcyu));
- } else
- ABSORB;
- }
+ double par[5] = { R0, Qcyu, alphayu, myu, Wyu };
+ double B;
+ StdReflecFunc (q, par, &B);
+ if (B <= 0)
+ ABSORB;
+ p *= B;
}
}
if (((i == 28) || (i == 29) || (i == 30))) { /* calculating the the probability that the neutron is reflected at the TOP OUTER wall*/
if (UOreflect && strlen (UOreflect)) {
- p = Table_Value (uoTable, q, 1);
+ p *= Table_Value (uoTable, q, 1);
} else {
- if (myuOW > 0 && q > QcyuOW) {
- double arg = (q - myuOW * QcyuOW) / WyuOW;
- if (arg < 10) {
- p *= 0.5 * (1.0 - tanh (arg)) * (1.0 - alphayuOW * (q - QcyuOW));
- } else
- ABSORB;
- }
+ double par[5] = { R0, QcyuOW, alphayuOW, myuOW, WyuOW };
+ double B;
+ StdReflecFunc (q, par, &B);
+ if (B <= 0)
+ ABSORB;
+ p *= B;
}
}
if (((i == 11) || (i == 12) || (i == 13))) { /* calculating the the probability that the neutron is reflected at the BOTTOM INNER wall*/
if (DIreflect && strlen (DIreflect)) {
- p = Table_Value (diTable, q, 1);
+ p *= Table_Value (diTable, q, 1);
} else {
- if (myd > 0 && q > Qcyd) {
- double arg = (q - myd * Qcyd) / Wyd;
- if (arg < 10) {
- p *= 0.5 * (1.0 - tanh (arg)) * (1.0 - alphayd * (q - Qcyd));
- } else
- ABSORB;
- }
+ double par[5] = { R0, Qcyd, alphayd, myd, Wyd };
+ double B;
+ StdReflecFunc (q, par, &B);
+ if (B <= 0)
+ ABSORB;
+ p *= B;
}
}
if (((i == 31) || (i == 32) || (i == 33))) { /* calculating the the probability that the neutron is reflected at the BOTTOM OUTER wall*/
if (DOreflect && strlen (DOreflect)) {
- p = Table_Value (doTable, q, 1);
+ p *= Table_Value (doTable, q, 1);
} else {
- if (mydOW > 0 && q > QcydOW) {
- double arg = (q - mydOW * QcydOW) / WydOW;
- if (arg < 10) {
- p *= 0.5 * (1.0 - tanh (arg)) * (1.0 - alphaydOW * (q - QcydOW));
- } else
- ABSORB;
- }
+ double par[5] = { R0, QcydOW, alphaydOW, mydOW, WydOW };
+ double B;
+ StdReflecFunc (q, par, &B);
+ if (B <= 0)
+ ABSORB;
+ p *= B;
}
}
- p *= R0;
SCATTER;
} while (z < l); /* repeat the interaction loop untill the neutron pass the end of guide */
diff --git a/mcstas-comps/contrib/Mirror_Curved_Bispectral.comp b/mcstas-comps/contrib/Mirror_Curved_Bispectral.comp
index 4e8d9b43f8..6c875b22af 100644
--- a/mcstas-comps/contrib/Mirror_Curved_Bispectral.comp
+++ b/mcstas-comps/contrib/Mirror_Curved_Bispectral.comp
@@ -5,7 +5,7 @@
* Risoe National Laboratory, Roskilde, Denmark
* Institut Laue Langevin, Grenoble, France
*
-* Component: curved_mirror
+* Component: Mirror_Curved_Bispectral
*
* %I
* Written by: Henrik Jacobsen
@@ -15,7 +15,26 @@
* Single mirror plate that is curved and fits into an elliptic guide.
*
* %D
+* Single curved mirror plate for e.g. a bispectral extraction inside an
+* elliptic guide. In local coordinates x is the guide axis (beam direction) and
+* the plate passes through the origin, spanning $-\mathtt{length}/2 \le x \le \mathtt{length}/2$. Its shape
+* in the x-z plane is z(x) = a1*x^3 + b1*x^2 + c1*x, with slopes given by the angles
+* theta_1, theta_2 and theta_3 at the start, centre and end. Its half height
+* follows the elliptic guide (focus_s, focus_e, smallaxis), or is yheight/2 before
+* guide_start. Rotate the component so that local x points along the beam, e.g.
+* ROTATED (0, -90, 0) for a beam along z.
+* Reflectivity uses a built-in m-value supermirror model (R0=0.99,
+* Qc=0.0217 AA^-1) or a reflectivity file. With transmit=1 non-reflected neutrons
+* pass the plate with substrate and coating attenuation; neutrons with velocity
+* along the normal sin(theta)*e_x - cos(theta)*e_z hit the back side.
*
+* This description was written with AI assistance (Claude Code, 2026) from the
+* component code, after a long history in McStas without sufficient
+* documentation or an example instrument.
+*
+* Example: Mirror_Curved_Bispectral(focus_s=-10, focus_e=10, mirror_start=-0.1,
+* guide_start=-0.1, yheight=0.05, smallaxis=1, length=0.2, m=2,
+* theta_1=1, theta_2=1, theta_3=1)
*
* %P
* INPUT PARAMETERS:
@@ -36,8 +55,6 @@
* theta_3: [deg] angle of mirror wrt propagation direction at end of mirror
* reflect: [q(AA^-1) R(0-1)] (str) Name of relfectivity file. Format
*
-* %D
-*
* %E
*******************************************************************************/
@@ -60,7 +77,10 @@ INITIALIZE
%{
if (reflect && strlen (reflect) && strcmp (reflect, "NULL") && strcmp (reflect, "0")) {
if (Table_Read (&pTable, reflect, 1) <= 0) /* read 1st block data from file into pTable */
- exit (fprintf (stderr, "Mirror: %s: can not read file %s\n", NAME_CURRENT_COMP, reflect));
+ {
+ fprintf (stderr, "Mirror: %s: can not read file %s\n", NAME_CURRENT_COMP, reflect);
+ exit (-1);
+ }
}
%}
@@ -435,10 +455,10 @@ TRACE
intersect = (y >= -ymirror && y <= ymirror && x >= -length / 2 && x <= length / 2);
if (prop_case > 0) {
- intersect_2 = (y_2 >= -ymirror && y_2 <= ymirror && x_2 >= -length / 2 && x_2 <= length / 2);
+ intersect_2 = (y_2 >= -ymirror_2 && y_2 <= ymirror_2 && x_2 >= -length / 2 && x_2 <= length / 2);
}
if (prop_case > 8) {
- intersect_3 = (y_3 >= -ymirror && y_3 <= ymirror && x_3 >= -length / 2 && x_3 <= length / 2);
+ intersect_3 = (y_3 >= -ymirror_3 && y_3 <= ymirror_3 && x_3 >= -length / 2 && x_3 <= length / 2);
}
// printf("y_2=%f, ymirror=%f\n",y_2,ymirror);
diff --git a/mcstas-comps/contrib/Mirror_Elliptic_Bispectral.comp b/mcstas-comps/contrib/Mirror_Elliptic_Bispectral.comp
index d97ac732ff..6d98535337 100644
--- a/mcstas-comps/contrib/Mirror_Elliptic_Bispectral.comp
+++ b/mcstas-comps/contrib/Mirror_Elliptic_Bispectral.comp
@@ -5,7 +5,7 @@
* Risoe National Laboratory, Roskilde, Denmark
* Institut Laue Langevin, Grenoble, France
*
-* Component: curved_mirror
+* Component: Mirror_Elliptic_Bispectral
*
* %I
* Written by: Henrik Jacobsen
@@ -15,7 +15,25 @@
* Single mirror plate that is curved and fits into an elliptic guide.
*
* %D
+* Single elliptic mirror plate: one side wall of an elliptic guide, for e.g. a
+* bispectral extraction. In local coordinates x is the guide axis (beam
+* direction) and the plate spans $0 \le x \le \mathtt{length}$, starting at mirror_start along the
+* axis. The wall lies on the z>0 half of the horizontal ellipse with foci at
+* focus_start_w and focus_end_w and small axis smallaxis_w, centred on z=0. Its
+* half height follows the vertical ellipse (focus_start_h, focus_end_h,
+* smallaxis_h). Rotate the component so that local x points along the beam, e.g.
+* ROTATED (0, -90, 0) for a beam along z.
+* Reflectivity uses a built-in m-value supermirror model (R0=0.99,
+* Qc=0.0217 AA^-1) or a reflectivity file. With transmit=1 non-reflected neutrons
+* pass the plate with substrate and coating attenuation.
*
+* This description was written with AI assistance (Claude Code, 2026) from the
+* component code, after a long history in McStas without sufficient
+* documentation or an example instrument.
+*
+* Example: Mirror_Elliptic_Bispectral(focus_start_w=-10, focus_end_w=10,
+* focus_start_h=-10, focus_end_h=10, mirror_start=9.5, m=2, smallaxis_w=0.1,
+* smallaxis_h=1, length=0.2)
*
* %P
* INPUT PARAMETERS:
@@ -36,8 +54,6 @@
*
*
*
-* %D
-*
* %E
*******************************************************************************/
@@ -60,7 +76,10 @@ INITIALIZE
%{
if (reflect && strlen (reflect) && strcmp (reflect, "NULL") && strcmp (reflect, "0")) {
if (Table_Read (&pTable, reflect, 1) <= 0) /* read 1st block data from file into pTable */
- exit (fprintf (stderr, "Mirror: %s: can not read file %s\n", NAME_CURRENT_COMP, reflect));
+ {
+ fprintf (stderr, "Mirror: %s: can not read file %s\n", NAME_CURRENT_COMP, reflect);
+ exit (-1);
+ }
}
%}
@@ -122,7 +141,7 @@ TRACE
double x_test;
double z_prime_test;
- int hit_back_flag;
+ int hit_back_flag = 0;
int prop_case;
@@ -387,8 +406,8 @@ TRACE
} // reduce weight of neutrons due to attenuation in the mirror
// handle reflection: change v_n -->-v_n
- vx = old_vx * (zeta * zeta - xhi * xhi) - old_vz * (2 * zeta * xhi);
- vz = -old_vx * (2 * zeta * xhi) + old_vz * (xhi * xhi - zeta * zeta);
+ vx = old_vx * (zeta * zeta - xhi * xhi) + old_vz * (2 * zeta * xhi);
+ vz = old_vx * (2 * zeta * xhi) + old_vz * (xhi * xhi - zeta * zeta);
}
// printf("p_before=%f, q=%f",p,q);
diff --git a/mcstas-comps/contrib/PerfectCrystal.comp b/mcstas-comps/contrib/PerfectCrystal.comp
index e3f2401d62..be80102011 100644
--- a/mcstas-comps/contrib/PerfectCrystal.comp
+++ b/mcstas-comps/contrib/PerfectCrystal.comp
@@ -13,16 +13,6 @@
* Origin: ILL / FAU Erlangen-Nuernberg
* Based on a perfect crystal component by: Miguel A. Gonzalez, A. Dianoux June 2013 (ILL)
*
-* Changelog:
-* Version 1.1
-* - BUGFIX: correct neutron energy shift in Doppler mode
-* - added option 'debyescherrer' to select analyzer geometry
-* - added option 'facette' to approximate analyzer sphere by small, flat crystals
-*
-* Version 1.0
-* - inital release
-*
-*
* %D
* Perfect crystal component, primarily for use as monochromator and analyzer in
* backscattering spectrometers. Reflection from a single Bragg reflex of a flat or
@@ -45,6 +35,15 @@
* width = 0.500, height = 0.250, centerfocus=0,
* speed = 4.7, amplitude = 0.075, exclusive=1)
*
+* Changelog:
+* Version 1.1
+* - BUGFIX: correct neutron energy shift in Doppler mode
+* - added option 'debyescherrer' to select analyzer geometry
+* - added option 'facette' to approximate analyzer sphere by small, flat crystals
+*
+* Version 1.0
+* - initial release
+*
* %P
* (A) Size, shape and position:
* =============================
@@ -127,6 +126,10 @@ smartwidth=NAN, exclusive=0, transmit=0, verbose=0 )
SHARE
%{
+ #ifndef NAN /* not defined by nvc (OpenACC) */
+ #define NAN (0.0 / 0.0)
+ #endif
+
// convert between spherical (r,tt,phi) and cartesian (x,y,z) coordinates (angles in deg)
// debyescherrer swaps axes
void
@@ -151,8 +154,9 @@ SHARE
* with given radius and gaussian area distribution.
* If radius is zero, choose random direction in full 4PI, no target.
******************************************************************************/
+ #pragma acc routine seq
void
- grandvec_target_circle (double* xo, double* yo, double* zo, double* solid_angle, double xi, double yi, double zi, double radius) {
+ grandvec_target_circle (double* xo, double* yo, double* zo, double* solid_angle, double xi, double yi, double zi, double radius, _class_particle* _particle) {
double l2, phi, theta, nx, ny, nz, xt, yt, zt, xu, yu, zu;
if (radius == 0.0) {
@@ -494,7 +498,7 @@ TRACE
nz = -cos (phin) * cos (ttn);
if (facette_xi) {
- grandvec_target_circle (&nx, &ny, &nz, NULL, nx, ny, nz, sin_facette_xi);
+ grandvec_target_circle (&nx, &ny, &nz, NULL, nx, ny, nz, sin_facette_xi, _particle);
}
} else {
nx = -x;
diff --git a/mcstas-comps/contrib/Pol_bender_tapering.comp b/mcstas-comps/contrib/Pol_bender_tapering.comp
index fa49ebe4c9..58a5a62843 100644
--- a/mcstas-comps/contrib/Pol_bender_tapering.comp
+++ b/mcstas-comps/contrib/Pol_bender_tapering.comp
@@ -251,11 +251,10 @@ TRACE
exit (-1);
} else if (entry_radius) {
status = cylinder_intersect (&t0, &t1, x, y, z - (-entry_radius), vx, vy, vz, entry_radius, 1000);
- if (entry_radius > 0) {
+ if (status && entry_radius > 0)
PROP_DT (t1);
- } else {
+ else if (status)
PROP_DT (t0);
- }
xo = x;
yo = y;
zo = z;
@@ -489,10 +488,8 @@ TRACE
cyl = 0;
branch = ENDFACE;
}
- if (i2 & 24) {
- /* bitwise and with 16+8 to catch exit codes from cylinder_intersect. These mean that
- * neutron _exits_ through the top or bottom of the cylinder. Only cyl. 2 needs to be checked
- * since by design the neutron is always outside cyl. 1.*/
+ if (vy && (0.5 * (vy > 0 ? yheight : -yheight) - y) / vy < tt) {
+ /* neutron leaves through top or bottom before the next wall or the end face */
branch = TOPBOTTOM;
tt = 0;
ABSORB;
diff --git a/mcstas-comps/contrib/SANS_Liposomes_Abs.comp b/mcstas-comps/contrib/SANS_Liposomes_Abs.comp
index 8ff2ccd0da..a4a13d5af8 100644
--- a/mcstas-comps/contrib/SANS_Liposomes_Abs.comp
+++ b/mcstas-comps/contrib/SANS_Liposomes_Abs.comp
@@ -73,7 +73,8 @@ DECLARE
INITIALIZE
%{
if (!xwidth || !yheight || !zthick) {
- exit (fprintf (stderr, "SANS_AnySamp: %s: sample has no volume (zero dimensions)\n", NAME_CURRENT_COMP));
+ fprintf (stderr, "SANS_Liposomes_Abs: %s: sample has no volume (zero dimensions)\n", NAME_CURRENT_COMP);
+ exit (-1);
}
int iqmax = 30000, iq = iqmax; // number of intervals
@@ -81,15 +82,22 @@ INITIALIZE
isq = 0.0; // integral = 0
+ /* shell form factor at the mean radius, as in TRACE */
+ double Ro = R, Vo = 4.0 / 3.0 * PI * R * R * R, Vi, fo;
+ Ri = (dbilayer == R) ? 0 : R - dbilayer;
+ Vi = 4.0 / 3.0 * PI * Ri * Ri * Ri;
+
while (iq > 1) // start integrating with low intensities at large q
{ // MODIFIY HERE
q = (iq - 0.5) * qmax / iqmax; // q always slightly larger than 0
+ fo = 3 * (sin (q * Ro) - q * Ro * cos (q * Ro)) / (q * Ro * q * Ro * q * Ro);
if (Ri <= 0)
fi = 0;
else
fi = 3 * (sin (q * Ri) - q * Ri * cos (q * Ri)) / (q * Ri * q * Ri * q * Ri);
+ f = (Vo * fo - Vi * fi) / (Vo - Vi);
- sq = fi * fi; // define this function in INITIALIZE and TRACE part
+ sq = f * f; // define this function in INITIALIZE and TRACE part
sq *= q;
isq += sq;
--iq;
@@ -121,8 +129,8 @@ TRACE
RiTrace = Ro - dbilayer; /* Calculate inner radius of liposphere */
if (dbilayer == R)
RiTrace = 0; /* Treat sample as solid spheres */
- Vi = 4 / 3 * PI * RiTrace * RiTrace * RiTrace;
- Vo = 4 / 3 * PI * Ro * Ro * Ro;
+ Vi = 4.0 / 3.0 * PI * RiTrace * RiTrace * RiTrace;
+ Vo = 4.0 / 3.0 * PI * Ro * Ro * Ro;
my_s_pre = Phi * (Vo - Vi) * Delta_rho * Delta_rho;
intersect = box_intersect (&t0, &t1, x, y, z, vx, vy, vz, xwidth, yheight, zthick);
@@ -181,7 +189,7 @@ TRACE
vz = vout_z;
if (!box_intersect (&t0, &t1, x, y, z, vx, vy, vz, xwidth, yheight, zthick))
- fprintf (stderr, "SANS_AnySamp: FATAL ERROR: Did not hit box from inside.\n");
+ fprintf (stderr, "SANS_Liposomes_Abs: FATAL ERROR: Did not hit box from inside.\n");
} else {
p *= transmr / transsim;
}
diff --git a/mcstas-comps/contrib/Sapphire_Filter.comp b/mcstas-comps/contrib/Sapphire_Filter.comp
index 5876407249..60853f1c40 100755
--- a/mcstas-comps/contrib/Sapphire_Filter.comp
+++ b/mcstas-comps/contrib/Sapphire_Filter.comp
@@ -6,7 +6,7 @@
*
* %IDENTIFICATION
*
-* Written by: Jonas Okkels Birk (based upon Filteg_Graphite by Thomas C Hansen (2000))
+* Written by: Jonas Okkels Birk (based upon Filter_graphite by Thomas C Hansen (2000))
* Date: 6 December 2006
* Origin: PSI
*
@@ -14,18 +14,18 @@
*
* %DESCRIPTION
*
-* This sapphire filter, defined by two identical rectangular opening apertures,
-* is based upon an absorption function absorp=exp(L*A+C*(exp(-(B/L^2+D/L^4))))
-* decribed by Freund (1983) Nucl. Instrum. Methods, A278, 379-401. The
-* defaultvalues is for Sapphire at 300K as found by measurement by (Mildner &
-* Lamaze (1998) J. Appl. Cryst. 31,835-840
-* ( http://journals.iucr.org/j/issues/1998/06/00/hw0070/hw0070bdy.html#BB4)). It
-* is possble to ajust the formular to other materials or temperatures by typing in
-* other parameters.
-* The transmission in sapphire is only lightly demependt on temperature, but
-* The formular is only cheked at wavelenths between 0.5 and 14 AA (0.4 meV 0.3
-* eV).
-* The filter is for example used in the Eiger beamline at PSI to cut of high
+* Sapphire filter defined by two identical rectangular apertures (entrance and
+* exit). The transmission is T = exp(-mu*len) with the attenuation fit
+* mu(lambda) = A*lambda + C*(1-exp(-B/lambda^2 - D/lambda^4))
+* described by Freund (1983) Nucl. Instrum. Methods, A278, 379-401. The
+* default values are for sapphire at 300K as measured by Mildner &
+* Lamaze (1998) J. Appl. Cryst. 31, 835-840
+* ( http://journals.iucr.org/j/issues/1998/06/00/hw0070/hw0070bdy.html#BB4). The
+* fit can be adjusted to other materials or temperatures by changing the
+* parameters.
+* The transmission of sapphire depends only weakly on temperature. The fit is
+* only checked for wavelengths between 0.5 and 14 AA (0.4 meV to 0.3 eV).
+* The filter is used, for example, at the EIGER beamline at PSI to cut off high
* energies.
*
* %PARAMETERS
@@ -62,6 +62,8 @@ TRACE
ABSORB;
dt = len / vz;
PROP_DT (dt);
+ if (x < xmin || x > xmax || y < ymin || y > ymax)
+ ABSORB;
L2 = L * L;
Filt_T = (A * L + C * (1 - exp (-B / L2 - D / L2 / L2)));
Filt_T = exp (-Filt_T * len);
diff --git a/mcstas-comps/contrib/SiC.comp b/mcstas-comps/contrib/SiC.comp
index 390fc3fe61..d8b3aa1ab9 100644
--- a/mcstas-comps/contrib/SiC.comp
+++ b/mcstas-comps/contrib/SiC.comp
@@ -12,12 +12,32 @@
* Date: Jan 2000
* Origin: IRI.
*
-* SiC layer sample
+* Reflectivity of a thin layer on a Si substrate (Born approximation)
*
* %D
-* SiC layer sample
+* Flat reflectometry sample in the local z=0 plane, covering
+* $0 \le x \le \mathtt{xlength}$ and
+* $0 \le y \le \mathtt{yheight}$. Neutrons hitting the plate are specularly reflected (from either
+* side); all others pass unaffected.
+* Note: the component origin is at a corner of the plate, not at its centre as
+* for other mirrors and samples.
*
-* Example: SiC()
+* The reflectivity is computed in the Born (kinematic) approximation from a
+* hard-coded scattering length density (SLD) profile, sampled in 1 AA steps:
+* R(q) = 16 pi^2 / q^4 * | sum_z dSLD/dz exp(-i q z) |^2
+* The profile is a 80 AA layer of SLD 7.3106e-6 AA^-2 (presumably the SiC film;
+* bulk SiC is about 5.2e-6 AA^-2) on a Si substrate of SLD 2.073e-6 AA^-2.
+* Below Qc = 0.010208 AA^-1 (the Si substrate value) R = 1.
+*
+* The Born approximation underestimates R by about 20-35% for q below about
+* 3 times the Qc of the layer, compared with the exact Parratt result (see
+* Test_SiC, which compares with Multilayer_Sample).
+*
+* This description was written with AI assistance (Claude Code, 2026) from the
+* component code, after a long history in McStas without sufficient
+* documentation or an example instrument.
+*
+* Example: SiC(xlength=0.2, yheight=0.02)
*
* %P
* INPUT PARAMETERS:
@@ -36,7 +56,7 @@ SETTING PARAMETERS (xlength, yheight)
DECLARE
%{
- double ScatGrad[85];
+ double ScatGrad[85]; /* dSLD/dz [AA^-2] on a 1 AA grid, depth z = index (AA) */
%}
INITIALIZE
@@ -45,6 +65,9 @@ INITIALIZE
for (i = 0; i < 85; ++i)
ScatGrad[i] = 0;
+ /* Step profile: vacuum -> layer (SLD 7.3106e-6 AA^-2) at z=1 AA,
+ layer -> Si substrate (SLD 2.073e-6 AA^-2) at z=81 AA, i.e. an 80 AA film.
+ Only the SLD jumps contribute to the Born sum in TRACE. */
ScatGrad[1] = 7.3106e-6;
ScatGrad[81] = 2.073e-6 - 7.3106e-6;
%}
@@ -53,32 +76,34 @@ TRACE
%{
double dt, q;
- /* Variables added for Rayleigh Appproximation. */
+ /* Real and imaginary parts of the Born sum */
double realZ, imagZ;
double csZ, snZ, Qc, R0;
int i, Z, q_count;
- Qc = 0.010208;
+ Qc = 0.010208; /* critical q of the Si substrate, sqrt(16 pi SLD_Si) [AA^-1] */
R0 = 1.0;
- /* First check if neutron has the right direction. */
+ /* Time to reach the plate plane z=0; must be in the future (either side) */
if (vz != 0.0 && (dt = -z / vz) >= 0) {
double old_x = x, old_y = y;
x += vx * dt;
y += vy * dt;
- /* Now check if neutron intersects mirror. */
+ /* Plate covers 0= 0 && x <= xlength && y >= 0 && y <= yheight) {
z = 0;
t += dt;
- q = fabs (2 * vz * V2Q);
- vz = -vz;
- /* Reflectivity (see component Guide).
- Changed to calculate from real sample. */
+ q = fabs (2 * vz * V2Q); /* momentum transfer normal to the plate */
+ vz = -vz; /* specular reflection */
+ /* Born (kinematic) reflectivity of the SLD profile, valid for q >> Qc:
+ R(q) = 16 pi^2 / q^4 * |sum_z dSLD/dz exp(-i q z)|^2 .
+ Below Qc total reflection is assumed (R = 1). */
if (q > Qc) {
realZ = 0;
imagZ = 0;
+ /* Fourier transform of dSLD/dz over the depth grid */
for (Z = 0; Z < 85; Z++) {
csZ = cos (-1. * q * Z);
snZ = sin (-1. * q * Z);
@@ -90,6 +115,7 @@ TRACE
p *= R0;
SCATTER;
} else {
+ /* Missed the plate: undo the propagation, neutron passes unaffected */
x = old_x;
y = old_y;
}
@@ -98,7 +124,7 @@ TRACE
MCDISPLAY
%{
-
+ rectangle ("xy", xlength / 2, yheight / 2, 0, xlength, yheight);
%}
END
diff --git a/mcstas-comps/contrib/TOF2Q_cyl_monitor.comp b/mcstas-comps/contrib/TOF2Q_cyl_monitor.comp
index 151472ce9d..8ef8b53972 100644
--- a/mcstas-comps/contrib/TOF2Q_cyl_monitor.comp
+++ b/mcstas-comps/contrib/TOF2Q_cyl_monitor.comp
@@ -48,7 +48,7 @@
DEFINE COMPONENT TOF2Q_cyl_monitor
-SETTING PARAMETERS (int nq=100, int nphi=100, int nh=10, int restore_neutron=0, string filename=0, radius=1.0, height=0.1, q_min=0, q_max=20, L_chop2samp=144.0, t_chop=0.004, int pixel=1)
+SETTING PARAMETERS (int nq=100, int nphi=100, int nh=10, int restore_neutron=0, string filename=0, radius=1.0, height=0.1, q_min=0, q_max=20, L_chop2samp=144.0, t_chop=4, int pixel=1)
DECLARE
%{
DArray2d TOFq_N;
@@ -76,66 +76,59 @@ INITIALIZE
%}
TRACE
%{
- double lambda_real, lambda, phi_inplane, q;
+ double lambda, phi_inplane, q;
int i, j;
double cyl_t0, cyl_t1, dt, phi, phi_deg, L_tot;
// Check if the neutron hits the detector
- if (!cylinder_intersect (&cyl_t0, &cyl_t1, x, y, z, vx, vy, vz, radius, height)) /* No hit */
- ABSORB;
- if (cyl_t0 > 0) /* Neutron hits cylinder from the outside */
- ABSORB;
- dt = cyl_t1;
- PROP_DT (dt);
- if (y >= (height / 2 - 1E-7) || y <= -(height / 2 - 1E-7)) /* Neutron hits cylinder ends; no detectors here */
- ABSORB;
-
- // Make the detector pixelated or continuos
- if (pixel == 0) {
- L_tot = L_chop2samp + sqrt (y * y + radius * radius);
- lambda = (t - t_chop) / alpha / L_tot;
-
- lambda_real = 2 * PI / (sqrt (vx * vx + vy * vy + vz * vz) * V2K);
- // printf("dt = %g Delta-t= %g L0 = %g L-tot = %g x= %g y= %g z= %g lambda= %g lambda-real=%g \n", dt, t-t_chop, L_chop2samp, L_tot, x ,y, z, lambda,
- // lambda_real);
- }
+ int hit = cylinder_intersect (&cyl_t0, &cyl_t1, x, y, z, vx, vy, vz, radius, height);
+ /* No hit, hit from the outside, or exit through the cylinder ends (no detectors there) */
+ if (!hit || cyl_t0 > 0 || (hit & 24)) {
+ if (!restore_neutron)
+ ABSORB;
+ } else {
+ dt = cyl_t1;
+ PROP_DT (dt);
- if (pixel == 1) {
L_tot = L_chop2samp + sqrt (y * y + radius * radius);
- lambda = (t - t_chop) / alpha / L_tot;
- phi_inplane = atan2 (x, z);
- phi_inplane = PI / nphi * round (phi_inplane * nphi / PI);
- x = radius * sin (phi_inplane);
- z = radius * cos (phi_inplane);
- y = height / nh * round (y * nh / height);
- // printf("x= %g y= %g z= %g lambda= %g \n", x ,y, z, lambda);
- }
-
- // Calculate where the neutron hits the detector
- phi = acos (z / sqrt (x * x + y * y + z * z)); /* x-axis value */
- q = (2 * sin (sqrt (phi * phi) / 2)) / lambda * 2 * PI; /* y-axis value */
- j = floor ((q - q_min) * nq / (q_max - q_min)); /* Bin number */
- i = round (RAD2DEG * phi / (double)binphi); /* Bin number */
-
- // printf("lambda=%g phi= %g q= %g i= %d j=%d \n",lambda,phi,q,i,j);
-
- if (j < 0 || j >= nq) /* Do not detect */
- {
- phi = phi * RAD2DEG;
- // printf("Ops! q value is not in detector range: q= %g lambda= %g 2theta= %g \n", q ,lambda, phi);
- } else if (i < 0 || i >= nphi) {
- // printf("Ops! 2theta value is not in detector range: q= %g lambda= %g 2theta= %g \n", q ,lambda, phi);
- } else {
- double p2 = p * p;
- #pragma acc atomic
- TOFq_N[i][j] = TOFq_N[i][j] + 1;
- #pragma acc atomic
- TOFq_p[i][j] = TOFq_p[i][j] + p;
- #pragma acc atomic
- TOFq_p2[i][j] = TOFq_p2[i][j] + p2;
- }
- if (restore_neutron) {
- RESTORE_NEUTRON (INDEX_CURRENT_COMP, x, y, z, vx, vy, vz, t, sx, sy, sz, p);
+ lambda = (t - t_chop * 1e-3) / alpha / L_tot;
+
+ // Make the detector pixelated or continuos
+ if (pixel == 1) {
+ phi_inplane = atan2 (x, z);
+ phi_inplane = PI / nphi * round (phi_inplane * nphi / PI);
+ x = radius * sin (phi_inplane);
+ z = radius * cos (phi_inplane);
+ y = height / nh * round (y * nh / height);
+ // printf("x= %g y= %g z= %g lambda= %g \n", x ,y, z, lambda);
+ }
+
+ // Calculate where the neutron hits the detector
+ phi = acos (z / sqrt (x * x + y * y + z * z)); /* x-axis value */
+ q = (2 * sin (sqrt (phi * phi) / 2)) / lambda * 2 * PI; /* y-axis value */
+ j = floor ((q - q_min) * nq / (q_max - q_min)); /* Bin number */
+ i = floor (RAD2DEG * phi / (double)binphi); /* Bin number */
+
+ // printf("lambda=%g phi= %g q= %g i= %d j=%d \n",lambda,phi,q,i,j);
+
+ if (j < 0 || j >= nq) /* Do not detect */
+ {
+ phi = phi * RAD2DEG;
+ // printf("Ops! q value is not in detector range: q= %g lambda= %g 2theta= %g \n", q ,lambda, phi);
+ } else if (i < 0 || i >= nphi) {
+ // printf("Ops! 2theta value is not in detector range: q= %g lambda= %g 2theta= %g \n", q ,lambda, phi);
+ } else {
+ double p2 = p * p;
+ #pragma acc atomic
+ TOFq_N[i][j] = TOFq_N[i][j] + 1;
+ #pragma acc atomic
+ TOFq_p[i][j] = TOFq_p[i][j] + p;
+ #pragma acc atomic
+ TOFq_p2[i][j] = TOFq_p2[i][j] + p2;
+ }
+ if (restore_neutron) {
+ RESTORE_NEUTRON (INDEX_CURRENT_COMP, x, y, z, vx, vy, vz, t, sx, sy, sz, p);
+ }
}
%}
SAVE
diff --git a/mcstas-comps/contrib/Vertical_Bender.comp b/mcstas-comps/contrib/Vertical_Bender.comp
index a9dda69290..ec4d8fab33 100644
--- a/mcstas-comps/contrib/Vertical_Bender.comp
+++ b/mcstas-comps/contrib/Vertical_Bender.comp
@@ -254,9 +254,9 @@ TRACE
// RKH there is no "stuck in infinite loop" checking here ...
// RKH not used const double whalf = 0.5*xwidth; /* half width of guide */
double Gx, Gy, Gz;
- const double hhalf = 0.5 * yheight; /* half height of guide */
- // RKH, not used const double z_off = radius*sin(length/radius); /* z-comp of guide length */
- const double dThreshold = 1e-10; /* distance threshold */
+ const double hhalf = 0.5 * yheight; /* half height of guide */
+ // RKH, not used const double z_off = radius*sin(length/radius); /* z-comp of guide length */
+ const double dThreshold = 1e-10 * (1 + fabs (radius)); /* distance threshold, scaled for rounding at large radius */
const double tThreshold = dThreshold / sqrt (vx * vx + vy * vy + vz * vz);
double angle_z_vout; /* angle between z-axis and v_out */
diff --git a/mcstas-comps/contrib/contrib_examples.txt b/mcstas-comps/contrib/contrib_examples.txt
index e3a1be62a7..88f9deeb94 100644
--- a/mcstas-comps/contrib/contrib_examples.txt
+++ b/mcstas-comps/contrib/contrib_examples.txt
@@ -75,6 +75,9 @@ FlatEllipse_finite_mirror is used in 2 example(s):
- Test_FlatEllipse_finite_mirror.instr
- Test_Mirror_FlatEllipse.instr
---------------------------------------
+FlipChopFlipper is used in 1 example(s):
+- FlipChop_Hyspec.instr
+---------------------------------------
Foil_flipper_magnet is used in 2 example(s):
- SEMSANS_Delft.instr
- SESANS_Delft.instr
@@ -91,9 +94,11 @@ Guide_curved is used in 7 example(s):
- Test_Guides_Curved.instr
- Test_Pol_Bender_Vs_Guide_Curved.instr
---------------------------------------
-Guide_four_side is used in 0 example(s):
+Guide_four_side is used in 1 example(s):
+- Test_Guide_four_side.instr
---------------------------------------
-Guide_gravity_psd is used in 0 example(s):
+Guide_gravity_psd is used in 1 example(s):
+- Test_Guides.instr
---------------------------------------
Guide_honeycomb is used in 2 example(s):
- ILL_BRISP.instr
@@ -102,7 +107,8 @@ Guide_honeycomb is used in 2 example(s):
Guide_m is used in 1 example(s):
- SNS_BASIS.instr
---------------------------------------
-Guide_multichannel is used in 0 example(s):
+Guide_multichannel is used in 1 example(s):
+- Test_Guides.instr
---------------------------------------
ISIS_moderator is used in 12 example(s):
- ISIS_CRISP.instr
@@ -220,12 +226,14 @@ MCViNE_SvQ is used in 1 example(s):
MCViNE_SvQ_process is used in 1 example(s):
- Test_MCViNE_SvQ.instr
---------------------------------------
-Mirror_Curved_Bispectral is used in 0 example(s):
+Mirror_Curved_Bispectral is used in 1 example(s):
+- Test_Bispectral_mirrors.instr
---------------------------------------
Mirror_Elliptic is used in 1 example(s):
- Test_FocalisationMirrors.instr
---------------------------------------
-Mirror_Elliptic_Bispectral is used in 0 example(s):
+Mirror_Elliptic_Bispectral is used in 1 example(s):
+- Test_Bispectral_mirrors.instr
---------------------------------------
Mirror_Parabolic is used in 1 example(s):
- Test_FocalisationMirrors.instr
@@ -249,8 +257,9 @@ Monochromator_bent_complex is used in 1 example(s):
MultiDiskChopper is used in 1 example(s):
- Test_DiskChoppers.instr
---------------------------------------
-Multilayer_Sample is used in 1 example(s):
+Multilayer_Sample is used in 2 example(s):
- ISIS_CRISP.instr
+- Test_SiC.instr
---------------------------------------
NMO is used in 1 example(s):
- Test_NMO.instr
@@ -296,11 +305,14 @@ PSD_spinUmon is used in 2 example(s):
- Test_V_cavity_SNAG_double_side.instr
- Test_V_cavity_SNAG_single_side.instr
---------------------------------------
-PerfectCrystal is used in 0 example(s):
+PerfectCrystal is used in 1 example(s):
+- Test_PerfectCrystal.instr
---------------------------------------
-Phonon_BvK_PG is used in 0 example(s):
+Phonon_BvK_PG is used in 1 example(s):
+- Test_Phonon_BvK_PG.instr
---------------------------------------
-Pol_bender_tapering is used in 0 example(s):
+Pol_bender_tapering is used in 1 example(s):
+- Test_Pol_bender_tapering.instr
---------------------------------------
Pol_pi_2_rotator is used in 1 example(s):
- SEMSANS_instrument.instr
@@ -308,10 +320,15 @@ Pol_pi_2_rotator is used in 1 example(s):
Pol_triafield is used in 1 example(s):
- SEMSANS_instrument.instr
---------------------------------------
+PowderN_porous is used in 2 example(s):
+- PSI_ICON_porous.instr
+- Test_PowderN_porous.instr
+---------------------------------------
Radial_div is used in 1 example(s):
- Test_Radial_div.instr
---------------------------------------
-SANSCurve is used in 0 example(s):
+SANSCurve is used in 1 example(s):
+- Test_SANS.instr
---------------------------------------
SANSCylinders is used in 1 example(s):
- Test_SANS.instr
@@ -363,16 +380,18 @@ SANS_DebyeS is used in 1 example(s):
SANS_Guinier is used in 1 example(s):
- FZJ_SANS_KWS2_AnySample.instr
---------------------------------------
-SANS_Liposomes_Abs is used in 0 example(s):
+SANS_Liposomes_Abs is used in 1 example(s):
+- SANSsimple.instr
---------------------------------------
SANS_benchmark2 is used in 3 example(s):
- FZJ_BenchmarkSfin2.instr
- ISIS_SANS2d_Mantid.instr
- Unittest_SANS_benchmark2.instr
---------------------------------------
-SNS_source is used in 5 example(s):
+SNS_source is used in 6 example(s):
- SNS_ARCS_Mantid.instr
- Tools_ONION.instr
+- FlipChop_Hyspec.instr
- Granroth_SNS_decoupled_poisoned.instr
- SNS_ARCS.instr
- SNS_test.instr
@@ -384,9 +403,11 @@ SNS_source_analytic is used in 2 example(s):
Sans_liposomes_new is used in 1 example(s):
- SANSsimple.instr
---------------------------------------
-Sapphire_Filter is used in 0 example(s):
+Sapphire_Filter is used in 1 example(s):
+- Test_Sapphire_filter.instr
---------------------------------------
-SiC is used in 0 example(s):
+SiC is used in 1 example(s):
+- Test_SiC.instr
---------------------------------------
Single_crystal_inelastic is used in 1 example(s):
- Test_Single_crystal_inelastic.instr
@@ -395,10 +416,11 @@ Source_custom is used in 1 example(s):
- test_Source_custom.instr
---------------------------------------
Source_gen4 is used in 2 example(s):
-- PSI_ICON.instr
+- PSI_ICON_beamline.instr
- RITA-II.instr
---------------------------------------
-Source_multi_surfaces is used in 0 example(s):
+Source_multi_surfaces is used in 1 example(s):
+- Test_Source_multi_surfaces.instr
---------------------------------------
Source_pulsed is used in 1 example(s):
- Test_Source_pulsed.instr
@@ -428,12 +450,14 @@ StatisticalChopper_Monitor is used in 1 example(s):
SupermirrorFlat is used in 1 example(s):
- Supermirror_thin_substrate.instr
---------------------------------------
-TOF2Q_cyl_monitor is used in 0 example(s):
+TOF2Q_cyl_monitor is used in 1 example(s):
+- Test_Monitors_cyl.instr
---------------------------------------
TOFSANSdet is used in 1 example(s):
- FZJ_BenchmarkSfin2.instr
---------------------------------------
-TOF_PSDmonitor is used in 0 example(s):
+TOF_PSDmonitor is used in 1 example(s):
+- Test_Monitors_flat.instr
---------------------------------------
TOF_PSDmonitor_toQ is used in 1 example(s):
- Test_TOF_PSDmonitor_toQ.instr
@@ -461,5 +485,6 @@ ViewModISIS is used in 3 example(s):
Wavelength_Diffuser is used in 1 example(s):
- Radiography_Sword.instr
---------------------------------------
-multi_pipe is used in 0 example(s):
+multi_pipe is used in 1 example(s):
+- Test_multi_pipe.instr
---------------------------------------
diff --git a/mcstas-comps/contrib/multi_pipe.comp b/mcstas-comps/contrib/multi_pipe.comp
index 6ea6a0098c..2ce9d476c7 100644
--- a/mcstas-comps/contrib/multi_pipe.comp
+++ b/mcstas-comps/contrib/multi_pipe.comp
@@ -46,7 +46,7 @@
DEFINE COMPONENT multi_pipe
-SETTING PARAMETERS (string filename=0, xmin,xmax,ymin,ymax,radius=0.0,gap=0.0,thickness=0.0, xwidth=0, yheight=0)
+SETTING PARAMETERS (string filename=0, xmin=0, xmax=0, ymin=0, ymax=0,radius=0.0,gap=0.0,thickness=0.0, xwidth=0, yheight=0)
/* Neutron parameters: (x,y,z,vx,vy,vz,t,sx,sy,sz,p) */
SHARE
@@ -89,7 +89,7 @@ INITIALIZE
exit (-1);
}
user_file = 0;
- if (filename != NULL) {
+ if (filename && strlen (filename)) {
fu = (char*)malloc (sizeof (char) * (strlen (filename) + 1));
strcpy (fu, filename);
@@ -188,7 +188,7 @@ TRACE
/* calculate local coordiantes */
if (valuex == 1) {
if (i == xnum / 2) {
- /* outside */
+ continue; /* outside */
} else {
xl = i * (diam + gap) + radius + gap / 2.0;
}
@@ -280,7 +280,7 @@ MCDISPLAY
if (user_file == 1) {
/* open user file */
- if (filename != NULL) {
+ if (filename && strlen (filename)) {
fu2 = (char*)malloc (sizeof (char) * (strlen (filename) + 1));
strcpy (fu2, filename);
Table_Read (&plot_table, fu2, 1); /* read 1st block data from file into pTable */
@@ -322,7 +322,7 @@ MCDISPLAY
/* calculate local coordiantes */
if (valuex == 1) {
if (i == xnum / 2) {
- /* outside */
+ continue; /* outside */
} else {
xl = i * (2 * radius + gap) + radius + gap / 2.0;
}
diff --git a/mcstas-comps/data/Test_Mask_input_file.mask b/mcstas-comps/data/Test_Mask_input_file.mask
new file mode 100644
index 0000000000..51b51735d9
--- /dev/null
+++ b/mcstas-comps/data/Test_Mask_input_file.mask
@@ -0,0 +1,5 @@
+#this is a test mask with 10 white pixels, 4 gray, and 2 black
+1.0 1.0 0.5 0.5
+1.0 1.0 0.5 0.5
+1.0 1.0 1.0 1.0
+1.0 1.0 0.0 0.0
diff --git a/mcstas-comps/examples/DTU/Vin_test/README.md b/mcstas-comps/examples/DTU/Vin_test/README.md
deleted file mode 100644
index 7218018316..0000000000
--- a/mcstas-comps/examples/DTU/Vin_test/README.md
+++ /dev/null
@@ -1,35 +0,0 @@
-# The `Vin_test` Instrument
-
-*McStas: Simple test instrument for the Virtual_input component*
-
-## Identification
-
-- **Site:** DTU
-- **Author:** Peter Willendrup (pkwi@fysik.dtu.dk)
-- **Origin:** DTU Physics
-- **Date:** September 2014
-
-## Description
-
-```text
-Simple test instrument for the Virtual_input component
-```
-
-## Examples
-
-
-
-## Input parameters
-
-Parameters in **boldface** are required; the others are optional.
-
-| Name | Unit | Description | Default |
-|------|------|-------------|---------|
-| Vinfile | string | Filename for Virtual_output-created event file | "Vout_text.dat" |
-
-## Links
-
-- [Source code](Vin_test.instr) for `Vin_test.instr`.
-- A reference/HTML link for more information
-
----
diff --git a/mcstas-comps/examples/DTU/Vin_test/Vin_test.instr b/mcstas-comps/examples/DTU/Vin_test/Vin_test.instr
deleted file mode 100644
index 2c093029ca..0000000000
--- a/mcstas-comps/examples/DTU/Vin_test/Vin_test.instr
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
-* McStas instrument definition URL=http://www.mcstas.org
-*
-* Instrument: Vout_test
-*
-* %Identification
-* Written by: Peter Willendrup (pkwi@fysik.dtu.dk)
-* Date: September 2014
-* Origin: DTU Physics
-* %INSTRUMENT_SITE: DTU
-*
-* Simple test instrument for the Virtual_input component
-*
-* %Description
-*
-* Simple test instrument for the Virtual_input component
-*
-* %Parameters
-* Vinfile: [string] Filename for Virtual_output-created event file
-*
-* %Link
-* A reference/HTML link for more information
-*
-* %End
-*******************************************************************************/
-DEFINE INSTRUMENT Vin_test(string Vinfile="Vout_text.dat")
-
-/* The DECLARE section allows us to declare variables or small */
-/* functions in C syntax. These may be used in the whole instrument. */
-DECLARE
-%{
-%}
-
-/* The INITIALIZE section is executed when the simulation starts */
-/* (C code). You may use them as component parameter values. */
-INITIALIZE
-%{
-%}
-
-/* Here comes the TRACE section, where the actual */
-/* instrument is defined as a sequence of components. */
-TRACE
-
-/* The Arm() class component defines reference points and orientations */
-/* in 3D space. Every component instance must have a unique name. Here, */
-/* Origin is used. This Arm() component is set to define the origin of */
-/* our global coordinate system (AT (0,0,0) ABSOLUTE). It may be used */
-/* for further RELATIVE reference, Other useful keywords are : ROTATED */
-/* EXTEND GROUP PREVIOUS. Also think about adding a neutron source ! */
-/* Progress_bar is an Arm displaying simulation progress. */
-COMPONENT Origin = Progress_bar()
- AT (0,0,0) ABSOLUTE
-
-COMPONENT Vin = Virtual_input(
- filename = Vinfile, verbose=1)
- AT (0, 0, 0) RELATIVE Origin
-
-COMPONENT PSD = PSD_monitor(
- restore_neutron = 1, filename = "PSD.dat", xwidth = 0.1,
- yheight = 0.1)
- AT (0, 0, 1) RELATIVE Origin
-
-
-/* This section is executed when the simulation ends (C code). Other */
-/* optional sections are : SAVE */
-FINALLY
-%{
-%}
-/* The END token marks the instrument definition end */
-END
-
-
-
diff --git a/mcstas-comps/examples/DTU/Vout_test/README.md b/mcstas-comps/examples/DTU/Vout_test/README.md
deleted file mode 100644
index f827c73e71..0000000000
--- a/mcstas-comps/examples/DTU/Vout_test/README.md
+++ /dev/null
@@ -1,35 +0,0 @@
-# The `Vout_test` Instrument
-
-*McStas: Simple test instrument for the Virtual_output component*
-
-## Identification
-
-- **Site:** DTU
-- **Author:** Peter Willendrup (pkwi@fysik.dtu.dk)
-- **Origin:** DTU Physics
-- **Date:** September 2014
-
-## Description
-
-```text
-Simple test instrument for the Virtual_output component
-```
-
-## Examples
-
-
-
-## Input parameters
-
-Parameters in **boldface** are required; the others are optional.
-
-| Name | Unit | Description | Default |
-|------|------|-------------|---------|
-| Voutfile | string | Output filename for vout file | "Vout_text.dat" |
-
-## Links
-
-- [Source code](Vout_test.instr) for `Vout_test.instr`.
-- A reference/HTML link for more information
-
----
diff --git a/mcstas-comps/examples/DTU/Vout_test/Vout_test.instr b/mcstas-comps/examples/DTU/Vout_test/Vout_test.instr
deleted file mode 100644
index edcd12e643..0000000000
--- a/mcstas-comps/examples/DTU/Vout_test/Vout_test.instr
+++ /dev/null
@@ -1,84 +0,0 @@
-/*******************************************************************************
-* McStas instrument definition URL=http://www.mcstas.org
-*
-* Instrument: Vout_test
-*
-* %Identification
-* Written by: Peter Willendrup (pkwi@fysik.dtu.dk)
-* Date: September 2014
-* Origin: DTU Physics
-* %INSTRUMENT_SITE: DTU
-*
-* Simple test instrument for the Virtual_output component
-*
-* %Description
-*
-* Simple test instrument for the Virtual_output component
-*
-* %Parameters
-* Voutfile: [string] Output filename for vout file
-*
-* %Link
-* A reference/HTML link for more information
-*
-* %End
-*******************************************************************************/
-DEFINE INSTRUMENT Vout_test(string Voutfile="Vout_text.dat")
-
-/* The DECLARE section allows us to declare variables or small */
-/* functions in C syntax. These may be used in the whole instrument. */
-DECLARE
-%{
-%}
-
-/* The INITIALIZE section is executed when the simulation starts */
-/* (C code). You may use them as component parameter values. */
-INITIALIZE
-%{
-%}
-
-/* Here comes the TRACE section, where the actual */
-/* instrument is defined as a sequence of components. */
-TRACE
-
-/* The Arm() class component defines reference points and orientations */
-/* in 3D space. Every component instance must have a unique name. Here, */
-/* Origin is used. This Arm() component is set to define the origin of */
-/* our global coordinate system (AT (0,0,0) ABSOLUTE). It may be used */
-/* for further RELATIVE reference, Other useful keywords are : ROTATED */
-/* EXTEND GROUP PREVIOUS. Also think about adding a neutron source ! */
-/* Progress_bar is an Arm displaying simulation progress. */
-COMPONENT Origin = Progress_bar()
- AT (0,0,0) ABSOLUTE
-
-
-COMPONENT Src = Source_simple(
- radius = 0.1, dist = 1, focus_xw = 0.1, focus_yh = 0.1,
- lambda0 = 10, dlambda = 1)
- AT (0, 0, 0) RELATIVE Origin
-
-
-COMPONENT Vout = Virtual_output(
- filename = Voutfile)
- AT (0, 0, 0) RELATIVE PREVIOUS
-
-
-COMPONENT PSD = PSD_monitor(
- restore_neutron = 1, filename = "PSD.dat", xwidth = 0.1,
- yheight = 0.1)
- AT (0, 0, 1) RELATIVE Origin
-
-
-/* This section is executed when the simulation ends (C code). Other */
-/* optional sections are : SAVE */
-FINALLY
-%{
-%}
-/* The END token marks the instrument definition end */
-END
-
-
-
-
-
-
diff --git a/mcstas-comps/examples/Mantid/SNS_ARCS_Mantid/SNS_ARCS_Mantid.instr b/mcstas-comps/examples/Mantid/SNS_ARCS_Mantid/SNS_ARCS_Mantid.instr
index 8c7d66b877..fa038fa273 100644
--- a/mcstas-comps/examples/Mantid/SNS_ARCS_Mantid/SNS_ARCS_Mantid.instr
+++ b/mcstas-comps/examples/Mantid/SNS_ARCS_Mantid/SNS_ARCS_Mantid.instr
@@ -111,7 +111,7 @@ INITIALIZE
sprintf(mon1optstr,"ARCS_mon1_Edes_%1.3e_Ferminu_%1.2e_nrad_%1.5g_nchans_%g_T0_off_%1.3e_T0_nu_%1.1e%s",Edes,Fermi_nu,nrad,nchans,T0_off,T0_nu,".tdat");
sprintf(mon2optstr,"ARCS_mon2_Edes_%1.3e_Ferminu_%1.2e_nrad_%1.5g_nchans_%g_T0_off_%1.3e_T0_nu_%1.1e%s",Edes,Fermi_nu,nrad,nchans,T0_off,T0_nu,".tdat");
sprintf(tfilename,"%s%1.0f%s","tdet_E_",Edes,".dat");
- sprintf(v_fname,"virt_src_ARCS_E%1.2f_F_nu_%g_T0_nu_%g_%g.dat",Edes,Fermi_nu,T0_nu,run_num);
+ sprintf(v_fname,"virt_src_ARCS_E%1.2f_F_nu_%g_T0_nu_%g_%g",Edes,Fermi_nu,T0_nu,run_num);
%}
TRACE
COMPONENT mod=SNS_source(filename=filename,
@@ -256,7 +256,7 @@ AT(0,0,13.328) RELATIVE mod
/* If you split into a front end and a back end, split it here
-COMPONENT vout = Virtual_output(file = v_fname,bufsize=0,type="binary")
+COMPONENT vout = MCPL_output(filename = v_fname)
AT (0, 0, LS) RELATIVE mod */
COMPONENT Sample_Arm=Arm()
diff --git a/mcstas-comps/examples/Mantid/templateSasView_Mantid/README.md b/mcstas-comps/examples/Mantid/templateSasView_Mantid/README.md
index 335c713858..ea8ffefa0d 100644
--- a/mcstas-comps/examples/Mantid/templateSasView_Mantid/README.md
+++ b/mcstas-comps/examples/Mantid/templateSasView_Mantid/README.md
@@ -1,6 +1,6 @@
# The `templateSasView_Mantid` Instrument
-*McStas: Test instrument for the SasView_model component generating event data for Mantid. No guide / velocity selector
+*McStas: Test instrument for SasView_ components generating event data for Mantid. No guide / velocity selector
etc.*
## Identification
@@ -13,7 +13,7 @@ etc.*
## Description
```text
-Very simple test instrument for the SasView_model component.
+Very simple test instrument for SasView_ components.
Modified to show a proof of concept method for storing a 'Mantid friendly' type of NeXus file.
@@ -44,7 +44,7 @@ Parameters in **boldface** are required; the others are optional.
|------|------|-------------|---------|
| lambda | AA | Mean wavelength of neutrons | 6 |
| dlambda | AA | Wavelength spread of neutrons | 0.05 |
-| model_index | | SASmodels model index (see SasView_model.comp mcdoc page) | 47 |
+| model_index | | Sample model: 1=SasView_barbell, 3=SasView_bcc_paracrystal, 47=SasView_parallelepiped | 47 |
| par1 | | Slot 1 in SASmodel parameter vector | 0 |
| par2 | | Slot 2 in SASmodel parameter vector | 0 |
| par3 | | Slot 3 in SASmodel parameter vector | 0 |
@@ -53,7 +53,7 @@ Parameters in **boldface** are required; the others are optional.
| par6 | | Slot 6 in SASmodel parameter vector | 0 |
| par7 | | Slot 7 in SASmodel parameter vector | 0 |
| par8 | | Slot 8 in SASmodel parameter vector | 0 |
-| Ncount | | | 0 |
+| Ncount | 1 | Number of rays to simulate, if > 0 (overrides -n) | 0 |
## Links
diff --git a/mcstas-comps/examples/Mantid/templateSasView_Mantid/templateSasView_Mantid.instr b/mcstas-comps/examples/Mantid/templateSasView_Mantid/templateSasView_Mantid.instr
index 12715dedbb..02d2fefb71 100644
--- a/mcstas-comps/examples/Mantid/templateSasView_Mantid/templateSasView_Mantid.instr
+++ b/mcstas-comps/examples/Mantid/templateSasView_Mantid/templateSasView_Mantid.instr
@@ -14,11 +14,11 @@
* Modified by: Based on templatesSANS.instr by Kim Lefmann
* %INSTRUMENT_SITE: Mantid
*
-* Test instrument for the SasView_model component generating event data for Mantid. No guide / velocity selector
+* Test instrument for SasView_ components generating event data for Mantid. No guide / velocity selector
* etc.
*
* %Description
-* Very simple test instrument for the SasView_model component.
+* Very simple test instrument for SasView_ components.
*
* Modified to show a proof of concept method for storing a 'Mantid friendly' type of NeXus file.
*
@@ -39,7 +39,7 @@
* %Parameters
* lambda: [AA] Mean wavelength of neutrons
* dlambda: [AA] Wavelength spread of neutrons
-* model_index: [ ] SASmodels model index (see SasView_model.comp mcdoc page)
+* model_index: [ ] Sample model: 1=SasView_barbell, 3=SasView_bcc_paracrystal, 47=SasView_parallelepiped
* par1: [ ] Slot 1 in SASmodel parameter vector
* par2: [ ] Slot 2 in SASmodel parameter vector
* par3: [ ] Slot 3 in SASmodel parameter vector
diff --git a/mcstas-comps/examples/Necsa/SAFARI_MPISI/SAFARI_MPISI.instr b/mcstas-comps/examples/Necsa/SAFARI_MPISI/SAFARI_MPISI.instr
index 07a576525e..39ca0dd5d9 100644
--- a/mcstas-comps/examples/Necsa/SAFARI_MPISI/SAFARI_MPISI.instr
+++ b/mcstas-comps/examples/Necsa/SAFARI_MPISI/SAFARI_MPISI.instr
@@ -426,14 +426,14 @@ COMPONENT PSD_Outside_chamber_collimator_1 = PSD_monitor(
WHEN (full_instrument==1)
AT (0, 0, 0) RELATIVE Outside_chamber_collimator
-COMPONENT Source_capture = Virtual_output(
- filename="Source_capture.dat")
+COMPONENT Source_capture = MCPL_output(
+ filename="Source_capture")
WHEN (full_instrument==1)
AT (0, 0, chamber_col_start+chamber_col_length) RELATIVE Prim_axes
/*
-COMPONENT Colimator_source = Virtual_input(
- filename="C:\\mcstas-2.0\\workspace\\Source_capture.dat",verbose=1, repeat_count=1, smooth=1)
+COMPONENT Colimator_source = MCPL_input(
+ filename="Source_capture.mcpl.gz", verbose=1, repeat_count=1)
WHEN (full_instrument==0)
AT (0, 0, chamber_col_start+chamber_col_length) RELATIVE Prim_axes
*/
diff --git a/mcstas-comps/examples/Necsa/SAFARI_PITSI/SAFARI_PITSI.instr b/mcstas-comps/examples/Necsa/SAFARI_PITSI/SAFARI_PITSI.instr
index 35ddcacd0d..0780b2331f 100644
--- a/mcstas-comps/examples/Necsa/SAFARI_PITSI/SAFARI_PITSI.instr
+++ b/mcstas-comps/examples/Necsa/SAFARI_PITSI/SAFARI_PITSI.instr
@@ -454,15 +454,15 @@ COMPONENT PSD_Outside_chamber_collimator_1 = PSD_monitor(
WHEN (full_instrument==1)
AT (0, 0, 0) RELATIVE Outside_chamber_collimator
-/*COMPONENT Source_capture = Virtual_output(
- filename="D:\\McStas\\PITSI_Source_capture.dat", bufsize=1e7)
+/*COMPONENT Source_capture = MCPL_output(
+ filename="PITSI_Source_capture")
WHEN (full_instrument==1)
AT (0, 0, chamber_col_start+chamber_col_length) RELATIVE Prim_axes
*/
-/*COMPONENT Colimator_source = Virtual_input(
- filename="C:\\mcstas-2.0\\workspace\\Source_capture.dat",verbose=1, repeat_count=1, smooth=1)
+/*COMPONENT Colimator_source = MCPL_input(
+ filename="Source_capture.mcpl.gz", verbose=1, repeat_count=1)
WHEN (full_instrument==0)
AT (0, 0, chamber_col_start+chamber_col_length) RELATIVE Prim_axes */
diff --git a/mcstas-comps/examples/PSI/RITA-II/README.md b/mcstas-comps/examples/PSI/RITA-II/README.md
index c39415fc7a..3da9bc9a73 100644
--- a/mcstas-comps/examples/PSI/RITA-II/README.md
+++ b/mcstas-comps/examples/PSI/RITA-II/README.md
@@ -37,24 +37,21 @@ mcrun RITA-II.instr -n3e6 BPL=0.97 BPH=1.03 EI=5 EF=5 COLL_MS=40 SAMPLE=1 OUTFI
Vanadium sample, no filters, seeing 1st-3rd order neutrons
mcrun RITA-II.instr -n3e6 BPL=0.30 BPH=1.03 EI=5 EF=5 SAMPLE=1 INFILTER=0 OUTFILTER=0 REP=10 -d RITA-II_Vanadium
Powder sample (default sapphire), simulation 1) through entire instrument or 2)from virtual source 3) in 2-axis mode, with particular slit settings scaling the source yield to 2008 values
-1) mcrun RITA-II.instr -n3e6 EF=5 EN=0 SAMPLE=2 COLL_MS=40 SAMPLEFILE="Al2O3_sapphire.lau" BARNS=0 SOURCEFILE="RITA-II_Vsource40/Vin_default.dat" REP=10 -d RITA-II_40_powder
-2) mcrun RITA-II.instr EI=5 EF=5 SAMPLE=2 SAMPLEFILE="Al2O3_sapphire.lau" BARNS=0 SOURCEFILE="RITA-II_Vsource40/Vin_default.dat" VIRTUALIN=1 REP=3 -d RITA-II_VINsource40_powder
+1) mcrun RITA-II.instr -n3e6 EF=5 EN=0 SAMPLE=2 COLL_MS=40 SAMPLEFILE="Al2O3_sapphire.lau" BARNS=0 SOURCEFILE="RITA-II_Vsource40/Vin_default.mcpl.gz" REP=10 -d RITA-II_40_powder
+2) mcrun RITA-II.instr EI=5 EF=5 SAMPLE=2 SAMPLEFILE="Al2O3_sapphire.lau" BARNS=0 SOURCEFILE="RITA-II_Vsource40/Vin_default.mcpl.gz" VIRTUALIN=1 REP=3 -d RITA-II_VINsource40_powder
3) mcrun RITA-II.instr -n 1e7 ITAR=0.71 COLL_MS=19.6 BPL=0.97 BPH=1.03 EI=5 EF=5 QH=0 QK=0 QL=0 QM=1 A3=0.001 A4=-71 AA5=-90 A6=1e-3 MST=25 MSB=25 MSL=10 MSR=10 SAMPLE=2 SAMPLEFILE="Al2O3_sapphire.lau" SST=25 SSB=25 SSL=10 SSR=10 OUTFILTER=0 OUTFILTERFILE=Be.trm COARSE=1 REP=5 LC=6 RC=4 REP=1 BARNS=0 ANAFORCE=1 -d RITA-II_Al2O3_2axis
Single crystal sample. Define first lattice vector (a) along -x (to the right) , second lattice vector (b) along z (forward), third lattice vector (c) along y (up).
mcrun RITA-II.instr -n1e6 BPL=0.97 BPH=1.03 EI=5 EF=5 SAMPLE=3 REP=10 QH=2 QM=0 AS=4.95 BS=4.95 CS=4.95 AAX=-4.95 BBZ=4.95 CCY=4.95 AH=0 AK=1 AL=0 BH=1 BK=0 BL=0 SAMPLEFILE="Pb.laz" -d RITA-II_SXPb200
Phonon sample, inelastic scattering, no Bragg peaks in sample
mcrun RITA-II.instr -n1e6 L0=3.418 BPL=0.97 BPH=1.03 EI=7 EF=5 SAMPLE=4 REP=10 QH=2 QK=0.16 QM=0 AS=4.95 BS=4.95 CS=4.95 AAX=-4.95 BBZ=4.95 CCY=4.95 AH=0 AK=1 AL=0 BH=1 BK=0 BL=0 SAMPLEFILE="Pb.laz" -d RITA-II_SXPb200_2meV
-
-Example: BPL=0.97 BPH=1.03 EI=5 EN=0 COLL_MS=40 SAMPLE=1 OUTFILTER=0 REP=10 Detector: psd_detector_I=216.427
-
-Scan: mcrun RITA-II.instr BPL=0.97 BPH=1.03 EI=5 EF=5 SAMPLE=3 REP=10 QH=1.94,2.06 -N13 -n1e6 QM=0 AS=4.95 BS=4.95 CS=4.95 AAX=-4.95 BBZ=4.95 CCY=4.95 AH=0 AK=1 AL=0 BH=1 BK=0 BL=0 SAMPLEFILE="Pb.laz" Detector: psd_detector_I={
-6346.26,35354.2,95568.9,219958,343580,420629,422274,396788,301625,181630,70559.5,19328.9,2605.65 }
```
## Examples
-
+- **Test: BPL=0.97 BPH=1.03 EI=5 EN=0 COLL_MS=40 SAMPLE=1 OUTFILTER=0 REP=10 Detector: psd_detector_I=220.701**
+-
+- TestScan: mcrun RITA-II.instr BPL=0.97 BPH=1.03 EI=5 EF=5 SAMPLE=3 REP=10 QH=1.94,2.06 -N13 -n1e6 QM=0 AS=4.95 BS=4.95 CS=4.95 AAX=-4.95 BBZ=4.95 CCY=4.95 AH=0 AK=1 AL=0 BH=1 BK=0 BL=0 SAMPLEFILE="Pb.laz" Detector: psd_detector_I={13 values}
## Input parameters
@@ -64,14 +61,14 @@ Parameters in **boldface** are required; the others are optional.
|------|------|-------------|---------|
| ITAR | mA | Relative neutron yield from the spallation target. Value relative to 2009 | 1.0 |
| L0 | AA | Centre of generated wavelength distribution from source | 4.045 |
-| BPL | | Band Pass Low factor, multiplied on source wavelength L0 to allow neutrons with wavelengths with lambda {BPL*L0,BPH*L0} to be traced from the source. | 0.97 |
-| BPH | | Band Pass High factor, multiplied on source wavelength L0 to allow neutrons with wavelengths with lambda {BPL*L0,BPH*L0} to be traced from the source. | 1.03 |
+| BPL | 1 | Band Pass Low factor, multiplied on source wavelength L0 to allow neutrons with wavelengths with lambda {BPL*L0,BPH*L0} to be traced from the source. | 0.97 |
+| BPH | 1 | Band Pass High factor, multiplied on source wavelength L0 to allow neutrons with wavelengths with lambda {BPL*L0,BPH*L0} to be traced from the source. | 1.03 |
| MONO_N | 1 | Order of reflection used on mono | 1 |
| MONOFORCE | 1 | If set, monochromator is flat | 0 |
| MONO_MOS_H | min | Monochromator, horizontal mosaicity | 37 |
| MONO_MOS_V | min | Monochromator, vertical mosaicity | 37 |
| EI | meV | Incoming neutron energy. Also used to set range of energy monitors | 0 |
-| EF | meV | Outgoing neutron energy. Also used to set range of energy monitors | 0 |
+| EF | meV | Outgoing neutron energy. Also used to set range of energy monitors | 5 |
| EN | meV | Energy transferred in crystal | 0 |
| SM | 1 | Scattering sense of beam from Monochromator | 1 |
| SS | 1 | Scattering configuration signs. 'W' is SM=1,SS=-1,SA=1 | -1 |
@@ -142,10 +139,10 @@ Parameters in **boldface** are required; the others are optional.
| COARSE | 1 | Flag to indicate if Detector collimator is in or out | 1 |
| LC | deg | Detector-collimator angle of the leftmost blade | 4 |
| RC | deg | Detector-collimator angle of the rightmost blade | 3 |
-| REP | 1 | Repetition factor of virtual_input or Monochromator/Sample/Analyzer SPLITs | 1 |
+| REP | 1 | Repetition factor of MCPL_input or Monochromator/Sample/Analyzer SPLITs | 1 |
| VIRTUALOUT | 1 | If set, flag indicates that a Virtual source is created after the monochromator collimator | 0 |
| VIRTUALIN | 1 | If set, flag to indicates that Virtual source is used after the monochromator collimator | 0 |
-| SOURCEFILE | string | Name of file to be used/genereated as virtual input/output | "Vin_default.dat" |
+| SOURCEFILE | string | Name of file to be used/genereated as virtual input/output | "Vin_default.mcpl.gz" |
| verbose | 1 | print TAS configuration. 0 to be quiet | 1 |
## Links
diff --git a/mcstas-comps/examples/PSI/RITA-II/RITA-II.instr b/mcstas-comps/examples/PSI/RITA-II/RITA-II.instr
index ddbf4db0e2..1bdb8790d3 100644
--- a/mcstas-comps/examples/PSI/RITA-II/RITA-II.instr
+++ b/mcstas-comps/examples/PSI/RITA-II/RITA-II.instr
@@ -41,8 +41,8 @@
* Vanadium sample, no filters, seeing 1st-3rd order neutrons
* mcrun RITA-II.instr -n3e6 BPL=0.30 BPH=1.03 EI=5 EF=5 SAMPLE=1 INFILTER=0 OUTFILTER=0 REP=10 -d RITA-II_Vanadium
* Powder sample (default sapphire), simulation 1) through entire instrument or 2)from virtual source 3) in 2-axis mode, with particular slit settings scaling the source yield to 2008 values
-* 1) mcrun RITA-II.instr -n3e6 EF=5 EN=0 SAMPLE=2 COLL_MS=40 SAMPLEFILE="Al2O3_sapphire.lau" BARNS=0 SOURCEFILE="RITA-II_Vsource40/Vin_default.dat" REP=10 -d RITA-II_40_powder
-* 2) mcrun RITA-II.instr EI=5 EF=5 SAMPLE=2 SAMPLEFILE="Al2O3_sapphire.lau" BARNS=0 SOURCEFILE="RITA-II_Vsource40/Vin_default.dat" VIRTUALIN=1 REP=3 -d RITA-II_VINsource40_powder
+* 1) mcrun RITA-II.instr -n3e6 EF=5 EN=0 SAMPLE=2 COLL_MS=40 SAMPLEFILE="Al2O3_sapphire.lau" BARNS=0 SOURCEFILE="RITA-II_Vsource40/Vin_default.mcpl.gz" REP=10 -d RITA-II_40_powder
+* 2) mcrun RITA-II.instr EI=5 EF=5 SAMPLE=2 SAMPLEFILE="Al2O3_sapphire.lau" BARNS=0 SOURCEFILE="RITA-II_Vsource40/Vin_default.mcpl.gz" VIRTUALIN=1 REP=3 -d RITA-II_VINsource40_powder
* 3) mcrun RITA-II.instr -n 1e7 ITAR=0.71 COLL_MS=19.6 BPL=0.97 BPH=1.03 EI=5 EF=5 QH=0 QK=0 QL=0 QM=1 A3=0.001 A4=-71 AA5=-90 A6=1e-3 MST=25 MSB=25 MSL=10 MSR=10 SAMPLE=2 SAMPLEFILE="Al2O3_sapphire.lau" SST=25 SSB=25 SSL=10 SSR=10 OUTFILTER=0 OUTFILTERFILE=Be.trm COARSE=1 REP=5 LC=6 RC=4 REP=1 BARNS=0 ANAFORCE=1 -d RITA-II_Al2O3_2axis
* Single crystal sample. Define first lattice vector (a) along -x (to the right) , second lattice vector (b) along z (forward), third lattice vector (c) along y (up).
* mcrun RITA-II.instr -n1e6 BPL=0.97 BPH=1.03 EI=5 EF=5 SAMPLE=3 REP=10 QH=2 QM=0 AS=4.95 BS=4.95 CS=4.95 AAX=-4.95 BBZ=4.95 CCY=4.95 AH=0 AK=1 AL=0 BH=1 BK=0 BL=0 SAMPLEFILE="Pb.laz" -d RITA-II_SXPb200
@@ -50,9 +50,9 @@
* mcrun RITA-II.instr -n1e6 L0=3.418 BPL=0.97 BPH=1.03 EI=7 EF=5 SAMPLE=4 REP=10 QH=2 QK=0.16 QM=0 AS=4.95 BS=4.95 CS=4.95 AAX=-4.95 BBZ=4.95 CCY=4.95 AH=0 AK=1 AL=0 BH=1 BK=0 BL=0 SAMPLEFILE="Pb.laz" -d RITA-II_SXPb200_2meV
*
*
-* Example: BPL=0.97 BPH=1.03 EI=5 EN=0 COLL_MS=40 SAMPLE=1 OUTFILTER=0 REP=10 Detector: psd_detector_I=216.427
+* %Test: BPL=0.97 BPH=1.03 EI=5 EN=0 COLL_MS=40 SAMPLE=1 OUTFILTER=0 REP=10 Detector: psd_detector_I=220.701
*
-* Scan: mcrun RITA-II.instr BPL=0.97 BPH=1.03 EI=5 EF=5 SAMPLE=3 REP=10 QH=1.94,2.06 -N13 -n1e6 QM=0 AS=4.95 BS=4.95 CS=4.95 AAX=-4.95 BBZ=4.95 CCY=4.95 AH=0 AK=1 AL=0 BH=1 BK=0 BL=0 SAMPLEFILE="Pb.laz" Detector: psd_detector_I={
+* TestScan: mcrun RITA-II.instr BPL=0.97 BPH=1.03 EI=5 EF=5 SAMPLE=3 REP=10 QH=1.94,2.06 -N13 -n1e6 QM=0 AS=4.95 BS=4.95 CS=4.95 AAX=-4.95 BBZ=4.95 CCY=4.95 AH=0 AK=1 AL=0 BH=1 BK=0 BL=0 SAMPLEFILE="Pb.laz" Detector: psd_detector_I={
* 6346.26,35354.2,95568.9,219958,343580,420629,422274,396788,301625,181630,70559.5,19328.9,2605.65 }
*
* %Parameters
@@ -101,7 +101,7 @@
* INFILTER: [1] Flag to indicate if mono-block filter is in or out
* INFILTERFILE: [string] An input file of wavevector vs transmission to use with incoming filter
* COARSE: [1] Flag to indicate if Detector collimator is in or out
-* REP: [1] Repetition factor of virtual_input or Monochromator/Sample/Analyzer SPLITs
+* REP: [1] Repetition factor of MCPL_input or Monochromator/Sample/Analyzer SPLITs
* ANAFORCE: [1] If set the analyzer is forced flat
* MONO_MOS_H: [min] Monochromator, horizontal mosaicity
* MONO_MOS_V: [min] Monochromator, vertical mosaicity
@@ -149,7 +149,7 @@
* %End
*******************************************************************************/
DEFINE INSTRUMENT RITA_II( ITAR=1.0,L0=4.045,BPL=0.97,BPH=1.03, MONO_N=1,MONOFORCE=0,MONO_MOS_H=37,
- MONO_MOS_V=37, EI=0,EF=0,EN=0, SM=1,SS=-1,SA=1, QH=0, QK=0, QL=0, QM=1.8051,
+ MONO_MOS_V=37, EI=0,EF=5,EN=0, SM=1,SS=-1,SA=1, QH=0, QK=0, QL=0, QM=1.8051,
AS=4.95, BS=4.95, CS=4.95, AA=90, BB=90, CC=90, AH=0, AK=1, AL=0, BH=1, BK=0, BL=0,
INFILTER=0, string INFILTERFILE="Be.trm", COLL_MS=80, MST=40, MSB=40, MSL=40, MSR=40,
PTHICK=1e-3,PERSPEX=0, SAMPLE=1, string SAMPLEFILE="default",MOS=100,DD_D=1e-3,
@@ -158,7 +158,7 @@ DEFINE INSTRUMENT RITA_II( ITAR=1.0,L0=4.045,BPL=0.97,BPH=1.03, MONO_N=1,MONOFOR
A1=0,A2=0,A3=0,A4=0,A6=0,TILT=0, SST=100, SSB=100, SSL=100, SSR=100,
OUTFILTER=1, string OUTFILTERFILE="Be.trm", ANAFORCE=0,
AA5=0,C1=0,C2=0,C3=0,C4=0,C5=0,C6=0,C7=0,C8=0,C9=0, COARSE=1,LC=4, RC=3, REP=1,
- VIRTUALOUT=0, VIRTUALIN=0, string SOURCEFILE="Vin_default.dat",verbose=1 )
+ VIRTUALOUT=0, VIRTUALIN=0, string SOURCEFILE="Vin_default.mcpl.gz",verbose=1 )
DECLARE
%{
@@ -673,7 +673,8 @@ machine_hkl.da = DA;
if (Qmode) {
machine_real = qhkl2angles(sample, machine_hkl, machine_real);
if (strlen(machine_real.message)) {
- exit(fprintf(stderr, "%s: ERROR: %s [qhkl2angles]\n", NAME_INSTRUMENT, machine_real.message));
+ fprintf(stderr, "%s: ERROR: %s [qhkl2angles]\n", NAME_INSTRUMENT, machine_real.message);
+ exit(-1);
}
}
@@ -891,6 +892,7 @@ YwinMax[6] = 91;
YwinMax[7] = 91;
YwinMax[8] = 91;
YwinMax[9] = 91;
+#pragma acc update device(SPLITREP,SPLITMREP,SPLITAREP,XwinMin,YwinMin,XwinMax,YwinMax)
%}
@@ -1263,11 +1265,11 @@ WHEN (!VIRTUALIN) AT (0,0,dmv) RELATIVE a2
/* If the virtual output is generated the secondary spectrometer IS NOT simulated */
-/* COMPONENT virtualout = Virtual_output(filename=SOURCEFILE, bufsize=0)*/
+/* COMPONENT virtualout = MCPL_output(filename=SOURCEFILE)*/
/*WHEN (!VIRTUALIN && VIRTUALOUT) AT (0, 0, 0) RELATIVE aa2*/
/**/
/**/
-/*COMPONENT virtualsource = Virtual_input(filename=SOURCEFILE, verbose=1, repeat_count=REP)*/
+/*COMPONENT virtualsource = MCPL_input(filename=SOURCEFILE, verbose=1, repeat_count=REP)*/
/*WHEN (VIRTUALIN && !VIRTUALOUT) AT (0,0,0) RELATIVE aa2*/
diff --git a/mcstas-comps/examples/SNS/SNS_ARCS/SNS_ARCS.instr b/mcstas-comps/examples/SNS/SNS_ARCS/SNS_ARCS.instr
index 53c193a65e..06eceae178 100644
--- a/mcstas-comps/examples/SNS/SNS_ARCS/SNS_ARCS.instr
+++ b/mcstas-comps/examples/SNS/SNS_ARCS/SNS_ARCS.instr
@@ -110,7 +110,7 @@ INITIALIZE
sprintf(mon1optstr,"ARCS_mon1_Edes_%1.3e_Ferminu_%1.2e_nrad_%1.5g_nchans_%g_T0_off_%1.3e_T0_nu_%1.1e%s",Edes,Fermi_nu,nrad,nchans,T0_off,T0_nu,".tdat");
sprintf(mon2optstr,"ARCS_mon2_Edes_%1.3e_Ferminu_%1.2e_nrad_%1.5g_nchans_%g_T0_off_%1.3e_T0_nu_%1.1e%s",Edes,Fermi_nu,nrad,nchans,T0_off,T0_nu,".tdat");
sprintf(tfilename,"%s%1.0f%s","tdet_E_",Edes,".dat");
- sprintf(v_fname,"virt_src_ARCS_E%1.2f_F_nu_%g_T0_nu_%g_%g.dat",Edes,Fermi_nu,T0_nu,run_num);
+ sprintf(v_fname,"virt_src_ARCS_E%1.2f_F_nu_%g_T0_nu_%g_%g",Edes,Fermi_nu,T0_nu,run_num);
%}
TRACE
COMPONENT mod=SNS_source(filename=filename,
@@ -255,7 +255,7 @@ AT(0,0,13.328) RELATIVE mod
/* If you split into a front end and a back end, split it here
-COMPONENT vout = Virtual_output(file = v_fname,bufsize=0,type="binary")
+COMPONENT vout = MCPL_output(filename = v_fname)
AT (0, 0, LS) RELATIVE mod */
COMPONENT Sample_Arm=Arm()
diff --git a/mcstas-comps/examples/Templates/template/README.md b/mcstas-comps/examples/Templates/template/README.md
index a25eac616b..d15448ac46 100644
--- a/mcstas-comps/examples/Templates/template/README.md
+++ b/mcstas-comps/examples/Templates/template/README.md
@@ -14,7 +14,7 @@
```text
Instrument longer description (type, elements, usage...)
-Example: mcrun template.instr
+Example: mcrun template.instr [parameters=values]
once your instrument is written and functional:
- replace INSTRUMENT_SITE entry above with your Institution name as a single word
diff --git a/mcstas-comps/examples/Templates/template/template.instr b/mcstas-comps/examples/Templates/template/template.instr
index 084447f3ba..43a2f19b44 100644
--- a/mcstas-comps/examples/Templates/template/template.instr
+++ b/mcstas-comps/examples/Templates/template/template.instr
@@ -14,7 +14,7 @@
* %Description
* Instrument longer description (type, elements, usage...)
*
-* Example: mcrun template.instr
+* Example: mcrun template.instr [parameters=values]
*
* once your instrument is written and functional:
* - replace INSTRUMENT_SITE entry above with your Institution name as a single word
diff --git a/mcstas-comps/examples/Templates/templateSasView/README.md b/mcstas-comps/examples/Templates/templateSasView/README.md
index 2c882d24a0..4a7217b109 100644
--- a/mcstas-comps/examples/Templates/templateSasView/README.md
+++ b/mcstas-comps/examples/Templates/templateSasView/README.md
@@ -1,6 +1,6 @@
# The `templateSasView` Instrument
-*McStas: Test instrument for some SasView_model components. No guide / velocity selector
+*McStas: Test instrument for some SasView_ components. No guide / velocity selector
etc.*
## Identification
@@ -34,7 +34,7 @@ Parameters in **boldface** are required; the others are optional.
|------|------|-------------|---------|
| lambda | AA | Mean wavelength of neutrons | 6 |
| dlambda | AA | Wavelength spread of neutrons | 0.05 |
-| model_index | | SASmodels model index (see SasView_model.comp mcdoc page) | 47 |
+| model_index | | Sample model: 1=SasView_barbell, 3=SasView_bcc_paracrystal, 47=SasView_parallelepiped | 47 |
| par1 | | Slot 1 in SASmodel parameter vector | 0 |
| par2 | | Slot 2 in SASmodel parameter vector | 0 |
| par3 | | Slot 3 in SASmodel parameter vector | 0 |
@@ -43,7 +43,7 @@ Parameters in **boldface** are required; the others are optional.
| par6 | | Slot 6 in SASmodel parameter vector | 0 |
| par7 | | Slot 7 in SASmodel parameter vector | 0 |
| par8 | | Slot 8 in SASmodel parameter vector | 0 |
-| Ncount | | | 0 |
+| Ncount | 1 | Number of rays to simulate, if > 0 (overrides -n) | 0 |
## Links
diff --git a/mcstas-comps/examples/Templates/templateSasView/templateSasView.instr b/mcstas-comps/examples/Templates/templateSasView/templateSasView.instr
index ff18107834..0bde39c50c 100644
--- a/mcstas-comps/examples/Templates/templateSasView/templateSasView.instr
+++ b/mcstas-comps/examples/Templates/templateSasView/templateSasView.instr
@@ -14,7 +14,7 @@
*
* %INSTRUMENT_SITE: Templates
*
-* Test instrument for some SasView_model components. No guide / velocity selector
+* Test instrument for some SasView_ components. No guide / velocity selector
* etc.
*
* %Description
@@ -32,7 +32,7 @@
* %Parameters
* lambda: [AA] Mean wavelength of neutrons
* dlambda: [AA] Wavelength spread of neutrons
-* model_index: [ ] SASmodels model index (see SasView_model.comp mcdoc page)
+* model_index: [ ] Sample model: 1=SasView_barbell, 3=SasView_bcc_paracrystal, 47=SasView_parallelepiped
* par1: [ ] Slot 1 in SASmodel parameter vector
* par2: [ ] Slot 2 in SASmodel parameter vector
* par3: [ ] Slot 3 in SASmodel parameter vector
diff --git a/mcstas-comps/examples/Tests_monitors/Test_Monitors_cyl/README.md b/mcstas-comps/examples/Tests_monitors/Test_Monitors_cyl/README.md
new file mode 100644
index 0000000000..e8a22b82ed
--- /dev/null
+++ b/mcstas-comps/examples/Tests_monitors/Test_Monitors_cyl/README.md
@@ -0,0 +1,45 @@
+# The `Test_Monitors_cyl` Instrument
+
+*McStas: Cross-check of cylindrical and 4pi monitors against Monitor_nD*
+
+## Identification
+
+- **Site:** Tests_monitors
+- **Author:** Peter Willendrup (with AI assistance)
+- **Origin:** DTU
+- **Date:** November 2026
+
+## Description
+
+```text
+An incoherent scatterer (Incoherent, no absorption) at the centre of a set of
+cylindrical monitors with the same radius and height, all with restore_neutron=1
+and time/Q ranges that cover the full beam. Each must record the same total
+intensity as the reference Monitor_nD banana. The non-propagating Monitor_4PI
+is placed last and must record the same intensity as the reference
+Monitor_nD sphere.
+```
+
+## Examples
+
+- **Test: Detector: banana_ref_I=605.871**
+- **Test: Detector: tof_cyl_I=605.871**
+- **Test: Detector: tof2q_cylpsd_I=605.871**
+- **Test: Detector: tof2q_cyl_I=605.871**
+- **Test: Detector: sphere_ref_I=2965.75**
+- **Test: Detector: mon4pi_I=2965.75**
+
+## Input parameters
+
+Parameters in **boldface** are required; the others are optional.
+
+| Name | Unit | Description | Default |
+|------|------|-------------|---------|
+| lambda | AA | Mean wavelength | 5 |
+| dlambda | AA | Wavelength half spread | 1 |
+
+## Links
+
+- [Source code](Test_Monitors_cyl.instr) for `Test_Monitors_cyl.instr`.
+
+---
diff --git a/mcstas-comps/examples/Tests_monitors/Test_Monitors_cyl/Test_Monitors_cyl.instr b/mcstas-comps/examples/Tests_monitors/Test_Monitors_cyl/Test_Monitors_cyl.instr
new file mode 100644
index 0000000000..8dd9decfc6
--- /dev/null
+++ b/mcstas-comps/examples/Tests_monitors/Test_Monitors_cyl/Test_Monitors_cyl.instr
@@ -0,0 +1,70 @@
+/*******************************************************************************
+* Instrument: Test_Monitors_cyl
+*
+* %I
+* Written by: Peter Willendrup (with AI assistance)
+* Date: November 2026
+* Origin: DTU
+* %INSTRUMENT_SITE: Tests_monitors
+*
+* Cross-check of cylindrical and 4pi monitors against Monitor_nD
+*
+* %D
+* An incoherent scatterer (Incoherent, no absorption) at the centre of a set of
+* cylindrical monitors with the same radius and height, all with restore_neutron=1
+* and time/Q ranges that cover the full beam. Each must record the same total
+* intensity as the reference Monitor_nD banana. The non-propagating Monitor_4PI
+* is placed last and must record the same intensity as the reference
+* Monitor_nD sphere.
+*
+* %Test: Detector: banana_ref_I=605.871
+* %Test: Detector: tof_cyl_I=605.871
+* %Test: Detector: tof2q_cylpsd_I=605.871
+* %Test: Detector: tof2q_cyl_I=605.871
+* %Test: Detector: sphere_ref_I=2965.75
+* %Test: Detector: mon4pi_I=2965.75
+*
+* %P
+* lambda: [AA] Mean wavelength
+* dlambda: [AA] Wavelength half spread
+*
+* %E
+*******************************************************************************/
+DEFINE INSTRUMENT Test_Monitors_cyl(lambda=5, dlambda=1)
+
+TRACE
+
+COMPONENT origin = Progress_bar()
+AT (0, 0, 0) RELATIVE ABSOLUTE
+
+COMPONENT source = Source_simple(xwidth=0.01, yheight=0.01, dist=10, focus_xw=0.005, focus_yh=0.01,
+ lambda0=lambda, dlambda=dlambda, flux=1e10)
+AT (0, 0, 0) RELATIVE origin
+
+COMPONENT sample = Incoherent(radius=0.005, yheight=0.02, sigma_abs=0)
+AT (0, 0, 10) RELATIVE origin
+EXTEND %{
+ if (!SCATTERED) ABSORB;
+%}
+
+COMPONENT banana_ref = Monitor_nD(radius=1, yheight=0.4, options="banana, theta limits=[-180 180] bins=36", restore_neutron=1)
+AT (0, 0, 0) RELATIVE sample
+
+COMPONENT tof_cyl = TOF_cylPSD_monitor(radius=1, yheight=0.4, nt=50, nphi=36, tmin=5000, tmax=30000, filename="tof_cyl", restore_neutron=1)
+AT (0, 0, 0) RELATIVE sample
+
+COMPONENT tof2q_cylpsd = TOF2Q_cylPSD_monitor(radius=1, yheight=0.4, nQ=50, ny=20, ymin=-0.2, ymax=0.2,
+ Qmin=0, Qmax=1, T_zero=0, L_flight=11, theta=0.05, filename="tof2q_cylpsd", restore_neutron=1)
+AT (0, 0, 0) RELATIVE sample
+
+COMPONENT tof2q_cyl = TOF2Q_cyl_monitor(radius=1, height=0.4, nq=50, nphi=36, nh=10, q_min=0, q_max=20,
+ L_chop2samp=10, t_chop=0, pixel=0, filename="tof2q_cyl", restore_neutron=1)
+AT (0, 0, 0) RELATIVE sample
+
+COMPONENT sphere_ref = Monitor_nD(radius=2, options="sphere, theta phi", restore_neutron=1)
+AT (0, 0, 0) RELATIVE sample
+
+COMPONENT mon4pi = Monitor_4PI()
+AT (0, 0, 0) RELATIVE sample
+
+END
diff --git a/mcstas-comps/examples/Tests_monitors/Test_Monitors_flat/README.md b/mcstas-comps/examples/Tests_monitors/Test_Monitors_flat/README.md
new file mode 100644
index 0000000000..526110f1df
--- /dev/null
+++ b/mcstas-comps/examples/Tests_monitors/Test_Monitors_flat/README.md
@@ -0,0 +1,47 @@
+# The `Test_Monitors_flat` Instrument
+
+*McStas: Cross-check of flat monitors against PSD_monitor*
+
+## Identification
+
+- **Site:** Tests_monitors
+- **Author:** Peter Willendrup (with AI assistance)
+- **Origin:** DTU
+- **Date:** November 2026
+
+## Description
+
+```text
+A small beam hits a set of flat monitors in the same plane, all with
+restore_neutron=1 and windows larger than the beam. Every monitor must
+record the same total intensity as the reference PSD_monitor.
+TOF_PSDmonitor has no restore_neutron option and is placed next to last;
+the non-propagating Flex_monitor_3D comes last, so it sees the propagated
+neutron (x, y, t at the monitor plane).
+```
+
+## Examples
+
+- **Test: Detector: psd_ref_I=7.99887e+06**
+- **Test: Detector: epsd_I=7.99887e+06**
+- **Test: Detector: psd_tof_I=7.99887e+06**
+- **Test: Detector: psd_psf_I=7.99887e+06**
+- **Test: Detector: toflog_I=7.99887e+06**
+- **Test: Detector: tof_rad_I=7.99887e+06**
+- **Test: Detector: tof_psd_I=7.99887e+06**
+- **Test: Detector: flex3d_I=7.99887e+06**
+
+## Input parameters
+
+Parameters in **boldface** are required; the others are optional.
+
+| Name | Unit | Description | Default |
+|------|------|-------------|---------|
+| lambda | AA | Mean wavelength | 5 |
+| dlambda | AA | Wavelength half spread | 1 |
+
+## Links
+
+- [Source code](Test_Monitors_flat.instr) for `Test_Monitors_flat.instr`.
+
+---
diff --git a/mcstas-comps/examples/Tests_monitors/Test_Monitors_flat/Test_Monitors_flat.instr b/mcstas-comps/examples/Tests_monitors/Test_Monitors_flat/Test_Monitors_flat.instr
new file mode 100644
index 0000000000..65eb84b924
--- /dev/null
+++ b/mcstas-comps/examples/Tests_monitors/Test_Monitors_flat/Test_Monitors_flat.instr
@@ -0,0 +1,71 @@
+/*******************************************************************************
+* Instrument: Test_Monitors_flat
+*
+* %I
+* Written by: Peter Willendrup (with AI assistance)
+* Date: November 2026
+* Origin: DTU
+* %INSTRUMENT_SITE: Tests_monitors
+*
+* Cross-check of flat monitors against PSD_monitor
+*
+* %D
+* A small beam hits a set of flat monitors in the same plane, all with
+* restore_neutron=1 and windows larger than the beam. Every monitor must
+* record the same total intensity as the reference PSD_monitor.
+* TOF_PSDmonitor has no restore_neutron option and is placed next to last;
+* the non-propagating Flex_monitor_3D comes last, so it sees the propagated
+* neutron (x, y, t at the monitor plane).
+*
+* %Test: Detector: psd_ref_I=7.99887e+06
+* %Test: Detector: epsd_I=7.99887e+06
+* %Test: Detector: psd_tof_I=7.99887e+06
+* %Test: Detector: psd_psf_I=7.99887e+06
+* %Test: Detector: toflog_I=7.99887e+06
+* %Test: Detector: tof_rad_I=7.99887e+06
+* %Test: Detector: tof_psd_I=7.99887e+06
+* %Test: Detector: flex3d_I=7.99887e+06
+*
+* %P
+* lambda: [AA] Mean wavelength
+* dlambda: [AA] Wavelength half spread
+*
+* %E
+*******************************************************************************/
+DEFINE INSTRUMENT Test_Monitors_flat(lambda=5, dlambda=1)
+
+TRACE
+
+COMPONENT origin = Progress_bar()
+AT (0, 0, 0) RELATIVE ABSOLUTE
+
+COMPONENT source = Source_simple(xwidth=0.01, yheight=0.01, dist=2, focus_xw=0.04, focus_yh=0.04,
+ lambda0=lambda, dlambda=dlambda, flux=1e10)
+AT (0, 0, 0) RELATIVE origin
+
+COMPONENT psd_ref = PSD_monitor(xwidth=0.1, yheight=0.1, nx=50, ny=50, filename="psd_ref", restore_neutron=1)
+AT (0, 0, 2) RELATIVE origin
+
+COMPONENT epsd = EPSD_monitor(xwidth=0.1, yheight=0.1, nx=50, nE=50, Emin=0, Emax=10, filename="epsd", restore_neutron=1)
+AT (0, 0, 2) RELATIVE origin
+
+COMPONENT psd_tof = PSD_TOF_monitor(xwidth=0.1, yheight=0.1, nx=50, ny=50, nt=5, tmin=1000, tmax=5000, filename="psd_tof", restore_neutron=1)
+AT (0, 0, 2) RELATIVE origin
+
+COMPONENT psd_psf = PSD_monitor_psf(xwidth=0.1, yheight=0.1, nx=50, ny=50, psf=0.001, filename="psd_psf", restore_neutron=1)
+AT (0, 0, 2) RELATIVE origin
+
+COMPONENT toflog = TOFlog_monitor(xwidth=0.1, yheight=0.1, tmin=100, tmax=1e5, ndec=20, filename="toflog", restore_neutron=1)
+AT (0, 0, 2) RELATIVE origin
+
+COMPONENT tof_rad = TOF_PSD_monitor_rad(rmax=0.1, nr=50, nt=50, tmin=1000, tmax=5000, filename="tof_rad", filename_av="tof_rad_av", restore_neutron=1)
+AT (0, 0, 2) RELATIVE origin
+
+COMPONENT tof_psd = TOF_PSDmonitor(xwidth=0.1, yheight=0.1, ny=50, nchan=50, TOFmin=1000, TOFmax=5000, filename="tof_psd")
+AT (0, 0, 2) RELATIVE origin
+
+COMPONENT flex3d = Flex_monitor_3D(nU1=10, nU2=10, nU3=1, ustring1="x", Umin1=-0.05, Umax1=0.05,
+ ustring2="y", Umin2=-0.05, Umax2=0.05, ustring3="t", Umin3=1e-3, Umax3=5e-3, filename="flex3d")
+AT (0, 0, 2) RELATIVE origin
+
+END
diff --git a/mcstas-comps/examples/Tests_optics/Test_Bispectral_mirrors/README.md b/mcstas-comps/examples/Tests_optics/Test_Bispectral_mirrors/README.md
new file mode 100644
index 0000000000..d513b19b14
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_Bispectral_mirrors/README.md
@@ -0,0 +1,48 @@
+# The `Test_Bispectral_mirrors` Instrument
+
+*McStas: Single-point test of Mirror_Curved_Bispectral and Mirror_Elliptic_Bispectral against Mirror.*
+
+## Identification
+
+- **Site:** Tests_optics
+- **Author:** Peter Willendrup
+- **Origin:** DTU
+- **Date:** November 2026
+
+## Description
+
+```text
+A white pencil beam is reflected at grazing angle theta at one point of a flat
+Mirror (mirror=0), of Mirror_Curved_Bispectral set flat with
+theta_1=theta_2=theta_3=theta (mirror=1), and of Mirror_Elliptic_Bispectral
+placed where an axis-parallel beam meets the elliptic wall at angle theta
+(mirror=2). Mirror uses analytic parameters equivalent to the m-value model
+built into the Bispectral mirrors, so the reflected spectra L_out agree.
+Mirror and Mirror_Curved_Bispectral deflect towards -x, the elliptic wall
+towards +x. With transmit=1 the elliptic mirror also transmits the
+non-reflected part. Non-scattered neutrons are absorbed.
+```
+
+## Examples
+
+- **Test: mirror=0 Detector: L_out_I=1.57513e-15**
+- **Test: mirror=1 Detector: L_out_I=1.57472e-15**
+- **Test: mirror=2 Detector: L_out_I=1.57379e-15**
+- **Test: mirror=2 transmit=1 Detector: L_out_I=2.62418e-15**
+
+## Input parameters
+
+Parameters in **boldface** are required; the others are optional.
+
+| Name | Unit | Description | Default |
+|------|------|-------------|---------|
+| mirror | 1 | 0: Mirror, 1: Mirror_Curved_Bispectral, 2: Mirror_Elliptic_Bispectral | 0 |
+| theta | deg | Grazing angle at the reflection point | 1 |
+| m | 1 | m-value of the Bispectral mirrors | 2 |
+| transmit | 1 | Bispectral transmit option | 0 |
+
+## Links
+
+- [Source code](Test_Bispectral_mirrors.instr) for `Test_Bispectral_mirrors.instr`.
+
+---
diff --git a/mcstas-comps/examples/Tests_optics/Test_Bispectral_mirrors/Test_Bispectral_mirrors.instr b/mcstas-comps/examples/Tests_optics/Test_Bispectral_mirrors/Test_Bispectral_mirrors.instr
new file mode 100644
index 0000000000..2471ba1515
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_Bispectral_mirrors/Test_Bispectral_mirrors.instr
@@ -0,0 +1,83 @@
+/*******************************************************************************
+* Instrument: Test_Bispectral_mirrors
+*
+* %I
+* Written by: Peter Willendrup
+* Date: November 2026
+* Origin: DTU
+* %INSTRUMENT_SITE: Tests_optics
+*
+* Single-point test of Mirror_Curved_Bispectral and Mirror_Elliptic_Bispectral against Mirror.
+*
+* %D
+* A white pencil beam is reflected at grazing angle theta at one point of a flat
+* Mirror (mirror=0), of Mirror_Curved_Bispectral set flat with
+* theta_1=theta_2=theta_3=theta (mirror=1), and of Mirror_Elliptic_Bispectral
+* placed where an axis-parallel beam meets the elliptic wall at angle theta
+* (mirror=2). Mirror uses analytic parameters equivalent to the m-value model
+* built into the Bispectral mirrors, so the reflected spectra L_out agree.
+* Mirror and Mirror_Curved_Bispectral deflect towards -x, the elliptic wall
+* towards +x. With transmit=1 the elliptic mirror also transmits the
+* non-reflected part. Non-scattered neutrons are absorbed.
+*
+* %Test: mirror=0 Detector: L_out_I=1.57513e-15
+* %Test: mirror=1 Detector: L_out_I=1.57472e-15
+* %Test: mirror=2 Detector: L_out_I=1.57379e-15
+* %Test: mirror=2 transmit=1 Detector: L_out_I=2.62418e-15
+*
+* %P
+* mirror: [1] 0: Mirror, 1: Mirror_Curved_Bispectral, 2: Mirror_Elliptic_Bispectral
+* theta: [deg] Grazing angle at the reflection point
+* m: [1] m-value of the Bispectral mirrors
+* transmit: [1] Bispectral transmit option
+*
+* %E
+*******************************************************************************/
+DEFINE INSTRUMENT Test_Bispectral_mirrors(int mirror=0, theta=1, m=2, int transmit=0)
+DECLARE
+%{
+ double mv, Wv, b_e, a_e, s_e, z0, xh, ms_e;
+%}
+INITIALIZE
+%{
+ /* m-value model used by the Bispectral mirrors, expressed as Mirror parameters */
+ mv = m * 0.9853 + 0.1978;
+ Wv = -0.0002 * mv + 0.0022;
+ /* Elliptic wall with foci at -10/+10 m and half small axis b_e: pick the hit point
+ where a beam parallel to the axis meets the wall at angle theta */
+ b_e = 0.05;
+ a_e = sqrt (100 + b_e * b_e);
+ s_e = 1 / sqrt (1 + pow (tan (DEG2RAD * theta) * a_e / b_e, 2));
+ z0 = b_e * s_e;
+ xh = a_e * sqrt (1 - s_e * s_e);
+ ms_e = xh - 0.1;
+%}
+TRACE
+COMPONENT origin = Progress_bar()
+AT (0, 0, 0) ABSOLUTE
+COMPONENT source = Source_div(xwidth=1e-4, yheight=1e-4, focus_aw=1e-4, focus_ah=1e-4, lambda0=5.5, dlambda=4.5)
+AT (0, 0, 0) RELATIVE origin
+COMPONENT L_in = L_monitor(xwidth=0.01, yheight=0.01, nL=90, Lmin=1, Lmax=10, restore_neutron=1)
+AT (0, 0, 0.5) RELATIVE origin
+COMPONENT flat = Mirror(xwidth=0.2, yheight=0.05, center=1, R0=0.99, Qc=0.0217, alpha=mv, m=mv, W=Wv)
+WHEN (mirror==0) AT (0, 0, 1) RELATIVE origin ROTATED (0, 90-theta, 0) RELATIVE origin
+EXTEND %{
+ if (!SCATTERED) ABSORB;
+%}
+COMPONENT curved = Mirror_Curved_Bispectral(focus_s=-10, focus_e=10, mirror_start=-0.1, guide_start=-0.1, yheight=0.05, smallaxis=1,
+ length=0.2, m=m, transmit=transmit, theta_1=theta, theta_2=theta, theta_3=theta)
+WHEN (mirror==1) AT (0, 0, 1) RELATIVE origin ROTATED (0, -90, 0) RELATIVE origin
+EXTEND %{
+ if (!SCATTERED) ABSORB;
+%}
+COMPONENT elliptic = Mirror_Elliptic_Bispectral(focus_start_w=-10, focus_end_w=10, focus_start_h=-10, focus_end_h=10, mirror_start=ms_e,
+ m=m, smallaxis_w=2*b_e, smallaxis_h=1, length=0.2, transmit=transmit)
+WHEN (mirror==2) AT (z0, 0, 0.9) RELATIVE origin ROTATED (0, -90, 0) RELATIVE origin
+EXTEND %{
+ if (!SCATTERED) ABSORB;
+%}
+COMPONENT psd = PSD_monitor(xwidth=0.1, yheight=0.02, nx=100, ny=20, restore_neutron=1)
+AT (0, 0, 2) RELATIVE origin
+COMPONENT L_out = L_monitor(xwidth=0.1, yheight=0.02, nL=90, Lmin=1, Lmax=10)
+AT (0, 0, 2) RELATIVE origin
+END
diff --git a/mcstas-comps/examples/Tests_optics/Test_Fermi/Test_Fermi.instr b/mcstas-comps/examples/Tests_optics/Test_Fermi/Test_Fermi.instr
index 9b53df49df..57e6fbe2e0 100644
--- a/mcstas-comps/examples/Tests_optics/Test_Fermi/Test_Fermi.instr
+++ b/mcstas-comps/examples/Tests_optics/Test_Fermi/Test_Fermi.instr
@@ -51,8 +51,6 @@ INITIALIZE
switch (Fermi) {
case 1:
printf("Using FermiChopper\n"); break;
- case 2:
- printf("Using Vitess_ChopperFermi - unsupported.\n"); exit(-1);
case 3:
printf("Using FermiChopper_ILL\n"); break;
case 4:
diff --git a/mcstas-comps/examples/Tests_optics/Test_FlatEllipse_finite_mirror/README.md b/mcstas-comps/examples/Tests_optics/Test_FlatEllipse_finite_mirror/README.md
index 177faf1c1e..a86d1e0c29 100644
--- a/mcstas-comps/examples/Tests_optics/Test_FlatEllipse_finite_mirror/README.md
+++ b/mcstas-comps/examples/Tests_optics/Test_FlatEllipse_finite_mirror/README.md
@@ -18,7 +18,7 @@ implementing Nested Mirror Optic (NMO) as suggested by Böni et al.
## Examples
-
+- **Test: Detector: psd_monitor_f2_zoom_I=2.90353e-15**
## Input parameters
diff --git a/mcstas-comps/examples/Tests_optics/Test_FlatEllipse_finite_mirror/Test_FlatEllipse_finite_mirror.instr b/mcstas-comps/examples/Tests_optics/Test_FlatEllipse_finite_mirror/Test_FlatEllipse_finite_mirror.instr
index b24fd524c9..e038f030d4 100644
--- a/mcstas-comps/examples/Tests_optics/Test_FlatEllipse_finite_mirror/Test_FlatEllipse_finite_mirror.instr
+++ b/mcstas-comps/examples/Tests_optics/Test_FlatEllipse_finite_mirror/Test_FlatEllipse_finite_mirror.instr
@@ -13,6 +13,8 @@
* Implements a test instrument for the component FlatEllipse_finite_mirror,
* implementing Nested Mirror Optic (NMO) as suggested by Böni et al.
*
+* %Test: Detector: psd_monitor_f2_zoom_I=2.90353e-15
+*
* %P
* det_width: [m] Detector width
* source_width: [m] Source width
diff --git a/mcstas-comps/examples/Tests_optics/Test_Guide_four_side/README.md b/mcstas-comps/examples/Tests_optics/Test_Guide_four_side/README.md
new file mode 100644
index 0000000000..de97a22c11
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_Guide_four_side/README.md
@@ -0,0 +1,46 @@
+# The `Test_Guide_four_side` Instrument
+
+*McStas: Cross-check of Guide_four_side against Guide and Elliptic_guide_gravity.*
+
+## Identification
+
+- **Site:** Tests_optics
+- **Author:** Peter Willendrup
+- **Origin:** DTU
+- **Date:** November 2026
+
+## Description
+
+```text
+Compares Guide_four_side (four=1) with Guide (four=0, lin=0) for straight and
+tapered guides, and with Elliptic_guide_gravity (four=0, lin>0) for an
+elliptic guide. The four walls of Guide_four_side are set alike, with
+absorbing outer walls. Qc is set to the Guide_four_side default in all cases.
+```
+
+## Examples
+
+- **Test: four=1 Detector: psd_I=0.090771**
+- **Test: four=1 w2=0.02 Detector: psd_I=0.0368031**
+- **Test: four=1 lin=1 lout=1 Detector: psd_I=0.10061**
+- **Test: four=1 R0=0.99 Detector: psd_I=0.0897847**
+
+## Input parameters
+
+Parameters in **boldface** are required; the others are optional.
+
+| Name | Unit | Description | Default |
+|------|------|-------------|---------|
+| four | 1 | 1: Guide_four_side, 0: Guide or Elliptic_guide_gravity | 1 |
+| w1 | m | Entrance width and height | 0.04 |
+| w2 | m | Exit width and height (straight/tapered case) | 0.04 |
+| lin | m | Distance from 1st focal point to entrance, 0 for straight/tapered | 0 |
+| lout | m | Distance from 2nd focal point to exit | 0 |
+| m | 1 | m-value of all inner walls | 2 |
+| R0 | 1 | Low-angle reflectivity | 1 |
+
+## Links
+
+- [Source code](Test_Guide_four_side.instr) for `Test_Guide_four_side.instr`.
+
+---
diff --git a/mcstas-comps/examples/Tests_optics/Test_Guide_four_side/Test_Guide_four_side.instr b/mcstas-comps/examples/Tests_optics/Test_Guide_four_side/Test_Guide_four_side.instr
new file mode 100644
index 0000000000..9dbb7fbf8c
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_Guide_four_side/Test_Guide_four_side.instr
@@ -0,0 +1,53 @@
+/*******************************************************************************
+* Instrument: Test_Guide_four_side
+*
+* %I
+* Written by: Peter Willendrup
+* Date: November 2026
+* Origin: DTU
+* %INSTRUMENT_SITE: Tests_optics
+*
+* Cross-check of Guide_four_side against Guide and Elliptic_guide_gravity.
+*
+* %D
+* Compares Guide_four_side (four=1) with Guide (four=0, lin=0) for straight and
+* tapered guides, and with Elliptic_guide_gravity (four=0, lin>0) for an
+* elliptic guide. The four walls of Guide_four_side are set alike, with
+* absorbing outer walls. Qc is set to the Guide_four_side default in all cases.
+*
+* %Test: four=1 Detector: psd_I=0.090771
+* %Test: four=1 w2=0.02 Detector: psd_I=0.0368031
+* %Test: four=1 lin=1 lout=1 Detector: psd_I=0.10061
+* %Test: four=1 R0=0.99 Detector: psd_I=0.0897847
+*
+* %P
+* four: [1] 1: Guide_four_side, 0: Guide or Elliptic_guide_gravity
+* w1: [m] Entrance width and height
+* w2: [m] Exit width and height (straight/tapered case)
+* lin: [m] Distance from 1st focal point to entrance, 0 for straight/tapered
+* lout: [m] Distance from 2nd focal point to exit
+* m: [1] m-value of all inner walls
+* R0: [1] Low-angle reflectivity
+*
+* %E
+*******************************************************************************/
+DEFINE INSTRUMENT Test_Guide_four_side(int four=1, w1=0.04, w2=0.04, lin=0, lout=0, m=2, R0=1)
+TRACE
+COMPONENT origin = Progress_bar()
+AT (0, 0, 0) RELATIVE ABSOLUTE
+COMPONENT src = Source_simple(xwidth=0.04, yheight=0.04, dist=1, focus_xw=w1, focus_yh=w1, lambda0=5, dlambda=4)
+AT (0, 0, 0) RELATIVE origin
+COMPONENT g = Guide(w1=w1, h1=w1, w2=w2, h2=w2, l=2, m=m, R0=R0, Qc=0.0217)
+WHEN (!four && !lin) AT (0, 0, 1) RELATIVE origin
+COMPONENT ge = Elliptic_guide_gravity(xwidth=w1, yheight=w1, l=2, linxw=lin, loutxw=lout, linyh=lin, loutyh=lout,
+ R0=R0, Qc=0.0217, m=m, enableGravity=0)
+WHEN (!four && lin) AT (0, 0, 1) RELATIVE origin
+COMPONENT g4 = Guide_four_side(w1l=w1/2, w1r=w1/2, h1u=w1/2, h1d=w1/2, w2l=w2/2, w2r=w2/2, h2u=w2/2, h2d=w2/2, l=2, R0=R0,
+ linwl=lin, linwr=lin, linhu=lin, linhd=lin, loutwl=lout, loutwr=lout, louthu=lout, louthd=lout,
+ mxr=m, mxl=m, myu=m, myd=m)
+WHEN (four) AT (0, 0, 1) RELATIVE origin
+COMPONENT psd = PSD_monitor(xwidth=0.06, yheight=0.06, nx=60, ny=60, restore_neutron=1)
+AT (0, 0, 3.001) RELATIVE origin
+COMPONENT div = Divergence_monitor(xwidth=0.06, yheight=0.06, nh=60, nv=60, maxdiv_h=2, maxdiv_v=2, restore_neutron=1)
+AT (0, 0, 3.001) RELATIVE origin
+END
diff --git a/mcstas-comps/examples/Tests_optics/Test_Guides/README.md b/mcstas-comps/examples/Tests_optics/Test_Guides/README.md
index 72e21d9982..c46074e5c1 100644
--- a/mcstas-comps/examples/Tests_optics/Test_Guides/README.md
+++ b/mcstas-comps/examples/Tests_optics/Test_Guides/README.md
@@ -28,6 +28,8 @@ except the Guide_honeycomb which has a different geometry.
- **Test: Guide=7 Detector: Monitor2_xy_I=0.00724912**
- **Test: Guide=8 Detector: Monitor2_xy_I=0.00683072**
- **Test: Guide=9 Detector: Monitor2_xy_I=0.00724912**
+- **Test: Guide=10 Detector: Monitor2_xy_I=0.00725532**
+- **Test: Guide=11 Detector: Monitor2_xy_I=0.00725522**
## Input parameters
@@ -35,7 +37,7 @@ Parameters in **boldface** are required; the others are optional.
| Name | Unit | Description | Default |
|------|------|-------------|---------|
-| Guide | 1 | Choice of Guide component to test, with 1=Guide, 2=Guide_channeled, 3=Guide_gravity, 4=Guide_wavy, 5=Guide_curved, 6=Elliptic_guide_gravity, 7=Guide_anyshape, 8=Guide_honeycomb, 9=Guide_anyshape with per-face coatings read from the OFF file (file_coatings=1) | 1 |
+| Guide | 1 | Choice of Guide component to test, with 1=Guide, 2=Guide_channeled, 3=Guide_gravity, 4=Guide_wavy, 5=Guide_curved, 6=Elliptic_guide_gravity, 7=Guide_anyshape, 8=Guide_honeycomb, 9=Guide_anyshape with per-face coatings read from the OFF file (file_coatings=1), 10=Guide_gravity_psd, 11=Guide_multichannel | 1 |
## Links
diff --git a/mcstas-comps/examples/Tests_optics/Test_Guides/Test_Guides.instr b/mcstas-comps/examples/Tests_optics/Test_Guides/Test_Guides.instr
index a3692aa4ef..e18f3ea81e 100644
--- a/mcstas-comps/examples/Tests_optics/Test_Guides/Test_Guides.instr
+++ b/mcstas-comps/examples/Tests_optics/Test_Guides/Test_Guides.instr
@@ -25,9 +25,11 @@
* %Test: Guide=7 Detector: Monitor2_xy_I=0.00724912
* %Test: Guide=8 Detector: Monitor2_xy_I=0.00683072
* %Test: Guide=9 Detector: Monitor2_xy_I=0.00724912
+* %Test: Guide=10 Detector: Monitor2_xy_I=0.00725532
+* %Test: Guide=11 Detector: Monitor2_xy_I=0.00725522
*
* %Parameters
-* Guide: [1] Choice of Guide component to test, with 1=Guide, 2=Guide_channeled, 3=Guide_gravity, 4=Guide_wavy, 5=Guide_curved, 6=Elliptic_guide_gravity, 7=Guide_anyshape, 8=Guide_honeycomb, 9=Guide_anyshape with per-face coatings read from the OFF file (file_coatings=1)
+* Guide: [1] Choice of Guide component to test, with 1=Guide, 2=Guide_channeled, 3=Guide_gravity, 4=Guide_wavy, 5=Guide_curved, 6=Elliptic_guide_gravity, 7=Guide_anyshape, 8=Guide_honeycomb, 9=Guide_anyshape with per-face coatings read from the OFF file (file_coatings=1), 10=Guide_gravity_psd, 11=Guide_multichannel
*
* %End
*******************************************************************************/
@@ -56,6 +58,8 @@ INITIALIZE
if(Guide==7) printf("Using Guide_anyshape\n");
if(Guide==8) printf("Using Guide_honeycomb\n");
if(Guide==9) printf("Using Guide_anyshape with per-face coatings (file_coatings=1)\n");
+ if(Guide==10) printf("Using Guide_gravity_psd\n");
+ if(Guide==11) printf("Using Guide_multichannel\n");
_Guide=Guide;
#pragma acc update device(_Guide)
@@ -98,6 +102,14 @@ EXTEND %{
if (!SCATTERED) ABSORB;
%}
+COMPONENT GuideMC = Guide_multichannel(
+ w1 = 0.05, h1 = 0.05, l = 1.0, R0 = 0.99, dlam=0, m=1)
+ WHEN (Guide == 11)
+ AT (0, 0, 0) RELATIVE Guide_Position
+EXTEND %{
+ if (!SCATTERED) ABSORB;
+%}
+
COMPONENT GuideG = Guide_gravity(
w1 = 0.05, h1 = 0.05, l = 1.0, R0 = 0.99, d=0, m=1)
WHEN (Guide == 3)
@@ -106,6 +118,15 @@ EXTEND %{
if (!SCATTERED) ABSORB;
%}
+COMPONENT GuideGpsd = Guide_gravity_psd(
+ w1 = 0.05, h1 = 0.05, l = 1.0, R0 = 0.99, d=0, m=1, nxpsd=100,
+ filenameT="psd_top", filenameB="psd_bottom", filenameL="psd_left", filenameR="psd_right")
+ WHEN (Guide == 10)
+ AT (0, 0, 0) RELATIVE Guide_Position
+EXTEND %{
+ if (!SCATTERED) ABSORB;
+%}
+
COMPONENT GuideW = Guide_wavy(
w1 = 0.05, h1 = 0.05, l = 1.0, R0 = 0.99, m=1)
WHEN (Guide == 4)
diff --git a/mcstas-comps/examples/Tests_optics/Test_Mask/README.md b/mcstas-comps/examples/Tests_optics/Test_Mask/README.md
new file mode 100644
index 0000000000..882a53d366
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_Mask/README.md
@@ -0,0 +1,40 @@
+# The `Test_Mask` Instrument
+
+*McStas: Unit test instrument for the Mask and Absorber components*
+
+## Identification
+
+- **Site:** Tests_optics
+- **Author:** Erik B Knudsen (erkn@fysik.dtu.dk)
+- **Origin:** DTU Physics
+- **Date:** 12/03/2014
+
+## Description
+
+```text
+A non-divergent beam impinges on a masking image, with 2D detectors up- and downstream
+of the mask. Ported from the McXtrace Test_Mask instrument.
+The mask transmits 1/4 of the beam (invert=0) or 3/4 (invert=1).
+With absorber=1 the mask is replaced by an Absorber block covering the x>0 half of the beam.
+```
+
+## Examples
+
+- **Test: invert=0 Detector: psd1_I=1.52973e-10**
+- **Test: invert=1 Detector: psd1_I=4.56267e-10**
+- **Test: absorber=1 Detector: psd1_I=3.03816e-10**
+
+## Input parameters
+
+Parameters in **boldface** are required; the others are optional.
+
+| Name | Unit | Description | Default |
+|------|------|-------------|---------|
+| invert | 1 | If nonzero the transparency/opacity sense of the masking image is reversed. | 0 |
+| absorber | 1 | If nonzero, test Absorber instead of Mask. | 0 |
+
+## Links
+
+- [Source code](Test_Mask.instr) for `Test_Mask.instr`.
+
+---
diff --git a/mcstas-comps/examples/Tests_optics/Test_Mask/Test_Mask.instr b/mcstas-comps/examples/Tests_optics/Test_Mask/Test_Mask.instr
new file mode 100644
index 0000000000..0e89005481
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_Mask/Test_Mask.instr
@@ -0,0 +1,59 @@
+/*******************************************************************************
+* McStas instrument definition URL=http://www.mcstas.org
+*
+* Instrument: Test_Mask
+*
+* %Identification
+* Written by: Erik B Knudsen (erkn@fysik.dtu.dk)
+* Date: 12/03/2014
+* Origin: DTU Physics
+* %INSTRUMENT_SITE: Tests_optics
+*
+* Unit test instrument for the Mask and Absorber components
+*
+* %Description
+* A non-divergent beam impinges on a masking image, with 2D detectors up- and downstream
+* of the mask. Ported from the McXtrace Test_Mask instrument.
+* The mask transmits 1/4 of the beam (invert=0) or 3/4 (invert=1).
+* With absorber=1 the mask is replaced by an Absorber block covering the x>0 half of the beam.
+*
+* %Test: invert=0 Detector: psd1_I=1.52973e-10
+* %Test: invert=1 Detector: psd1_I=4.56267e-10
+* %Test: absorber=1 Detector: psd1_I=3.03816e-10
+*
+* %Parameters
+* invert: [1] If nonzero the transparency/opacity sense of the masking image is reversed.
+* absorber: [1] If nonzero, test Absorber instead of Mask.
+*
+* %End
+*******************************************************************************/
+DEFINE INSTRUMENT Test_Mask(int invert=0, int absorber=0)
+
+TRACE
+
+COMPONENT Origin = Progress_bar()
+ AT (0,0,0) ABSOLUTE
+
+COMPONENT src = Source_div(
+ xwidth = 0.1, yheight = 0.1, focus_aw = 1e-4, focus_ah = 1e-4,
+ lambda0 = 5, dlambda = 1)
+ AT (0, 0, 0) RELATIVE Origin
+
+COMPONENT psd0 = PSD_monitor(
+ xwidth=.12, yheight=.12, nx=200, ny=200, filename="psd0", restore_neutron=1)
+ AT (0,0,1) RELATIVE src
+
+COMPONENT maske = Mask(
+ xwidth=0.1, yheight=0.1, invert=invert, mask="Test_Mask_input_file.mask")
+ WHEN (!absorber)
+ AT (0,0,1e-6) RELATIVE psd0
+
+COMPONENT absorb = Absorber(
+ xmin=0, xmax=0.06, ymin=-0.06, ymax=0.06, zmin=0, zmax=0.01)
+ WHEN (absorber)
+ AT (0,0,1e-6) RELATIVE psd0
+
+COMPONENT psd1 = COPY(psd0) (filename="psd1")
+ AT (0,0,0.02) RELATIVE psd0
+
+END
diff --git a/mcstas-comps/examples/Tests_optics/Test_NMO/README.md b/mcstas-comps/examples/Tests_optics/Test_NMO/README.md
index b3af977cca..f8d75c04b6 100644
--- a/mcstas-comps/examples/Tests_optics/Test_NMO/README.md
+++ b/mcstas-comps/examples/Tests_optics/Test_NMO/README.md
@@ -19,7 +19,7 @@ implementing Nested Mirror Optic (NMO) as suggested by Böni et al.
## Examples
-
+- **Test: Detector: psd_monitor_f2_zoom_I=2.90353e-15**
## Input parameters
diff --git a/mcstas-comps/examples/Tests_optics/Test_NMO/Test_NMO.instr b/mcstas-comps/examples/Tests_optics/Test_NMO/Test_NMO.instr
index 93bb7228cb..26a7668029 100644
--- a/mcstas-comps/examples/Tests_optics/Test_NMO/Test_NMO.instr
+++ b/mcstas-comps/examples/Tests_optics/Test_NMO/Test_NMO.instr
@@ -14,6 +14,8 @@
* Implements a test instrument for the NMO component ,
* implementing Nested Mirror Optic (NMO) as suggested by Böni et al.
*
+* %Test: Detector: psd_monitor_f2_zoom_I=2.90353e-15
+*
* %P
* det_width: [m] Detector width
* source_width: [m] Source width
diff --git a/mcstas-comps/examples/Tests_optics/Test_PerfectCrystal/README.md b/mcstas-comps/examples/Tests_optics/Test_PerfectCrystal/README.md
new file mode 100644
index 0000000000..408afe7aa4
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_PerfectCrystal/README.md
@@ -0,0 +1,45 @@
+# The `Test_PerfectCrystal` Instrument
+
+*McStas: Si(111) backscattering: PerfectCrystal compared with an NCrystal single crystal.*
+
+## Identification
+
+- **Site:** Tests_optics
+- **Author:** Peter Willendrup
+- **Origin:** DTU
+- **Date:** November 2026
+
+## Description
+
+```text
+A near-parallel beam hits a flat Si(111) crystal at normal incidence. The
+backscattered spectrum is recorded upstream. PerfectCrystal (crystal=0) uses an
+Ewald curve with plateau width dtauovertau. NCrystal_sample (crystal=1) uses a
+mosaic single crystal; at backscattering its acceptance is a one-sided band of
+relative width about mos^2/2 below 2d, so mos=0.35 deg matches the Darwin width.
+Both give the same peak wavelength (2d=6.2708 AA) and plateau reflectivity
+(R=1); the line shapes differ.
+```
+
+## Examples
+
+- **Test: crystal=0 Detector: lam_I=5.37981e-16**
+- **Test: crystal=1 mos=0.35 Detector: lam_I=8.97065e-16**
+
+## Input parameters
+
+Parameters in **boldface** are required; the others are optional.
+
+| Name | Unit | Description | Default |
+|------|------|-------------|---------|
+| crystal | 1 | 0: PerfectCrystal, 1: NCrystal_sample | 0 |
+| dtauovertau | 1 | Ewald plateau width of PerfectCrystal | 1.86e-5 |
+| mos | deg | NCrystal mosaicity | 0.001 |
+| zdepth | m | NCrystal crystal thickness | 0.002 |
+| dL | AA | Source wavelength half spread around 2d | 0.0005 |
+
+## Links
+
+- [Source code](Test_PerfectCrystal.instr) for `Test_PerfectCrystal.instr`.
+
+---
diff --git a/mcstas-comps/examples/Tests_optics/Test_PerfectCrystal/Test_PerfectCrystal.instr b/mcstas-comps/examples/Tests_optics/Test_PerfectCrystal/Test_PerfectCrystal.instr
new file mode 100644
index 0000000000..cdedbe556d
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_PerfectCrystal/Test_PerfectCrystal.instr
@@ -0,0 +1,57 @@
+/*******************************************************************************
+* Instrument: Test_PerfectCrystal
+*
+* %I
+* Written by: Peter Willendrup
+* Date: November 2026
+* Origin: DTU
+* %INSTRUMENT_SITE: Tests_optics
+*
+* Si(111) backscattering: PerfectCrystal compared with an NCrystal single crystal.
+*
+* %D
+* A near-parallel beam hits a flat Si(111) crystal at normal incidence. The
+* backscattered spectrum is recorded upstream. PerfectCrystal (crystal=0) uses an
+* Ewald curve with plateau width dtauovertau. NCrystal_sample (crystal=1) uses a
+* mosaic single crystal; at backscattering its acceptance is a one-sided band of
+* relative width about mos^2/2 below 2d, so mos=0.35 deg matches the Darwin width.
+* Both give the same peak wavelength (2d=6.2708 AA) and plateau reflectivity
+* (R=1); the line shapes differ.
+*
+* %Test: crystal=0 Detector: lam_I=5.37981e-16
+* %Test: crystal=1 mos=0.35 Detector: lam_I=8.97065e-16
+*
+* %P
+* crystal: [1] 0: PerfectCrystal, 1: NCrystal_sample
+* dtauovertau: [1] Ewald plateau width of PerfectCrystal
+* mos: [deg] NCrystal mosaicity
+* zdepth: [m] NCrystal crystal thickness
+* dL: [AA] Source wavelength half spread around 2d
+*
+* %E
+*******************************************************************************/
+DEFINE INSTRUMENT Test_PerfectCrystal(int crystal=0, dtauovertau=1.86e-5, mos=0.001, zdepth=0.002, dL=0.0005)
+DECLARE
+%{
+ char cfg[256];
+ double L0;
+%}
+INITIALIZE
+%{
+ L0 = 2 * 3.13542;
+ sprintf (cfg, "Si_sg227.ncmat;temp=300K;mos=%gdeg;dir1=@crys_hkl:1,1,1@lab:0,0,1;dir2=@crys_hkl:1,-1,0@lab:1,0,0", mos);
+%}
+TRACE
+COMPONENT origin = Progress_bar()
+AT (0, 0, 0) ABSOLUTE
+COMPONENT source = Source_div(xwidth=0.01, yheight=0.01, focus_aw=1e-4, focus_ah=1e-4, lambda0=L0, dlambda=dL)
+AT (0, 0, 0) RELATIVE origin
+COMPONENT pc = PerfectCrystal(width=0.02, height=0.02, tau=2*PI/3.13542, dtauovertau=dtauovertau, exclusive=1)
+WHEN (crystal==0) AT (0, 0, 1) RELATIVE origin
+COMPONENT nc = NCrystal_sample(cfg=cfg, xwidth=0.02, yheight=0.02, zdepth=zdepth)
+WHEN (crystal==1) AT (0, 0, 1+zdepth/2) RELATIVE origin
+COMPONENT back = Arm()
+AT (0, 0, 0.5) RELATIVE origin ROTATED (0, 180, 0) RELATIVE origin
+COMPONENT lam = L_monitor(xwidth=0.03, yheight=0.03, nL=200, Lmin=L0-dL, Lmax=L0+dL, restore_neutron=1)
+AT (0, 0, 0) RELATIVE back
+END
diff --git a/mcstas-comps/examples/Tests_optics/Test_Pol_bender_tapering/README.md b/mcstas-comps/examples/Tests_optics/Test_Pol_bender_tapering/README.md
new file mode 100644
index 0000000000..00b7cd334e
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_Pol_bender_tapering/README.md
@@ -0,0 +1,42 @@
+# The `Test_Pol_bender_tapering` Instrument
+
+*McStas: Cross-check of Pol_bender_tapering against Pol_bender.*
+
+## Identification
+
+- **Site:** Tests_optics
+- **Author:** Peter Willendrup
+- **Origin:** DTU
+- **Date:** November 2026
+
+## Description
+
+```text
+Compares Pol_bender_tapering (bender=1) with Pol_bender (bender=0) for a single
+untapered channel with absorbing top and bottom walls and non-polarising m=2
+side walls. Pol_bender uses the analytic reflectivity, Pol_bender_tapering a
+tabulated copy of it (Test_Pol_bender_tapering_reflect.dat) and the mock
+channel file Test_Pol_bender_tapering_channel.dat. A large entry_radius
+approximates the flat entry of Pol_bender. Gravity is off in both.
+```
+
+## Examples
+
+- **Test: bender=1 Detector: psd_I=0.0189025**
+- **Test: bender=0 Detector: psd_I=0.0188785**
+
+## Input parameters
+
+Parameters in **boldface** are required; the others are optional.
+
+| Name | Unit | Description | Default |
+|------|------|-------------|---------|
+| bender | 1 | 1: Pol_bender_tapering, 0: Pol_bender | 1 |
+| guideLength | m | Bender length | 2 |
+| guideRadius | m | Bender radius of curvature | 50 |
+
+## Links
+
+- [Source code](Test_Pol_bender_tapering.instr) for `Test_Pol_bender_tapering.instr`.
+
+---
diff --git a/mcstas-comps/examples/Tests_optics/Test_Pol_bender_tapering/Test_Pol_bender_tapering.instr b/mcstas-comps/examples/Tests_optics/Test_Pol_bender_tapering/Test_Pol_bender_tapering.instr
new file mode 100644
index 0000000000..ea48502650
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_Pol_bender_tapering/Test_Pol_bender_tapering.instr
@@ -0,0 +1,72 @@
+/*******************************************************************************
+* Instrument: Test_Pol_bender_tapering
+*
+* %I
+* Written by: Peter Willendrup
+* Date: November 2026
+* Origin: DTU
+* %INSTRUMENT_SITE: Tests_optics
+*
+* Cross-check of Pol_bender_tapering against Pol_bender.
+*
+* %D
+* Compares Pol_bender_tapering (bender=1) with Pol_bender (bender=0) for a single
+* untapered channel with absorbing top and bottom walls and non-polarising m=2
+* side walls. Pol_bender uses the analytic reflectivity, Pol_bender_tapering a
+* tabulated copy of it (Test_Pol_bender_tapering_reflect.dat) and the mock
+* channel file Test_Pol_bender_tapering_channel.dat. A large entry_radius
+* approximates the flat entry of Pol_bender. Gravity is off in both.
+*
+* %Test: bender=1 Detector: psd_I=0.0189025
+* %Test: bender=0 Detector: psd_I=0.0188785
+*
+* %P
+* bender: [1] 1: Pol_bender_tapering, 0: Pol_bender
+* guideLength: [m] Bender length
+* guideRadius: [m] Bender radius of curvature
+*
+* %E
+*******************************************************************************/
+DEFINE INSTRUMENT Test_Pol_bender_tapering(int bender=1, guideLength=2, guideRadius=50)
+
+DECLARE
+%{
+ double alpha, xend, zend;
+%}
+
+INITIALIZE
+%{
+ alpha = guideLength / guideRadius;
+ xend = guideRadius * (1 - cos (alpha));
+ zend = guideRadius * sin (alpha);
+%}
+
+TRACE
+
+COMPONENT origin = Progress_bar()
+AT (0, 0, 0) ABSOLUTE
+
+COMPONENT source = Source_simple(radius=0.01, dist=1.2, focus_xw=0.08, focus_yh=0.08, lambda0=5, dlambda=4.5)
+AT (0, 0, 0) RELATIVE origin
+
+COMPONENT pb = Pol_bender(xwidth=0.08, yheight=0.08, length=guideLength, radius=guideRadius, G=0,
+ rTopUpPar={0.99, 0.0219, 6.07, 0, 0.003}, rTopDownPar={0.99, 0.0219, 6.07, 0, 0.003},
+ rBotUpPar={0.99, 0.0219, 6.07, 0, 0.003}, rBotDownPar={0.99, 0.0219, 6.07, 0, 0.003})
+WHEN (!bender) AT (0, 0, 1.2) RELATIVE origin
+
+COMPONENT pbt = Pol_bender_tapering(channel_file="Test_Pol_bender_tapering_channel.dat",
+ reflect_file="Test_Pol_bender_tapering_reflect.dat", yheight=0.08, length=guideLength,
+ d_substrate=1e-6, entry_radius=1000, radius=guideRadius, G=0, debug=0)
+WHEN (bender) AT (0, 0, 1.2) RELATIVE origin
+
+COMPONENT bender_end = Arm()
+AT (xend, 0, 1.2 + zend) RELATIVE origin
+ROTATED (0, RAD2DEG * alpha, 0) RELATIVE origin
+
+COMPONENT psd = PSD_monitor(xwidth=0.1, yheight=0.1, nx=40, ny=40, restore_neutron=1)
+AT (0, 0, 0.05) RELATIVE bender_end
+
+COMPONENT lam = L_monitor(xwidth=0.1, yheight=0.1, nL=45, Lmin=0.5, Lmax=9.5, restore_neutron=1)
+AT (0, 0, 0.05) RELATIVE bender_end
+
+END
diff --git a/mcstas-comps/examples/Tests_optics/Test_Pol_bender_tapering/Test_Pol_bender_tapering_channel.dat b/mcstas-comps/examples/Tests_optics/Test_Pol_bender_tapering/Test_Pol_bender_tapering_channel.dat
new file mode 100644
index 0000000000..2fee41ab64
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_Pol_bender_tapering/Test_Pol_bender_tapering_channel.dat
@@ -0,0 +1,3 @@
+# Mock channel file for Test_Pol_bender_tapering: one untapered channel
+# d-spacing1 d-spacing2 l_spacer d-coating1 d-coating2
+0.08 0.08 0 1e-9 1e-9
diff --git a/mcstas-comps/examples/Tests_optics/Test_Pol_bender_tapering/Test_Pol_bender_tapering_reflect.dat b/mcstas-comps/examples/Tests_optics/Test_Pol_bender_tapering/Test_Pol_bender_tapering_reflect.dat
new file mode 100644
index 0000000000..e1c8eda273
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_Pol_bender_tapering/Test_Pol_bender_tapering_reflect.dat
@@ -0,0 +1,1003 @@
+# Mock reflectivity for Test_Pol_bender_tapering: StdReflecFunc with R0=0.99 Qc=0.0219 alpha=6.07 m=2 W=0.003
+# q [AA^-1] R(up) R(down)
+0.0000 0.99 0.99
+0.0001 0.99 0.99
+0.0002 0.99 0.99
+0.0003 0.99 0.99
+0.0004 0.99 0.99
+0.0005 0.99 0.99
+0.0006 0.99 0.99
+0.0007 0.99 0.99
+0.0008 0.99 0.99
+0.0009 0.99 0.99
+0.0010 0.99 0.99
+0.0011 0.99 0.99
+0.0012 0.99 0.99
+0.0013 0.99 0.99
+0.0014 0.99 0.99
+0.0015 0.99 0.99
+0.0016 0.99 0.99
+0.0017 0.99 0.99
+0.0018 0.99 0.99
+0.0019 0.99 0.99
+0.0020 0.99 0.99
+0.0021 0.99 0.99
+0.0022 0.99 0.99
+0.0023 0.99 0.99
+0.0024 0.99 0.99
+0.0025 0.99 0.99
+0.0026 0.99 0.99
+0.0027 0.99 0.99
+0.0028 0.99 0.99
+0.0029 0.99 0.99
+0.0030 0.99 0.99
+0.0031 0.99 0.99
+0.0032 0.99 0.99
+0.0033 0.99 0.99
+0.0034 0.99 0.99
+0.0035 0.99 0.99
+0.0036 0.99 0.99
+0.0037 0.99 0.99
+0.0038 0.99 0.99
+0.0039 0.99 0.99
+0.0040 0.99 0.99
+0.0041 0.99 0.99
+0.0042 0.99 0.99
+0.0043 0.99 0.99
+0.0044 0.99 0.99
+0.0045 0.99 0.99
+0.0046 0.99 0.99
+0.0047 0.99 0.99
+0.0048 0.99 0.99
+0.0049 0.99 0.99
+0.0050 0.99 0.99
+0.0051 0.99 0.99
+0.0052 0.99 0.99
+0.0053 0.99 0.99
+0.0054 0.99 0.99
+0.0055 0.99 0.99
+0.0056 0.99 0.99
+0.0057 0.99 0.99
+0.0058 0.99 0.99
+0.0059 0.99 0.99
+0.0060 0.99 0.99
+0.0061 0.99 0.99
+0.0062 0.99 0.99
+0.0063 0.99 0.99
+0.0064 0.99 0.99
+0.0065 0.99 0.99
+0.0066 0.99 0.99
+0.0067 0.99 0.99
+0.0068 0.99 0.99
+0.0069 0.99 0.99
+0.0070 0.99 0.99
+0.0071 0.99 0.99
+0.0072 0.99 0.99
+0.0073 0.99 0.99
+0.0074 0.99 0.99
+0.0075 0.99 0.99
+0.0076 0.99 0.99
+0.0077 0.99 0.99
+0.0078 0.99 0.99
+0.0079 0.99 0.99
+0.0080 0.99 0.99
+0.0081 0.99 0.99
+0.0082 0.99 0.99
+0.0083 0.99 0.99
+0.0084 0.99 0.99
+0.0085 0.99 0.99
+0.0086 0.99 0.99
+0.0087 0.99 0.99
+0.0088 0.99 0.99
+0.0089 0.99 0.99
+0.0090 0.99 0.99
+0.0091 0.99 0.99
+0.0092 0.99 0.99
+0.0093 0.99 0.99
+0.0094 0.99 0.99
+0.0095 0.99 0.99
+0.0096 0.99 0.99
+0.0097 0.99 0.99
+0.0098 0.99 0.99
+0.0099 0.99 0.99
+0.0100 0.99 0.99
+0.0101 0.99 0.99
+0.0102 0.99 0.99
+0.0103 0.99 0.99
+0.0104 0.99 0.99
+0.0105 0.99 0.99
+0.0106 0.99 0.99
+0.0107 0.99 0.99
+0.0108 0.99 0.99
+0.0109 0.99 0.99
+0.0110 0.99 0.99
+0.0111 0.99 0.99
+0.0112 0.99 0.99
+0.0113 0.99 0.99
+0.0114 0.99 0.99
+0.0115 0.99 0.99
+0.0116 0.99 0.99
+0.0117 0.99 0.99
+0.0118 0.99 0.99
+0.0119 0.99 0.99
+0.0120 0.99 0.99
+0.0121 0.99 0.99
+0.0122 0.99 0.99
+0.0123 0.99 0.99
+0.0124 0.99 0.99
+0.0125 0.99 0.99
+0.0126 0.99 0.99
+0.0127 0.99 0.99
+0.0128 0.99 0.99
+0.0129 0.99 0.99
+0.0130 0.99 0.99
+0.0131 0.99 0.99
+0.0132 0.99 0.99
+0.0133 0.99 0.99
+0.0134 0.99 0.99
+0.0135 0.99 0.99
+0.0136 0.99 0.99
+0.0137 0.99 0.99
+0.0138 0.99 0.99
+0.0139 0.99 0.99
+0.0140 0.99 0.99
+0.0141 0.99 0.99
+0.0142 0.99 0.99
+0.0143 0.99 0.99
+0.0144 0.99 0.99
+0.0145 0.99 0.99
+0.0146 0.99 0.99
+0.0147 0.99 0.99
+0.0148 0.99 0.99
+0.0149 0.99 0.99
+0.0150 0.99 0.99
+0.0151 0.99 0.99
+0.0152 0.99 0.99
+0.0153 0.99 0.99
+0.0154 0.99 0.99
+0.0155 0.99 0.99
+0.0156 0.99 0.99
+0.0157 0.99 0.99
+0.0158 0.99 0.99
+0.0159 0.99 0.99
+0.0160 0.99 0.99
+0.0161 0.99 0.99
+0.0162 0.99 0.99
+0.0163 0.99 0.99
+0.0164 0.99 0.99
+0.0165 0.99 0.99
+0.0166 0.99 0.99
+0.0167 0.99 0.99
+0.0168 0.99 0.99
+0.0169 0.99 0.99
+0.0170 0.99 0.99
+0.0171 0.99 0.99
+0.0172 0.99 0.99
+0.0173 0.99 0.99
+0.0174 0.99 0.99
+0.0175 0.99 0.99
+0.0176 0.99 0.99
+0.0177 0.99 0.99
+0.0178 0.99 0.99
+0.0179 0.99 0.99
+0.0180 0.99 0.99
+0.0181 0.99 0.99
+0.0182 0.99 0.99
+0.0183 0.99 0.99
+0.0184 0.99 0.99
+0.0185 0.99 0.99
+0.0186 0.99 0.99
+0.0187 0.99 0.99
+0.0188 0.99 0.99
+0.0189 0.99 0.99
+0.0190 0.99 0.99
+0.0191 0.99 0.99
+0.0192 0.99 0.99
+0.0193 0.99 0.99
+0.0194 0.99 0.99
+0.0195 0.99 0.99
+0.0196 0.99 0.99
+0.0197 0.99 0.99
+0.0198 0.99 0.99
+0.0199 0.99 0.99
+0.0200 0.99 0.99
+0.0201 0.99 0.99
+0.0202 0.99 0.99
+0.0203 0.99 0.99
+0.0204 0.99 0.99
+0.0205 0.99 0.99
+0.0206 0.99 0.99
+0.0207 0.99 0.99
+0.0208 0.99 0.99
+0.0209 0.99 0.99
+0.0210 0.99 0.99
+0.0211 0.99 0.99
+0.0212 0.99 0.99
+0.0213 0.99 0.99
+0.0214 0.99 0.99
+0.0215 0.99 0.99
+0.0216 0.99 0.99
+0.0217 0.99 0.99
+0.0218 0.99 0.99
+0.0219 0.99 0.99
+0.0220 0.989399 0.989399
+0.0221 0.988798 0.988798
+0.0222 0.988197 0.988197
+0.0223 0.987596 0.987596
+0.0224 0.986995 0.986995
+0.0225 0.986394 0.986394
+0.0226 0.985793 0.985793
+0.0227 0.985192 0.985192
+0.0228 0.984591 0.984591
+0.0229 0.98399 0.98399
+0.0230 0.983389 0.983389
+0.0231 0.982788 0.982788
+0.0232 0.982187 0.982187
+0.0233 0.981586 0.981586
+0.0234 0.980985 0.980985
+0.0235 0.980384 0.980384
+0.0236 0.979783 0.979783
+0.0237 0.979182 0.979182
+0.0238 0.978581 0.978581
+0.0239 0.97798 0.97798
+0.0240 0.977379 0.977379
+0.0241 0.976778 0.976778
+0.0242 0.976177 0.976177
+0.0243 0.975575 0.975575
+0.0244 0.974974 0.974974
+0.0245 0.974373 0.974373
+0.0246 0.973772 0.973772
+0.0247 0.973171 0.973171
+0.0248 0.97257 0.97257
+0.0249 0.971969 0.971969
+0.0250 0.971368 0.971368
+0.0251 0.970766 0.970766
+0.0252 0.970165 0.970165
+0.0253 0.969564 0.969564
+0.0254 0.968963 0.968963
+0.0255 0.968362 0.968362
+0.0256 0.96776 0.96776
+0.0257 0.967159 0.967159
+0.0258 0.966558 0.966558
+0.0259 0.965956 0.965956
+0.0260 0.965355 0.965355
+0.0261 0.964754 0.964754
+0.0262 0.964152 0.964152
+0.0263 0.963551 0.963551
+0.0264 0.962949 0.962949
+0.0265 0.962348 0.962348
+0.0266 0.961746 0.961746
+0.0267 0.961145 0.961145
+0.0268 0.960543 0.960543
+0.0269 0.959941 0.959941
+0.0270 0.959339 0.959339
+0.0271 0.958738 0.958738
+0.0272 0.958136 0.958136
+0.0273 0.957534 0.957534
+0.0274 0.956932 0.956932
+0.0275 0.95633 0.95633
+0.0276 0.955727 0.955727
+0.0277 0.955125 0.955125
+0.0278 0.954523 0.954523
+0.0279 0.95392 0.95392
+0.0280 0.953318 0.953318
+0.0281 0.952715 0.952715
+0.0282 0.952112 0.952112
+0.0283 0.95151 0.95151
+0.0284 0.950906 0.950906
+0.0285 0.950303 0.950303
+0.0286 0.9497 0.9497
+0.0287 0.949096 0.949096
+0.0288 0.948493 0.948493
+0.0289 0.947889 0.947889
+0.0290 0.947285 0.947285
+0.0291 0.946681 0.946681
+0.0292 0.946076 0.946076
+0.0293 0.945471 0.945471
+0.0294 0.944866 0.944866
+0.0295 0.944261 0.944261
+0.0296 0.943655 0.943655
+0.0297 0.943049 0.943049
+0.0298 0.942443 0.942443
+0.0299 0.941837 0.941837
+0.0300 0.94123 0.94123
+0.0301 0.940622 0.940622
+0.0302 0.940014 0.940014
+0.0303 0.939406 0.939406
+0.0304 0.938797 0.938797
+0.0305 0.938188 0.938188
+0.0306 0.937578 0.937578
+0.0307 0.936967 0.936967
+0.0308 0.936356 0.936356
+0.0309 0.935744 0.935744
+0.0310 0.935131 0.935131
+0.0311 0.934518 0.934518
+0.0312 0.933904 0.933904
+0.0313 0.933288 0.933288
+0.0314 0.932672 0.932672
+0.0315 0.932055 0.932055
+0.0316 0.931436 0.931436
+0.0317 0.930817 0.930817
+0.0318 0.930196 0.930196
+0.0319 0.929574 0.929574
+0.0320 0.92895 0.92895
+0.0321 0.928325 0.928325
+0.0322 0.927698 0.927698
+0.0323 0.927069 0.927069
+0.0324 0.926439 0.926439
+0.0325 0.925806 0.925806
+0.0326 0.925171 0.925171
+0.0327 0.924534 0.924534
+0.0328 0.923895 0.923895
+0.0329 0.923253 0.923253
+0.0330 0.922608 0.922608
+0.0331 0.92196 0.92196
+0.0332 0.921309 0.921309
+0.0333 0.920654 0.920654
+0.0334 0.919996 0.919996
+0.0335 0.919334 0.919334
+0.0336 0.918668 0.918668
+0.0337 0.917997 0.917997
+0.0338 0.917322 0.917322
+0.0339 0.916641 0.916641
+0.0340 0.915956 0.915956
+0.0341 0.915264 0.915264
+0.0342 0.914566 0.914566
+0.0343 0.913862 0.913862
+0.0344 0.91315 0.91315
+0.0345 0.912431 0.912431
+0.0346 0.911704 0.911704
+0.0347 0.910969 0.910969
+0.0348 0.910224 0.910224
+0.0349 0.909469 0.909469
+0.0350 0.908704 0.908704
+0.0351 0.907928 0.907928
+0.0352 0.907141 0.907141
+0.0353 0.90634 0.90634
+0.0354 0.905526 0.905526
+0.0355 0.904697 0.904697
+0.0356 0.903854 0.903854
+0.0357 0.902993 0.902993
+0.0358 0.902115 0.902115
+0.0359 0.901219 0.901219
+0.0360 0.900302 0.900302
+0.0361 0.899365 0.899365
+0.0362 0.898404 0.898404
+0.0363 0.897419 0.897419
+0.0364 0.896409 0.896409
+0.0365 0.895371 0.895371
+0.0366 0.894303 0.894303
+0.0367 0.893205 0.893205
+0.0368 0.892073 0.892073
+0.0369 0.890905 0.890905
+0.0370 0.8897 0.8897
+0.0371 0.888454 0.888454
+0.0372 0.887166 0.887166
+0.0373 0.885831 0.885831
+0.0374 0.884448 0.884448
+0.0375 0.883014 0.883014
+0.0376 0.881524 0.881524
+0.0377 0.879975 0.879975
+0.0378 0.878364 0.878364
+0.0379 0.876687 0.876687
+0.0380 0.87494 0.87494
+0.0381 0.873117 0.873117
+0.0382 0.871215 0.871215
+0.0383 0.869229 0.869229
+0.0384 0.867153 0.867153
+0.0385 0.864982 0.864982
+0.0386 0.86271 0.86271
+0.0387 0.860332 0.860332
+0.0388 0.85784 0.85784
+0.0389 0.855229 0.855229
+0.0390 0.852492 0.852492
+0.0391 0.84962 0.84962
+0.0392 0.846607 0.846607
+0.0393 0.843446 0.843446
+0.0394 0.840126 0.840126
+0.0395 0.836641 0.836641
+0.0396 0.832982 0.832982
+0.0397 0.829139 0.829139
+0.0398 0.825103 0.825103
+0.0399 0.820864 0.820864
+0.0400 0.816413 0.816413
+0.0401 0.811741 0.811741
+0.0402 0.806835 0.806835
+0.0403 0.801688 0.801688
+0.0404 0.796287 0.796287
+0.0405 0.790623 0.790623
+0.0406 0.784686 0.784686
+0.0407 0.778466 0.778466
+0.0408 0.771952 0.771952
+0.0409 0.765135 0.765135
+0.0410 0.758006 0.758006
+0.0411 0.750555 0.750555
+0.0412 0.742776 0.742776
+0.0413 0.73466 0.73466
+0.0414 0.726201 0.726201
+0.0415 0.717393 0.717393
+0.0416 0.708232 0.708232
+0.0417 0.698715 0.698715
+0.0418 0.688839 0.688839
+0.0419 0.678604 0.678604
+0.0420 0.668012 0.668012
+0.0421 0.657065 0.657065
+0.0422 0.645768 0.645768
+0.0423 0.634128 0.634128
+0.0424 0.622153 0.622153
+0.0425 0.609855 0.609855
+0.0426 0.597247 0.597247
+0.0427 0.584343 0.584343
+0.0428 0.571162 0.571162
+0.0429 0.557721 0.557721
+0.0430 0.544043 0.544043
+0.0431 0.530151 0.530151
+0.0432 0.51607 0.51607
+0.0433 0.501827 0.501827
+0.0434 0.487449 0.487449
+0.0435 0.472967 0.472967
+0.0436 0.45841 0.45841
+0.0437 0.44381 0.44381
+0.0438 0.429198 0.429198
+0.0439 0.414606 0.414606
+0.0440 0.400066 0.400066
+0.0441 0.385609 0.385609
+0.0442 0.371266 0.371266
+0.0443 0.357066 0.357066
+0.0444 0.343038 0.343038
+0.0445 0.329209 0.329209
+0.0446 0.315606 0.315606
+0.0447 0.302251 0.302251
+0.0448 0.289167 0.289167
+0.0449 0.276374 0.276374
+0.0450 0.263889 0.263889
+0.0451 0.251729 0.251729
+0.0452 0.239907 0.239907
+0.0453 0.228434 0.228434
+0.0454 0.21732 0.21732
+0.0455 0.206571 0.206571
+0.0456 0.196194 0.196194
+0.0457 0.18619 0.18619
+0.0458 0.176562 0.176562
+0.0459 0.167308 0.167308
+0.0460 0.158428 0.158428
+0.0461 0.149918 0.149918
+0.0462 0.141772 0.141772
+0.0463 0.133986 0.133986
+0.0464 0.126552 0.126552
+0.0465 0.119463 0.119463
+0.0466 0.11271 0.11271
+0.0467 0.106283 0.106283
+0.0468 0.100174 0.100174
+0.0469 0.0943723 0.0943723
+0.0470 0.0888669 0.0888669
+0.0471 0.0836473 0.0836473
+0.0472 0.0787029 0.0787029
+0.0473 0.0740227 0.0740227
+0.0474 0.0695958 0.0695958
+0.0475 0.0654115 0.0654115
+0.0476 0.061459 0.061459
+0.0477 0.0577278 0.0577278
+0.0478 0.0542076 0.0542076
+0.0479 0.0508883 0.0508883
+0.0480 0.0477601 0.0477601
+0.0481 0.0448133 0.0448133
+0.0482 0.0420388 0.0420388
+0.0483 0.0394277 0.0394277
+0.0484 0.0369713 0.0369713
+0.0485 0.0346614 0.0346614
+0.0486 0.03249 0.03249
+0.0487 0.0304495 0.0304495
+0.0488 0.0285327 0.0285327
+0.0489 0.0267325 0.0267325
+0.0490 0.0250425 0.0250425
+0.0491 0.0234562 0.0234562
+0.0492 0.0219677 0.0219677
+0.0493 0.0205713 0.0205713
+0.0494 0.0192615 0.0192615
+0.0495 0.0180333 0.0180333
+0.0496 0.0168818 0.0168818
+0.0497 0.0158024 0.0158024
+0.0498 0.0147908 0.0147908
+0.0499 0.0138428 0.0138428
+0.0500 0.0129547 0.0129547
+0.0501 0.0121227 0.0121227
+0.0502 0.0113433 0.0113433
+0.0503 0.0106135 0.0106135
+0.0504 0.00992997 0.00992997
+0.0505 0.00929001 0.00929001
+0.0506 0.00869085 0.00869085
+0.0507 0.00812995 0.00812995
+0.0508 0.00760491 0.00760491
+0.0509 0.00711348 0.00711348
+0.0510 0.00665355 0.00665355
+0.0511 0.00622313 0.00622313
+0.0512 0.00582036 0.00582036
+0.0513 0.00544347 0.00544347
+0.0514 0.00509084 0.00509084
+0.0515 0.00476092 0.00476092
+0.0516 0.00445226 0.00445226
+0.0517 0.00416351 0.00416351
+0.0518 0.0038934 0.0038934
+0.0519 0.00364073 0.00364073
+0.0520 0.00340438 0.00340438
+0.0521 0.00318332 0.00318332
+0.0522 0.00297656 0.00297656
+0.0523 0.00278319 0.00278319
+0.0524 0.00260233 0.00260233
+0.0525 0.00243319 0.00243319
+0.0526 0.00227501 0.00227501
+0.0527 0.00212709 0.00212709
+0.0528 0.00198876 0.00198876
+0.0529 0.00185941 0.00185941
+0.0530 0.00173845 0.00173845
+0.0531 0.00162534 0.00162534
+0.0532 0.00151958 0.00151958
+0.0533 0.00142068 0.00142068
+0.0534 0.00132821 0.00132821
+0.0535 0.00124175 0.00124175
+0.0536 0.00116091 0.00116091
+0.0537 0.00108533 0.00108533
+0.0538 0.00101466 0.00101466
+0.0539 0.000948581 0.000948581
+0.0540 0.000886804 0.000886804
+0.0541 0.000829045 0.000829045
+0.0542 0.000775045 0.000775045
+0.0543 0.000724558 0.000724558
+0.0544 0.000677357 0.000677357
+0.0545 0.000633227 0.000633227
+0.0546 0.000591971 0.000591971
+0.0547 0.0005534 0.0005534
+0.0548 0.000517341 0.000517341
+0.0549 0.000483629 0.000483629
+0.0550 0.000452113 0.000452113
+0.0551 0.000422649 0.000422649
+0.0552 0.000395104 0.000395104
+0.0553 0.000369353 0.000369353
+0.0554 0.00034528 0.00034528
+0.0555 0.000322775 0.000322775
+0.0556 0.000301736 0.000301736
+0.0557 0.000282067 0.000282067
+0.0558 0.000263681 0.000263681
+0.0559 0.000246492 0.000246492
+0.0560 0.000230423 0.000230423
+0.0561 0.000215402 0.000215402
+0.0562 0.000201359 0.000201359
+0.0563 0.000188231 0.000188231
+0.0564 0.000175959 0.000175959
+0.0565 0.000164487 0.000164487
+0.0566 0.000153763 0.000153763
+0.0567 0.000143737 0.000143737
+0.0568 0.000134365 0.000134365
+0.0569 0.000125604 0.000125604
+0.0570 0.000117414 0.000117414
+0.0571 0.000109758 0.000109758
+0.0572 0.000102601 0.000102601
+0.0573 9.5911e-05 9.5911e-05
+0.0574 8.96568e-05 8.96568e-05
+0.0575 8.38102e-05 8.38102e-05
+0.0576 7.83449e-05 7.83449e-05
+0.0577 7.32359e-05 7.32359e-05
+0.0578 6.846e-05 6.846e-05
+0.0579 6.39954e-05 6.39954e-05
+0.0580 5.9822e-05 5.9822e-05
+0.0581 5.59207e-05 5.59207e-05
+0.0582 5.22737e-05 5.22737e-05
+0.0583 4.88646e-05 4.88646e-05
+0.0584 4.56777e-05 4.56777e-05
+0.0585 4.26987e-05 4.26987e-05
+0.0586 3.99139e-05 3.99139e-05
+0.0587 3.73107e-05 3.73107e-05
+0.0588 3.48772e-05 3.48772e-05
+0.0589 3.26025e-05 3.26025e-05
+0.0590 3.0476e-05 3.0476e-05
+0.0591 2.84883e-05 2.84883e-05
+0.0592 2.66302e-05 2.66302e-05
+0.0593 2.48932e-05 2.48932e-05
+0.0594 2.32695e-05 2.32695e-05
+0.0595 2.17517e-05 2.17517e-05
+0.0596 2.03329e-05 2.03329e-05
+0.0597 1.90067e-05 1.90067e-05
+0.0598 1.77669e-05 1.77669e-05
+0.0599 1.6608e-05 1.6608e-05
+0.0600 1.55246e-05 1.55246e-05
+0.0601 1.4512e-05 1.4512e-05
+0.0602 1.35653e-05 1.35653e-05
+0.0603 1.26804e-05 1.26804e-05
+0.0604 1.18533e-05 1.18533e-05
+0.0605 1.108e-05 1.108e-05
+0.0606 1.03572e-05 1.03572e-05
+0.0607 9.68159e-06 9.68159e-06
+0.0608 9.05002e-06 9.05002e-06
+0.0609 8.45963e-06 8.45963e-06
+0.0610 7.90776e-06 7.90776e-06
+0.0611 7.39188e-06 7.39188e-06
+0.0612 6.90965e-06 6.90965e-06
+0.0613 6.45888e-06 6.45888e-06
+0.0614 6.03751e-06 6.03751e-06
+0.0615 5.64362e-06 5.64362e-06
+0.0616 5.27543e-06 5.27543e-06
+0.0617 4.93126e-06 4.93126e-06
+0.0618 4.60954e-06 4.60954e-06
+0.0619 4.3088e-06 4.3088e-06
+0.0620 4.02768e-06 4.02768e-06
+0.0621 3.76491e-06 3.76491e-06
+0.0622 3.51927e-06 3.51927e-06
+0.0623 3.28966e-06 3.28966e-06
+0.0624 3.07502e-06 3.07502e-06
+0.0625 2.87439e-06 2.87439e-06
+0.0626 2.68685e-06 2.68685e-06
+0.0627 2.51154e-06 2.51154e-06
+0.0628 2.34767e-06 2.34767e-06
+0.0629 2.19449e-06 2.19449e-06
+0.0630 2.0513e-06 2.0513e-06
+0.0631 1.91745e-06 1.91745e-06
+0.0632 1.79234e-06 1.79234e-06
+0.0633 1.67539e-06 1.67539e-06
+0.0634 1.56607e-06 1.56607e-06
+0.0635 1.46388e-06 1.46388e-06
+0.0636 1.36835e-06 1.36835e-06
+0.0637 1.27907e-06 1.27907e-06
+0.0638 1.1956e-06 1.1956e-06
+0.0639 1.11758e-06 1.11758e-06
+0.0640 1.04465e-06 1.04465e-06
+0.0641 9.76485e-07 9.76485e-07
+0.0642 9.12763e-07 9.12763e-07
+0.0643 8.53199e-07 8.53199e-07
+0.0644 7.97521e-07 7.97521e-07
+0.0645 7.45477e-07 7.45477e-07
+0.0646 6.96828e-07 6.96828e-07
+0.0647 6.51353e-07 6.51353e-07
+0.0648 6.08846e-07 6.08846e-07
+0.0649 5.69112e-07 5.69112e-07
+0.0650 5.31971e-07 5.31971e-07
+0.0651 4.97253e-07 4.97253e-07
+0.0652 4.64801e-07 4.64801e-07
+0.0653 4.34467e-07 4.34467e-07
+0.0654 4.06112e-07 4.06112e-07
+0.0655 3.79607e-07 3.79607e-07
+0.0656 3.54832e-07 3.54832e-07
+0.0657 3.31674e-07 3.31674e-07
+0.0658 3.10026e-07 3.10026e-07
+0.0659 2.89792e-07 2.89792e-07
+0.0660 2.70878e-07 2.70878e-07
+0.0661 2.53198e-07 2.53198e-07
+0.0662 2.36672e-07 2.36672e-07
+0.0663 2.21225e-07 2.21225e-07
+0.0664 2.06785e-07 2.06785e-07
+0.0665 1.93288e-07 1.93288e-07
+0.0666 1.80672e-07 1.80672e-07
+0.0667 1.68879e-07 1.68879e-07
+0.0668 1.57856e-07 1.57856e-07
+0.0669 1.47552e-07 1.47552e-07
+0.0670 1.37921e-07 1.37921e-07
+0.0671 1.28918e-07 1.28918e-07
+0.0672 1.20503e-07 1.20503e-07
+0.0673 1.12637e-07 1.12637e-07
+0.0674 1.05284e-07 1.05284e-07
+0.0675 9.84114e-08 9.84114e-08
+0.0676 9.19873e-08 9.19873e-08
+0.0677 8.59825e-08 8.59825e-08
+0.0678 8.03696e-08 8.03696e-08
+0.0679 7.5123e-08 7.5123e-08
+0.0680 7.0219e-08 7.0219e-08
+0.0681 6.5635e-08 6.5635e-08
+0.0682 6.13502e-08 6.13502e-08
+0.0683 5.7345e-08 5.7345e-08
+0.0684 5.36014e-08 5.36014e-08
+0.0685 5.0102e-08 5.0102e-08
+0.0686 4.68311e-08 4.68311e-08
+0.0687 4.37737e-08 4.37737e-08
+0.0688 4.09159e-08 4.09159e-08
+0.0689 3.82447e-08 3.82447e-08
+0.0690 3.57478e-08 3.57478e-08
+0.0691 3.34138e-08 3.34138e-08
+0.0692 3.12323e-08 3.12323e-08
+0.0693 2.91931e-08 2.91931e-08
+0.0694 2.72871e-08 2.72871e-08
+0.0695 2.55055e-08 2.55055e-08
+0.0696 2.38402e-08 2.38402e-08
+0.0697 2.22836e-08 2.22836e-08
+0.0698 2.08287e-08 2.08287e-08
+0.0699 1.94687e-08 1.94687e-08
+0.0700 1.81975e-08 1.81975e-08
+0.0701 1.70093e-08 1.70093e-08
+0.0702 1.58987e-08 1.58987e-08
+0.0703 1.48605e-08 1.48605e-08
+0.0704 1.38902e-08 1.38902e-08
+0.0705 1.29832e-08 1.29832e-08
+0.0706 1.21354e-08 1.21354e-08
+0.0707 1.1343e-08 1.1343e-08
+0.0708 1.06023e-08 1.06023e-08
+0.0709 9.90994e-09 9.90994e-09
+0.0710 9.26281e-09 9.26281e-09
+0.0711 8.65793e-09 8.65793e-09
+0.0712 8.09255e-09 8.09255e-09
+0.0713 7.56407e-09 7.56407e-09
+0.0714 7.07011e-09 7.07011e-09
+0.0715 6.6084e-09 6.6084e-09
+0.0716 6.17683e-09 6.17683e-09
+0.0717 5.77345e-09 5.77345e-09
+0.0718 5.3964e-09 5.3964e-09
+0.0719 5.04398e-09 5.04398e-09
+0.0720 4.71456e-09 4.71456e-09
+0.0721 4.40666e-09 4.40666e-09
+0.0722 4.11886e-09 4.11886e-09
+0.0723 3.84986e-09 3.84986e-09
+0.0724 3.59842e-09 3.59842e-09
+0.0725 3.3634e-09 3.3634e-09
+0.0726 3.14373e-09 3.14373e-09
+0.0727 2.9384e-09 2.9384e-09
+0.0728 2.74648e-09 2.74648e-09
+0.0729 2.56709e-09 2.56709e-09
+0.0730 2.39942e-09 2.39942e-09
+0.0731 2.2427e-09 2.2427e-09
+0.0732 2.09622e-09 2.09622e-09
+0.0733 1.9593e-09 1.9593e-09
+0.0734 1.83132e-09 1.83132e-09
+0.0735 1.7117e-09 1.7117e-09
+0.0736 1.59989e-09 1.59989e-09
+0.0737 1.49538e-09 1.49538e-09
+0.0738 0 0
+0.0739 0 0
+0.0740 0 0
+0.0741 0 0
+0.0742 0 0
+0.0743 0 0
+0.0744 0 0
+0.0745 0 0
+0.0746 0 0
+0.0747 0 0
+0.0748 0 0
+0.0749 0 0
+0.0750 0 0
+0.0751 0 0
+0.0752 0 0
+0.0753 0 0
+0.0754 0 0
+0.0755 0 0
+0.0756 0 0
+0.0757 0 0
+0.0758 0 0
+0.0759 0 0
+0.0760 0 0
+0.0761 0 0
+0.0762 0 0
+0.0763 0 0
+0.0764 0 0
+0.0765 0 0
+0.0766 0 0
+0.0767 0 0
+0.0768 0 0
+0.0769 0 0
+0.0770 0 0
+0.0771 0 0
+0.0772 0 0
+0.0773 0 0
+0.0774 0 0
+0.0775 0 0
+0.0776 0 0
+0.0777 0 0
+0.0778 0 0
+0.0779 0 0
+0.0780 0 0
+0.0781 0 0
+0.0782 0 0
+0.0783 0 0
+0.0784 0 0
+0.0785 0 0
+0.0786 0 0
+0.0787 0 0
+0.0788 0 0
+0.0789 0 0
+0.0790 0 0
+0.0791 0 0
+0.0792 0 0
+0.0793 0 0
+0.0794 0 0
+0.0795 0 0
+0.0796 0 0
+0.0797 0 0
+0.0798 0 0
+0.0799 0 0
+0.0800 0 0
+0.0801 0 0
+0.0802 0 0
+0.0803 0 0
+0.0804 0 0
+0.0805 0 0
+0.0806 0 0
+0.0807 0 0
+0.0808 0 0
+0.0809 0 0
+0.0810 0 0
+0.0811 0 0
+0.0812 0 0
+0.0813 0 0
+0.0814 0 0
+0.0815 0 0
+0.0816 0 0
+0.0817 0 0
+0.0818 0 0
+0.0819 0 0
+0.0820 0 0
+0.0821 0 0
+0.0822 0 0
+0.0823 0 0
+0.0824 0 0
+0.0825 0 0
+0.0826 0 0
+0.0827 0 0
+0.0828 0 0
+0.0829 0 0
+0.0830 0 0
+0.0831 0 0
+0.0832 0 0
+0.0833 0 0
+0.0834 0 0
+0.0835 0 0
+0.0836 0 0
+0.0837 0 0
+0.0838 0 0
+0.0839 0 0
+0.0840 0 0
+0.0841 0 0
+0.0842 0 0
+0.0843 0 0
+0.0844 0 0
+0.0845 0 0
+0.0846 0 0
+0.0847 0 0
+0.0848 0 0
+0.0849 0 0
+0.0850 0 0
+0.0851 0 0
+0.0852 0 0
+0.0853 0 0
+0.0854 0 0
+0.0855 0 0
+0.0856 0 0
+0.0857 0 0
+0.0858 0 0
+0.0859 0 0
+0.0860 0 0
+0.0861 0 0
+0.0862 0 0
+0.0863 0 0
+0.0864 0 0
+0.0865 0 0
+0.0866 0 0
+0.0867 0 0
+0.0868 0 0
+0.0869 0 0
+0.0870 0 0
+0.0871 0 0
+0.0872 0 0
+0.0873 0 0
+0.0874 0 0
+0.0875 0 0
+0.0876 0 0
+0.0877 0 0
+0.0878 0 0
+0.0879 0 0
+0.0880 0 0
+0.0881 0 0
+0.0882 0 0
+0.0883 0 0
+0.0884 0 0
+0.0885 0 0
+0.0886 0 0
+0.0887 0 0
+0.0888 0 0
+0.0889 0 0
+0.0890 0 0
+0.0891 0 0
+0.0892 0 0
+0.0893 0 0
+0.0894 0 0
+0.0895 0 0
+0.0896 0 0
+0.0897 0 0
+0.0898 0 0
+0.0899 0 0
+0.0900 0 0
+0.0901 0 0
+0.0902 0 0
+0.0903 0 0
+0.0904 0 0
+0.0905 0 0
+0.0906 0 0
+0.0907 0 0
+0.0908 0 0
+0.0909 0 0
+0.0910 0 0
+0.0911 0 0
+0.0912 0 0
+0.0913 0 0
+0.0914 0 0
+0.0915 0 0
+0.0916 0 0
+0.0917 0 0
+0.0918 0 0
+0.0919 0 0
+0.0920 0 0
+0.0921 0 0
+0.0922 0 0
+0.0923 0 0
+0.0924 0 0
+0.0925 0 0
+0.0926 0 0
+0.0927 0 0
+0.0928 0 0
+0.0929 0 0
+0.0930 0 0
+0.0931 0 0
+0.0932 0 0
+0.0933 0 0
+0.0934 0 0
+0.0935 0 0
+0.0936 0 0
+0.0937 0 0
+0.0938 0 0
+0.0939 0 0
+0.0940 0 0
+0.0941 0 0
+0.0942 0 0
+0.0943 0 0
+0.0944 0 0
+0.0945 0 0
+0.0946 0 0
+0.0947 0 0
+0.0948 0 0
+0.0949 0 0
+0.0950 0 0
+0.0951 0 0
+0.0952 0 0
+0.0953 0 0
+0.0954 0 0
+0.0955 0 0
+0.0956 0 0
+0.0957 0 0
+0.0958 0 0
+0.0959 0 0
+0.0960 0 0
+0.0961 0 0
+0.0962 0 0
+0.0963 0 0
+0.0964 0 0
+0.0965 0 0
+0.0966 0 0
+0.0967 0 0
+0.0968 0 0
+0.0969 0 0
+0.0970 0 0
+0.0971 0 0
+0.0972 0 0
+0.0973 0 0
+0.0974 0 0
+0.0975 0 0
+0.0976 0 0
+0.0977 0 0
+0.0978 0 0
+0.0979 0 0
+0.0980 0 0
+0.0981 0 0
+0.0982 0 0
+0.0983 0 0
+0.0984 0 0
+0.0985 0 0
+0.0986 0 0
+0.0987 0 0
+0.0988 0 0
+0.0989 0 0
+0.0990 0 0
+0.0991 0 0
+0.0992 0 0
+0.0993 0 0
+0.0994 0 0
+0.0995 0 0
+0.0996 0 0
+0.0997 0 0
+0.0998 0 0
+0.0999 0 0
+0.1000 0 0
diff --git a/mcstas-comps/examples/Tests_optics/Test_Rotator/README.md b/mcstas-comps/examples/Tests_optics/Test_Rotator/README.md
index f097d6dbc7..e258b41267 100644
--- a/mcstas-comps/examples/Tests_optics/Test_Rotator/README.md
+++ b/mcstas-comps/examples/Tests_optics/Test_Rotator/README.md
@@ -14,7 +14,7 @@
```text
Unittest for Rotator/Derotator
-Example: mcrun test.instr
+Example: mcrun test.instr [parameters=values]
```
## Examples
diff --git a/mcstas-comps/examples/Tests_optics/Test_Rotator/Test_Rotator.instr b/mcstas-comps/examples/Tests_optics/Test_Rotator/Test_Rotator.instr
index 0f95561d0b..c16cf16150 100644
--- a/mcstas-comps/examples/Tests_optics/Test_Rotator/Test_Rotator.instr
+++ b/mcstas-comps/examples/Tests_optics/Test_Rotator/Test_Rotator.instr
@@ -14,7 +14,7 @@
* %Description
* Unittest for Rotator/Derotator
*
-* Example: mcrun test.instr
+* Example: mcrun test.instr [parameters=values]
*
* %Parameters
* nu: [Hz] Rotation frequency
diff --git a/mcstas-comps/examples/Tests_optics/Test_Sapphire_filter/README.md b/mcstas-comps/examples/Tests_optics/Test_Sapphire_filter/README.md
new file mode 100644
index 0000000000..5df4ae8a91
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_Sapphire_filter/README.md
@@ -0,0 +1,41 @@
+# The `Test_Sapphire_filter` Instrument
+
+*McStas: Cross-check of Sapphire_Filter against NCrystal_filter.*
+
+## Identification
+
+- **Site:** Tests_optics
+- **Author:** Peter Willendrup
+- **Origin:** DTU
+- **Date:** November 2026
+
+## Description
+
+```text
+Compares the analytic Sapphire_Filter (Filter=0) with NCrystal_filter (Filter=1)
+for room-temperature Al2O3. Coherent elastic scattering is switched off in
+NCrystal to mimic a single crystal without Bragg reflections. Total
+transmission agrees within 2%; at short wavelengths the Freund fit in
+Sapphire_Filter gives lower transmission than NCrystal.
+```
+
+## Examples
+
+- **Test: Filter=0 Detector: L_out_I=6.74655e-11**
+- **Test: Filter=1 Detector: L_out_I=6.6309e-11**
+
+## Input parameters
+
+Parameters in **boldface** are required; the others are optional.
+
+| Name | Unit | Description | Default |
+|------|------|-------------|---------|
+| Filter | 1 | 0: Sapphire_Filter, 1: NCrystal_filter | 0 |
+| zdepth | m | Filter thickness | 0.1 |
+| cfg | str | NCrystal configuration string | "Al2O3_sg167_Corundum.ncmat;temp=300K;coh_elas=false" |
+
+## Links
+
+- [Source code](Test_Sapphire_filter.instr) for `Test_Sapphire_filter.instr`.
+
+---
diff --git a/mcstas-comps/examples/Tests_optics/Test_Sapphire_filter/Test_Sapphire_filter.instr b/mcstas-comps/examples/Tests_optics/Test_Sapphire_filter/Test_Sapphire_filter.instr
new file mode 100644
index 0000000000..884b6d77d2
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_Sapphire_filter/Test_Sapphire_filter.instr
@@ -0,0 +1,43 @@
+/*******************************************************************************
+* Instrument: Test_Sapphire_filter
+*
+* %I
+* Written by: Peter Willendrup
+* Date: November 2026
+* Origin: DTU
+* %INSTRUMENT_SITE: Tests_optics
+*
+* Cross-check of Sapphire_Filter against NCrystal_filter.
+*
+* %D
+* Compares the analytic Sapphire_Filter (Filter=0) with NCrystal_filter (Filter=1)
+* for room-temperature Al2O3. Coherent elastic scattering is switched off in
+* NCrystal to mimic a single crystal without Bragg reflections. Total
+* transmission agrees within 2%; at short wavelengths the Freund fit in
+* Sapphire_Filter gives lower transmission than NCrystal.
+*
+* %Test: Filter=0 Detector: L_out_I=6.74655e-11
+* %Test: Filter=1 Detector: L_out_I=6.6309e-11
+*
+* %P
+* Filter: [1] 0: Sapphire_Filter, 1: NCrystal_filter
+* zdepth: [m] Filter thickness
+* cfg: [str] NCrystal configuration string
+*
+* %E
+*******************************************************************************/
+DEFINE INSTRUMENT Test_Sapphire_filter(int Filter=0, zdepth=0.1, string cfg="Al2O3_sg167_Corundum.ncmat;temp=300K;coh_elas=false")
+TRACE
+COMPONENT origin = Progress_bar()
+AT (0, 0, 0) ABSOLUTE
+COMPONENT source = Source_div(xwidth=0.02, yheight=0.02, focus_aw=1e-4, focus_ah=1e-4, lambda0=5, dlambda=4.5)
+AT (0, 0, 0) RELATIVE origin
+COMPONENT L_in = L_monitor(nL=90, xwidth=0.02, yheight=0.02, Lmin=0.5, Lmax=9.5, restore_neutron=1)
+AT (0, 0, 0.9) RELATIVE origin
+COMPONENT sapph = Sapphire_Filter(xmin=-0.01, xmax=0.01, ymin=-0.01, ymax=0.01, len=zdepth)
+WHEN (Filter==0) AT (0, 0, 1) RELATIVE origin
+COMPONENT ncfilter = NCrystal_filter(cfg=cfg, xwidth=0.02, yheight=0.02, zdepth=zdepth)
+WHEN (Filter==1) AT (0, 0, 1+zdepth/2) RELATIVE origin
+COMPONENT L_out = L_monitor(nL=90, xwidth=0.02, yheight=0.02, Lmin=0.5, Lmax=9.5, restore_neutron=1)
+AT (0, 0, 1.2+zdepth) RELATIVE origin
+END
diff --git a/mcstas-comps/examples/Tests_optics/Test_multi_pipe/README.md b/mcstas-comps/examples/Tests_optics/Test_multi_pipe/README.md
new file mode 100644
index 0000000000..b811b8021b
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_multi_pipe/README.md
@@ -0,0 +1,41 @@
+# The `Test_multi_pipe` Instrument
+
+*McStas: Test of multi_pipe against its analytic open fraction.*
+
+## Identification
+
+- **Site:** Tests_optics
+- **Author:** Peter Willendrup
+- **Origin:** DTU
+- **Date:** November 2026
+
+## Description
+
+```text
+A near-parallel beam illuminates a 4x4 cm multi_pipe plate with a generated
+grid of holes. The transmitted intensity psd_out should equal psd_in times the
+open fraction N*pi*radius^2/(0.04*0.04): 36 holes for the defaults, 25 holes
+for gap=0.003.
+```
+
+## Examples
+
+- **Test: Detector: psd_out_I=2.76531e-11**
+- **Test: thickness=0.01 Detector: psd_out_I=2.75873e-11**
+- **Test: gap=0.003 thickness=0.01 Detector: psd_out_I=1.91664e-11**
+
+## Input parameters
+
+Parameters in **boldface** are required; the others are optional.
+
+| Name | Unit | Description | Default |
+|------|------|-------------|---------|
+| radius | m | Radius of a single hole | 0.002 |
+| gap | m | Distance between holes | 0.002 |
+| thickness | m | Thickness of the plate | 0 |
+
+## Links
+
+- [Source code](Test_multi_pipe.instr) for `Test_multi_pipe.instr`.
+
+---
diff --git a/mcstas-comps/examples/Tests_optics/Test_multi_pipe/Test_multi_pipe.instr b/mcstas-comps/examples/Tests_optics/Test_multi_pipe/Test_multi_pipe.instr
new file mode 100644
index 0000000000..5288067437
--- /dev/null
+++ b/mcstas-comps/examples/Tests_optics/Test_multi_pipe/Test_multi_pipe.instr
@@ -0,0 +1,41 @@
+/*******************************************************************************
+* Instrument: Test_multi_pipe
+*
+* %I
+* Written by: Peter Willendrup
+* Date: November 2026
+* Origin: DTU
+* %INSTRUMENT_SITE: Tests_optics
+*
+* Test of multi_pipe against its analytic open fraction.
+*
+* %D
+* A near-parallel beam illuminates a 4x4 cm multi_pipe plate with a generated
+* grid of holes. The transmitted intensity psd_out should equal psd_in times the
+* open fraction N*pi*radius^2/(0.04*0.04): 36 holes for the defaults, 25 holes
+* for gap=0.003.
+*
+* %Test: Detector: psd_out_I=2.76531e-11
+* %Test: thickness=0.01 Detector: psd_out_I=2.75873e-11
+* %Test: gap=0.003 thickness=0.01 Detector: psd_out_I=1.91664e-11
+*
+* %P
+* radius: [m] Radius of a single hole
+* gap: [m] Distance between holes
+* thickness: [m] Thickness of the plate
+*
+* %E
+*******************************************************************************/
+DEFINE INSTRUMENT Test_multi_pipe(radius=0.002, gap=0.002, thickness=0)
+TRACE
+COMPONENT origin = Progress_bar()
+AT (0, 0, 0) ABSOLUTE
+COMPONENT source = Source_div(xwidth=0.04, yheight=0.04, focus_aw=1e-4, focus_ah=1e-4, lambda0=5, dlambda=1)
+AT (0, 0, 0) RELATIVE origin
+COMPONENT psd_in = PSD_monitor(xwidth=0.04, yheight=0.04, nx=200, ny=200, restore_neutron=1)
+AT (0, 0, 0.5) RELATIVE origin
+COMPONENT pipes = multi_pipe(xmin=-0.02, xmax=0.02, ymin=-0.02, ymax=0.02, radius=radius, gap=gap, thickness=thickness)
+AT (0, 0, 1) RELATIVE origin
+COMPONENT psd_out = PSD_monitor(xwidth=0.04, yheight=0.04, nx=200, ny=200)
+AT (0, 0, 1.01) RELATIVE origin
+END
diff --git a/mcstas-comps/examples/Tests_polarization/Test_Pol_Bender/README.md b/mcstas-comps/examples/Tests_polarization/Test_Pol_Bender/README.md
index 4c8af2a066..62e03c212b 100644
--- a/mcstas-comps/examples/Tests_polarization/Test_Pol_Bender/README.md
+++ b/mcstas-comps/examples/Tests_polarization/Test_Pol_Bender/README.md
@@ -18,7 +18,7 @@ to test the different options.
## Examples
-- **Test: GUIDELENGTH=1 Detector: psdBender_I=0.703658**
+- **Test: GUIDELENGTH=1 Detector: psdBender_I=0.654972**
## Input parameters
diff --git a/mcstas-comps/examples/Tests_polarization/Test_Pol_Bender/Test_Pol_Bender.instr b/mcstas-comps/examples/Tests_polarization/Test_Pol_Bender/Test_Pol_Bender.instr
index 489cf53a8d..bdada08268 100644
--- a/mcstas-comps/examples/Tests_polarization/Test_Pol_Bender/Test_Pol_Bender.instr
+++ b/mcstas-comps/examples/Tests_polarization/Test_Pol_Bender/Test_Pol_Bender.instr
@@ -15,7 +15,7 @@
* Test that Pol_bender polarizes an unpolarized beam, and allows one
* to test the different options.
*
-* %Test: GUIDELENGTH=1 Detector: psdBender_I=0.703658
+* %Test: GUIDELENGTH=1 Detector: psdBender_I=0.654972
*
* %Parameters
* GUIDELENGTH: [m] Length of bender
diff --git a/mcstas-comps/examples/Tests_polarization/Test_Pol_SF_ideal/README.md b/mcstas-comps/examples/Tests_polarization/Test_Pol_SF_ideal/README.md
index 4419009038..c20f7e8607 100644
--- a/mcstas-comps/examples/Tests_polarization/Test_Pol_SF_ideal/README.md
+++ b/mcstas-comps/examples/Tests_polarization/Test_Pol_SF_ideal/README.md
@@ -14,7 +14,7 @@
```text
Simply test the ideal spin flippers function
-Example: mcrun test.instr
+Example: mcrun test.instr [parameters=values]
```
## Examples
diff --git a/mcstas-comps/examples/Tests_polarization/Test_Pol_SF_ideal/Test_Pol_SF_ideal.instr b/mcstas-comps/examples/Tests_polarization/Test_Pol_SF_ideal/Test_Pol_SF_ideal.instr
index e659ebc028..9590eb1749 100644
--- a/mcstas-comps/examples/Tests_polarization/Test_Pol_SF_ideal/Test_Pol_SF_ideal.instr
+++ b/mcstas-comps/examples/Tests_polarization/Test_Pol_SF_ideal/Test_Pol_SF_ideal.instr
@@ -16,7 +16,7 @@
* %Description
* Simply test the ideal spin flippers function
*
-* Example: mcrun test.instr
+* Example: mcrun test.instr [parameters=values]
*
* %Test: Detector: pm1_I=-1
*
diff --git a/mcstas-comps/examples/Tests_samples/Test_SANS/README.md b/mcstas-comps/examples/Tests_samples/Test_SANS/README.md
index 7cc1a37302..63afbcf5a8 100644
--- a/mcstas-comps/examples/Tests_samples/Test_SANS/README.md
+++ b/mcstas-comps/examples/Tests_samples/Test_SANS/README.md
@@ -23,7 +23,7 @@ SANSLiposomes SAMPLE=4
SANSNanodiscs SAMPLE=5
SANSNanodiscsWithTags SAMPLE=6
SANSPDB SAMPLE=7 (very slow, rather use SANSPDBFast)
-SANSCurve SAMPLE=8 (inactivated)
+SANSCurve SAMPLE=8 (mock sphere curve, R=100 AA: reproduces SAMPLE=0)
SANSNanodiscsFast SAMPLE=9
SANSNanodiscsWithTagsFast SAMPLE=10
SANSPDBFast SAMPLE=11
@@ -39,6 +39,7 @@ SANSPDBFast SAMPLE=11
- **Test: SAMPLE=5 Ncount=1e6 Detector: PSDMonitor_I=2.714e-09**
- **Test: SAMPLE=6 Ncount=1e6 Detector: PSDMonitor_I=2.051e-09**
- **Test: SAMPLE=7 Ncount=1e5 Detector: PSDMonitor_I=1.687e-09**
+- **Test: SAMPLE=8 Ncount=1e7 Detector: PSDMonitor_I=2.861e-09**
- **Test: SAMPLE=9 Detector: PSDMonitor_I=2.071e-09**
- **Test: SAMPLE=10 Detector: PSDMonitor_I=2.079e-09**
- **Test: SAMPLE=11 Detector: PSDMonitor_I=1.642e-09**
diff --git a/mcstas-comps/examples/Tests_samples/Test_SANS/SANSCurve_spheres_R100.dat b/mcstas-comps/examples/Tests_samples/Test_SANS/SANSCurve_spheres_R100.dat
new file mode 100644
index 0000000000..7f9b17e13d
--- /dev/null
+++ b/mcstas-comps/examples/Tests_samples/Test_SANS/SANSCurve_spheres_R100.dat
@@ -0,0 +1,4003 @@
+# Mock I(q) for SANSCurve: sphere form factor P(q), R = 100 AA
+# q [1/AA] I(q) [a.u.]
+0.00000 1.000000e+00
+0.00025 9.998750e-01
+0.00050 9.995001e-01
+0.00075 9.988755e-01
+0.00100 9.980017e-01
+0.00125 9.968792e-01
+0.00150 9.955087e-01
+0.00175 9.938911e-01
+0.00200 9.920274e-01
+0.00225 9.899188e-01
+0.00250 9.875668e-01
+0.00275 9.849727e-01
+0.00300 9.821382e-01
+0.00325 9.790653e-01
+0.00350 9.757557e-01
+0.00375 9.722117e-01
+0.00400 9.684354e-01
+0.00425 9.644293e-01
+0.00450 9.601960e-01
+0.00475 9.557380e-01
+0.00500 9.510583e-01
+0.00525 9.461598e-01
+0.00550 9.410455e-01
+0.00575 9.357187e-01
+0.00600 9.301827e-01
+0.00625 9.244410e-01
+0.00650 9.184971e-01
+0.00675 9.123549e-01
+0.00700 9.060180e-01
+0.00725 8.994904e-01
+0.00750 8.927762e-01
+0.00775 8.858794e-01
+0.00800 8.788043e-01
+0.00825 8.715553e-01
+0.00850 8.641368e-01
+0.00875 8.565532e-01
+0.00900 8.488091e-01
+0.00925 8.409093e-01
+0.00950 8.328585e-01
+0.00975 8.246615e-01
+0.01000 8.163232e-01
+0.01025 8.078484e-01
+0.01050 7.992424e-01
+0.01075 7.905100e-01
+0.01100 7.816564e-01
+0.01125 7.726868e-01
+0.01150 7.636064e-01
+0.01175 7.544203e-01
+0.01200 7.451340e-01
+0.01225 7.357525e-01
+0.01250 7.262814e-01
+0.01275 7.167258e-01
+0.01300 7.070912e-01
+0.01325 6.973830e-01
+0.01350 6.876064e-01
+0.01375 6.777668e-01
+0.01400 6.678697e-01
+0.01425 6.579203e-01
+0.01450 6.479240e-01
+0.01475 6.378862e-01
+0.01500 6.278121e-01
+0.01525 6.177070e-01
+0.01550 6.075762e-01
+0.01575 5.974249e-01
+0.01600 5.872582e-01
+0.01625 5.770814e-01
+0.01650 5.668995e-01
+0.01675 5.567175e-01
+0.01700 5.465405e-01
+0.01725 5.363735e-01
+0.01750 5.262211e-01
+0.01775 5.160884e-01
+0.01800 5.059800e-01
+0.01825 4.959007e-01
+0.01850 4.858550e-01
+0.01875 4.758474e-01
+0.01900 4.658825e-01
+0.01925 4.559646e-01
+0.01950 4.460980e-01
+0.01975 4.362868e-01
+0.02000 4.265353e-01
+0.02025 4.168473e-01
+0.02050 4.072269e-01
+0.02075 3.976778e-01
+0.02100 3.882037e-01
+0.02125 3.788084e-01
+0.02150 3.694953e-01
+0.02175 3.602679e-01
+0.02200 3.511293e-01
+0.02225 3.420829e-01
+0.02250 3.331317e-01
+0.02275 3.242788e-01
+0.02300 3.155269e-01
+0.02325 3.068788e-01
+0.02350 2.983371e-01
+0.02375 2.899045e-01
+0.02400 2.815832e-01
+0.02425 2.733756e-01
+0.02450 2.652838e-01
+0.02475 2.573099e-01
+0.02500 2.494559e-01
+0.02525 2.417235e-01
+0.02550 2.341145e-01
+0.02575 2.266304e-01
+0.02600 2.192727e-01
+0.02625 2.120428e-01
+0.02650 2.049418e-01
+0.02675 1.979710e-01
+0.02700 1.911312e-01
+0.02725 1.844235e-01
+0.02750 1.778485e-01
+0.02775 1.714070e-01
+0.02800 1.650995e-01
+0.02825 1.589264e-01
+0.02850 1.528880e-01
+0.02875 1.469846e-01
+0.02900 1.412163e-01
+0.02925 1.355832e-01
+0.02950 1.300850e-01
+0.02975 1.247217e-01
+0.03000 1.194929e-01
+0.03025 1.143983e-01
+0.03050 1.094374e-01
+0.03075 1.046096e-01
+0.03100 9.991420e-02
+0.03125 9.535050e-02
+0.03150 9.091765e-02
+0.03175 8.661471e-02
+0.03200 8.244069e-02
+0.03225 7.839448e-02
+0.03250 7.447494e-02
+0.03275 7.068083e-02
+0.03300 6.701082e-02
+0.03325 6.346354e-02
+0.03350 6.003754e-02
+0.03375 5.673131e-02
+0.03400 5.354328e-02
+0.03425 5.047182e-02
+0.03450 4.751523e-02
+0.03475 4.467177e-02
+0.03500 4.193965e-02
+0.03525 3.931704e-02
+0.03550 3.680203e-02
+0.03575 3.439271e-02
+0.03600 3.208710e-02
+0.03625 2.988320e-02
+0.03650 2.777896e-02
+0.03675 2.577233e-02
+0.03700 2.386118e-02
+0.03725 2.204341e-02
+0.03750 2.031685e-02
+0.03775 1.867933e-02
+0.03800 1.712867e-02
+0.03825 1.566266e-02
+0.03850 1.427909e-02
+0.03875 1.297571e-02
+0.03900 1.175030e-02
+0.03925 1.060062e-02
+0.03950 9.524415e-03
+0.03975 8.519443e-03
+0.04000 7.583460e-03
+0.04025 6.714225e-03
+0.04050 5.909505e-03
+0.04075 5.167073e-03
+0.04100 4.484716e-03
+0.04125 3.860231e-03
+0.04150 3.291430e-03
+0.04175 2.776142e-03
+0.04200 2.312216e-03
+0.04225 1.897519e-03
+0.04250 1.529942e-03
+0.04275 1.207400e-03
+0.04300 9.278333e-04
+0.04325 6.892086e-04
+0.04350 4.895227e-04
+0.04375 3.268023e-04
+0.04400 1.991058e-04
+0.04425 1.045246e-04
+0.04450 4.118431e-05
+0.04475 7.246266e-06
+0.04500 9.083122e-07
+0.04525 2.040601e-05
+0.04550 6.401363e-05
+0.04575 1.300450e-04
+0.04600 2.168545e-04
+0.04625 3.228377e-04
+0.04650 4.464322e-04
+0.04675 5.861180e-04
+0.04700 7.404186e-04
+0.04725 9.079009e-04
+0.04750 1.087176e-03
+0.04775 1.276900e-03
+0.04800 1.475773e-03
+0.04825 1.682541e-03
+0.04850 1.895994e-03
+0.04875 2.114969e-03
+0.04900 2.338348e-03
+0.04925 2.565057e-03
+0.04950 2.794069e-03
+0.04975 3.024402e-03
+0.05000 3.255118e-03
+0.05025 3.485326e-03
+0.05050 3.714178e-03
+0.05075 3.940869e-03
+0.05100 4.164641e-03
+0.05125 4.384777e-03
+0.05150 4.600604e-03
+0.05175 4.811490e-03
+0.05200 5.016848e-03
+0.05225 5.216129e-03
+0.05250 5.408825e-03
+0.05275 5.594469e-03
+0.05300 5.772634e-03
+0.05325 5.942928e-03
+0.05350 6.105000e-03
+0.05375 6.258534e-03
+0.05400 6.403250e-03
+0.05425 6.538904e-03
+0.05450 6.665284e-03
+0.05475 6.782213e-03
+0.05500 6.889546e-03
+0.05525 6.987168e-03
+0.05550 7.074996e-03
+0.05575 7.152975e-03
+0.05600 7.221077e-03
+0.05625 7.279303e-03
+0.05650 7.327680e-03
+0.05675 7.366259e-03
+0.05700 7.395115e-03
+0.05725 7.414347e-03
+0.05750 7.424074e-03
+0.05775 7.424437e-03
+0.05800 7.415596e-03
+0.05825 7.397730e-03
+0.05850 7.371034e-03
+0.05875 7.335723e-03
+0.05900 7.292022e-03
+0.05925 7.240175e-03
+0.05950 7.180436e-03
+0.05975 7.113073e-03
+0.06000 7.038365e-03
+0.06025 6.956599e-03
+0.06050 6.868074e-03
+0.06075 6.773095e-03
+0.06100 6.671976e-03
+0.06125 6.565036e-03
+0.06150 6.452599e-03
+0.06175 6.334993e-03
+0.06200 6.212552e-03
+0.06225 6.085609e-03
+0.06250 5.954502e-03
+0.06275 5.819569e-03
+0.06300 5.681146e-03
+0.06325 5.539571e-03
+0.06350 5.395180e-03
+0.06375 5.248305e-03
+0.06400 5.099279e-03
+0.06425 4.948428e-03
+0.06450 4.796075e-03
+0.06475 4.642539e-03
+0.06500 4.488133e-03
+0.06525 4.333165e-03
+0.06550 4.177935e-03
+0.06575 4.022737e-03
+0.06600 3.867858e-03
+0.06625 3.713577e-03
+0.06650 3.560165e-03
+0.06675 3.407884e-03
+0.06700 3.256988e-03
+0.06725 3.107719e-03
+0.06750 2.960314e-03
+0.06775 2.814996e-03
+0.06800 2.671981e-03
+0.06825 2.531472e-03
+0.06850 2.393664e-03
+0.06875 2.258740e-03
+0.06900 2.126873e-03
+0.06925 1.998226e-03
+0.06950 1.872948e-03
+0.06975 1.751180e-03
+0.07000 1.633052e-03
+0.07025 1.518682e-03
+0.07050 1.408177e-03
+0.07075 1.301633e-03
+0.07100 1.199136e-03
+0.07125 1.100761e-03
+0.07150 1.006573e-03
+0.07175 9.166245e-04
+0.07200 8.309596e-04
+0.07225 7.496115e-04
+0.07250 6.726034e-04
+0.07275 5.999488e-04
+0.07300 5.316517e-04
+0.07325 4.677064e-04
+0.07350 4.080986e-04
+0.07375 3.528047e-04
+0.07400 3.017928e-04
+0.07425 2.550226e-04
+0.07450 2.124459e-04
+0.07475 1.740066e-04
+0.07500 1.396414e-04
+0.07525 1.092798e-04
+0.07550 8.284476e-05
+0.07575 6.025262e-05
+0.07600 4.141376e-05
+0.07625 2.623282e-05
+0.07650 1.460905e-05
+0.07675 6.436693e-06
+0.07700 1.605312e-06
+0.07725 1.576415e-10
+0.07750 1.502516e-06
+0.07775 5.990069e-06
+0.07800 1.333725e-05
+0.07825 2.341558e-05
+0.07850 3.609406e-05
+0.07875 5.123947e-05
+0.07900 6.871674e-05
+0.07925 8.838929e-05
+0.07950 1.101194e-04
+0.07975 1.337684e-04
+0.08000 1.591971e-04
+0.08025 1.862664e-04
+0.08050 2.148369e-04
+0.08075 2.447697e-04
+0.08100 2.759269e-04
+0.08125 3.081713e-04
+0.08150 3.413671e-04
+0.08175 3.753798e-04
+0.08200 4.100771e-04
+0.08225 4.453285e-04
+0.08250 4.810059e-04
+0.08275 5.169835e-04
+0.08300 5.531385e-04
+0.08325 5.893509e-04
+0.08350 6.255039e-04
+0.08375 6.614841e-04
+0.08400 6.971814e-04
+0.08425 7.324895e-04
+0.08450 7.673060e-04
+0.08475 8.015322e-04
+0.08500 8.350738e-04
+0.08525 8.678403e-04
+0.08550 8.997459e-04
+0.08575 9.307089e-04
+0.08600 9.606523e-04
+0.08625 9.895034e-04
+0.08650 1.017194e-03
+0.08675 1.043662e-03
+0.08700 1.068847e-03
+0.08725 1.092696e-03
+0.08750 1.115159e-03
+0.08775 1.136193e-03
+0.08800 1.155756e-03
+0.08825 1.173815e-03
+0.08850 1.190339e-03
+0.08875 1.205300e-03
+0.08900 1.218680e-03
+0.08925 1.230460e-03
+0.08950 1.240628e-03
+0.08975 1.249177e-03
+0.09000 1.256102e-03
+0.09025 1.261404e-03
+0.09050 1.265088e-03
+0.09075 1.267163e-03
+0.09100 1.267640e-03
+0.09125 1.266537e-03
+0.09150 1.263873e-03
+0.09175 1.259672e-03
+0.09200 1.253960e-03
+0.09225 1.246768e-03
+0.09250 1.238129e-03
+0.09275 1.228078e-03
+0.09300 1.216656e-03
+0.09325 1.203903e-03
+0.09350 1.189864e-03
+0.09375 1.174585e-03
+0.09400 1.158114e-03
+0.09425 1.140503e-03
+0.09450 1.121804e-03
+0.09475 1.102071e-03
+0.09500 1.081360e-03
+0.09525 1.059728e-03
+0.09550 1.037232e-03
+0.09575 1.013933e-03
+0.09600 9.898906e-04
+0.09625 9.651654e-04
+0.09650 9.398190e-04
+0.09675 9.139131e-04
+0.09700 8.875099e-04
+0.09725 8.606713e-04
+0.09750 8.334596e-04
+0.09775 8.059364e-04
+0.09800 7.781633e-04
+0.09825 7.502013e-04
+0.09850 7.221107e-04
+0.09875 6.939511e-04
+0.09900 6.657812e-04
+0.09925 6.376588e-04
+0.09950 6.096404e-04
+0.09975 5.817813e-04
+0.10000 5.541355e-04
+0.10025 5.267556e-04
+0.10050 4.996925e-04
+0.10075 4.729956e-04
+0.10100 4.467125e-04
+0.10125 4.208891e-04
+0.10150 3.955693e-04
+0.10175 3.707951e-04
+0.10200 3.466066e-04
+0.10225 3.230415e-04
+0.10250 3.001359e-04
+0.10275 2.779232e-04
+0.10300 2.564350e-04
+0.10325 2.357004e-04
+0.10350 2.157465e-04
+0.10375 1.965979e-04
+0.10400 1.782770e-04
+0.10425 1.608038e-04
+0.10450 1.441960e-04
+0.10475 1.284692e-04
+0.10500 1.136364e-04
+0.10525 9.970843e-05
+0.10550 8.669384e-05
+0.10575 7.459890e-05
+0.10600 6.342766e-05
+0.10625 5.318195e-05
+0.10650 4.386145e-05
+0.10675 3.546369e-05
+0.10700 2.798413e-05
+0.10725 2.141618e-05
+0.10750 1.575129e-05
+0.10775 1.097894e-05
+0.10800 7.086780e-06
+0.10825 4.060628e-06
+0.10850 1.884567e-06
+0.10875 5.410030e-07
+0.10900 1.074091e-08
+0.10925 2.730545e-07
+0.10950 1.305763e-06
+0.10975 3.085311e-06
+0.11000 5.586843e-06
+0.11025 8.784291e-06
+0.11050 1.265045e-05
+0.11075 1.715707e-05
+0.11100 2.227494e-05
+0.11125 2.797396e-05
+0.11150 3.422324e-05
+0.11175 4.099119e-05
+0.11200 4.824560e-05
+0.11225 5.595371e-05
+0.11250 6.408234e-05
+0.11275 7.259792e-05
+0.11300 8.146663e-05
+0.11325 9.065445e-05
+0.11350 1.001272e-04
+0.11375 1.098508e-04
+0.11400 1.197912e-04
+0.11425 1.299142e-04
+0.11450 1.401863e-04
+0.11475 1.505739e-04
+0.11500 1.610439e-04
+0.11525 1.715636e-04
+0.11550 1.821010e-04
+0.11575 1.926243e-04
+0.11600 2.031026e-04
+0.11625 2.135057e-04
+0.11650 2.238040e-04
+0.11675 2.339689e-04
+0.11700 2.439724e-04
+0.11725 2.537878e-04
+0.11750 2.633891e-04
+0.11775 2.727513e-04
+0.11800 2.818505e-04
+0.11825 2.906640e-04
+0.11850 2.991701e-04
+0.11875 3.073484e-04
+0.11900 3.151794e-04
+0.11925 3.226451e-04
+0.11950 3.297287e-04
+0.11975 3.364145e-04
+0.12000 3.426883e-04
+0.12025 3.485368e-04
+0.12050 3.539485e-04
+0.12075 3.589129e-04
+0.12100 3.634207e-04
+0.12125 3.674642e-04
+0.12150 3.710368e-04
+0.12175 3.741333e-04
+0.12200 3.767496e-04
+0.12225 3.788831e-04
+0.12250 3.805324e-04
+0.12275 3.816972e-04
+0.12300 3.823786e-04
+0.12325 3.825788e-04
+0.12350 3.823012e-04
+0.12375 3.815503e-04
+0.12400 3.803318e-04
+0.12425 3.786524e-04
+0.12450 3.765200e-04
+0.12475 3.739433e-04
+0.12500 3.709321e-04
+0.12525 3.674971e-04
+0.12550 3.636500e-04
+0.12575 3.594032e-04
+0.12600 3.547700e-04
+0.12625 3.497644e-04
+0.12650 3.444012e-04
+0.12675 3.386958e-04
+0.12700 3.326643e-04
+0.12725 3.263234e-04
+0.12750 3.196901e-04
+0.12775 3.127821e-04
+0.12800 3.056175e-04
+0.12825 2.982147e-04
+0.12850 2.905924e-04
+0.12875 2.827698e-04
+0.12900 2.747660e-04
+0.12925 2.666005e-04
+0.12950 2.582928e-04
+0.12975 2.498626e-04
+0.13000 2.413296e-04
+0.13025 2.327133e-04
+0.13050 2.240333e-04
+0.13075 2.153091e-04
+0.13100 2.065600e-04
+0.13125 1.978051e-04
+0.13150 1.890631e-04
+0.13175 1.803527e-04
+0.13200 1.716921e-04
+0.13225 1.630990e-04
+0.13250 1.545910e-04
+0.13275 1.461851e-04
+0.13300 1.378977e-04
+0.13325 1.297449e-04
+0.13350 1.217421e-04
+0.13375 1.139042e-04
+0.13400 1.062456e-04
+0.13425 9.877977e-05
+0.13450 9.151988e-05
+0.13475 8.447822e-05
+0.13500 7.766645e-05
+0.13525 7.109552e-05
+0.13550 6.477563e-05
+0.13575 5.871628e-05
+0.13600 5.292617e-05
+0.13625 4.741328e-05
+0.13650 4.218480e-05
+0.13675 3.724712e-05
+0.13700 3.260589e-05
+0.13725 2.826596e-05
+0.13750 2.423137e-05
+0.13775 2.050542e-05
+0.13800 1.709058e-05
+0.13825 1.398860e-05
+0.13850 1.120040e-05
+0.13875 8.726201e-06
+0.13900 6.565426e-06
+0.13925 4.716782e-06
+0.13950 3.178246e-06
+0.13975 1.947088e-06
+0.14000 1.019880e-06
+0.14025 3.925224e-07
+0.14050 6.025787e-08
+0.14075 1.769352e-08
+0.14100 2.588229e-07
+0.14125 7.770486e-07
+0.14150 1.565207e-06
+0.14175 2.615591e-06
+0.14200 3.919981e-06
+0.14225 5.469666e-06
+0.14250 7.255476e-06
+0.14275 9.267807e-06
+0.14300 1.149665e-05
+0.14325 1.393163e-05
+0.14350 1.656202e-05
+0.14375 1.937678e-05
+0.14400 2.236460e-05
+0.14425 2.551389e-05
+0.14450 2.881288e-05
+0.14475 3.224958e-05
+0.14500 3.581186e-05
+0.14525 3.948746e-05
+0.14550 4.326402e-05
+0.14575 4.712912e-05
+0.14600 5.107031e-05
+0.14625 5.507514e-05
+0.14650 5.913119e-05
+0.14675 6.322609e-05
+0.14700 6.734755e-05
+0.14725 7.148342e-05
+0.14750 7.562166e-05
+0.14775 7.975044e-05
+0.14800 8.385809e-05
+0.14825 8.793318e-05
+0.14850 9.196452e-05
+0.14875 9.594120e-05
+0.14900 9.985259e-05
+0.14925 1.036884e-04
+0.14950 1.074386e-04
+0.14975 1.110937e-04
+0.15000 1.146443e-04
+0.15025 1.180816e-04
+0.15050 1.213972e-04
+0.15075 1.245830e-04
+0.15100 1.276314e-04
+0.15125 1.305354e-04
+0.15150 1.332882e-04
+0.15175 1.358836e-04
+0.15200 1.383160e-04
+0.15225 1.405799e-04
+0.15250 1.426707e-04
+0.15275 1.445842e-04
+0.15300 1.463165e-04
+0.15325 1.478645e-04
+0.15350 1.492253e-04
+0.15375 1.503968e-04
+0.15400 1.513771e-04
+0.15425 1.521651e-04
+0.15450 1.527601e-04
+0.15475 1.531617e-04
+0.15500 1.533702e-04
+0.15525 1.533864e-04
+0.15550 1.532115e-04
+0.15575 1.528470e-04
+0.15600 1.522951e-04
+0.15625 1.515584e-04
+0.15650 1.506398e-04
+0.15675 1.495428e-04
+0.15700 1.482712e-04
+0.15725 1.468291e-04
+0.15750 1.452212e-04
+0.15775 1.434522e-04
+0.15800 1.415277e-04
+0.15825 1.394530e-04
+0.15850 1.372341e-04
+0.15875 1.348773e-04
+0.15900 1.323889e-04
+0.15925 1.297757e-04
+0.15950 1.270446e-04
+0.15975 1.242028e-04
+0.16000 1.212577e-04
+0.16025 1.182166e-04
+0.16050 1.150873e-04
+0.16075 1.118776e-04
+0.16100 1.085954e-04
+0.16125 1.052487e-04
+0.16150 1.018455e-04
+0.16175 9.839399e-05
+0.16200 9.490222e-05
+0.16225 9.137836e-05
+0.16250 8.783053e-05
+0.16275 8.426684e-05
+0.16300 8.069531e-05
+0.16325 7.712392e-05
+0.16350 7.356054e-05
+0.16375 7.001294e-05
+0.16400 6.648876e-05
+0.16425 6.299551e-05
+0.16450 5.954052e-05
+0.16475 5.613095e-05
+0.16500 5.277379e-05
+0.16525 4.947579e-05
+0.16550 4.624351e-05
+0.16575 4.308325e-05
+0.16600 4.000108e-05
+0.16625 3.700282e-05
+0.16650 3.409400e-05
+0.16675 3.127987e-05
+0.16700 2.856543e-05
+0.16725 2.595532e-05
+0.16750 2.345393e-05
+0.16775 2.106531e-05
+0.16800 1.879318e-05
+0.16825 1.664098e-05
+0.16850 1.461177e-05
+0.16875 1.270830e-05
+0.16900 1.093299e-05
+0.16925 9.287917e-06
+0.16950 7.774815e-06
+0.16975 6.395084e-06
+0.17000 5.149784e-06
+0.17025 4.039637e-06
+0.17050 3.065032e-06
+0.17075 2.226022e-06
+0.17100 1.522336e-06
+0.17125 9.533773e-07
+0.17150 5.182289e-07
+0.17175 2.156626e-07
+0.17200 4.414298e-08
+0.17225 1.835865e-09
+0.17250 8.661564e-08
+0.17275 2.960740e-07
+0.17300 6.275288e-07
+0.17325 1.078034e-06
+0.17350 1.644390e-06
+0.17375 2.323154e-06
+0.17400 3.110651e-06
+0.17425 4.002985e-06
+0.17450 4.996054e-06
+0.17475 6.085556e-06
+0.17500 7.267009e-06
+0.17525 8.535759e-06
+0.17550 9.886996e-06
+0.17575 1.131577e-05
+0.17600 1.281699e-05
+0.17625 1.438545e-05
+0.17650 1.601587e-05
+0.17675 1.770284e-05
+0.17700 1.944090e-05
+0.17725 2.122454e-05
+0.17750 2.304817e-05
+0.17775 2.490620e-05
+0.17800 2.679302e-05
+0.17825 2.870299e-05
+0.17850 3.063051e-05
+0.17875 3.257000e-05
+0.17900 3.451589e-05
+0.17925 3.646270e-05
+0.17950 3.840498e-05
+0.17975 4.033737e-05
+0.18000 4.225460e-05
+0.18025 4.415150e-05
+0.18050 4.602300e-05
+0.18075 4.786416e-05
+0.18100 4.967018e-05
+0.18125 5.143639e-05
+0.18150 5.315829e-05
+0.18175 5.483153e-05
+0.18200 5.645193e-05
+0.18225 5.801549e-05
+0.18250 5.951841e-05
+0.18275 6.095708e-05
+0.18300 6.232808e-05
+0.18325 6.362820e-05
+0.18350 6.485446e-05
+0.18375 6.600408e-05
+0.18400 6.707451e-05
+0.18425 6.806343e-05
+0.18450 6.896875e-05
+0.18475 6.978859e-05
+0.18500 7.052133e-05
+0.18525 7.116558e-05
+0.18550 7.172018e-05
+0.18575 7.218422e-05
+0.18600 7.255700e-05
+0.18625 7.283809e-05
+0.18650 7.302726e-05
+0.18675 7.312455e-05
+0.18700 7.313019e-05
+0.18725 7.304466e-05
+0.18750 7.286865e-05
+0.18775 7.260310e-05
+0.18800 7.224912e-05
+0.18825 7.180806e-05
+0.18850 7.128145e-05
+0.18875 7.067105e-05
+0.18900 6.997878e-05
+0.18925 6.920676e-05
+0.18950 6.835729e-05
+0.18975 6.743283e-05
+0.19000 6.643600e-05
+0.19025 6.536959e-05
+0.19050 6.423652e-05
+0.19075 6.303986e-05
+0.19100 6.178279e-05
+0.19125 6.046862e-05
+0.19150 5.910077e-05
+0.19175 5.768276e-05
+0.19200 5.621819e-05
+0.19225 5.471075e-05
+0.19250 5.316421e-05
+0.19275 5.158237e-05
+0.19300 4.996911e-05
+0.19325 4.832833e-05
+0.19350 4.666397e-05
+0.19375 4.498000e-05
+0.19400 4.328038e-05
+0.19425 4.156908e-05
+0.19450 3.985006e-05
+0.19475 3.812726e-05
+0.19500 3.640460e-05
+0.19525 3.468595e-05
+0.19550 3.297514e-05
+0.19575 3.127594e-05
+0.19600 2.959206e-05
+0.19625 2.792714e-05
+0.19650 2.628472e-05
+0.19675 2.466827e-05
+0.19700 2.308117e-05
+0.19725 2.152667e-05
+0.19750 2.000792e-05
+0.19775 1.852796e-05
+0.19800 1.708971e-05
+0.19825 1.569593e-05
+0.19850 1.434929e-05
+0.19875 1.305227e-05
+0.19900 1.180725e-05
+0.19925 1.061643e-05
+0.19950 9.481863e-06
+0.19975 8.405455e-06
+0.20000 7.388943e-06
+0.20025 6.433901e-06
+0.20050 5.541741e-06
+0.20075 4.713705e-06
+0.20100 3.950869e-06
+0.20125 3.254138e-06
+0.20150 2.624247e-06
+0.20175 2.061761e-06
+0.20200 1.567076e-06
+0.20225 1.140417e-06
+0.20250 7.818422e-07
+0.20275 4.912432e-07
+0.20300 2.683463e-07
+0.20325 1.127155e-07
+0.20350 2.375495e-08
+0.20375 7.120546e-10
+0.20400 4.268076e-08
+0.20425 1.486053e-07
+0.20450 3.172841e-07
+0.20475 5.473745e-07
+0.20500 8.373969e-07
+0.20525 1.185740e-06
+0.20550 1.590667e-06
+0.20575 2.050317e-06
+0.20600 2.562718e-06
+0.20625 3.125787e-06
+0.20650 3.737335e-06
+0.20675 4.395081e-06
+0.20700 5.096650e-06
+0.20725 5.839585e-06
+0.20750 6.621353e-06
+0.20775 7.439349e-06
+0.20800 8.290907e-06
+0.20825 9.173305e-06
+0.20850 1.008377e-05
+0.20875 1.101950e-05
+0.20900 1.197763e-05
+0.20925 1.295531e-05
+0.20950 1.394963e-05
+0.20975 1.495770e-05
+0.21000 1.597661e-05
+0.21025 1.700345e-05
+0.21050 1.803532e-05
+0.21075 1.906935e-05
+0.21100 2.010268e-05
+0.21125 2.113249e-05
+0.21150 2.215598e-05
+0.21175 2.317041e-05
+0.21200 2.417309e-05
+0.21225 2.516138e-05
+0.21250 2.613269e-05
+0.21275 2.708453e-05
+0.21300 2.801445e-05
+0.21325 2.892009e-05
+0.21350 2.979918e-05
+0.21375 3.064954e-05
+0.21400 3.146906e-05
+0.21425 3.225576e-05
+0.21450 3.300774e-05
+0.21475 3.372321e-05
+0.21500 3.440048e-05
+0.21525 3.503800e-05
+0.21550 3.563429e-05
+0.21575 3.618802e-05
+0.21600 3.669797e-05
+0.21625 3.716304e-05
+0.21650 3.758226e-05
+0.21675 3.795476e-05
+0.21700 3.827983e-05
+0.21725 3.855685e-05
+0.21750 3.878535e-05
+0.21775 3.896498e-05
+0.21800 3.909552e-05
+0.21825 3.917685e-05
+0.21850 3.920899e-05
+0.21875 3.919211e-05
+0.21900 3.912645e-05
+0.21925 3.901242e-05
+0.21950 3.885049e-05
+0.21975 3.864131e-05
+0.22000 3.838559e-05
+0.22025 3.808418e-05
+0.22050 3.773801e-05
+0.22075 3.734815e-05
+0.22100 3.691575e-05
+0.22125 3.644203e-05
+0.22150 3.592836e-05
+0.22175 3.537614e-05
+0.22200 3.478689e-05
+0.22225 3.416220e-05
+0.22250 3.350373e-05
+0.22275 3.281322e-05
+0.22300 3.209245e-05
+0.22325 3.134330e-05
+0.22350 3.056767e-05
+0.22375 2.976752e-05
+0.22400 2.894486e-05
+0.22425 2.810173e-05
+0.22450 2.724022e-05
+0.22475 2.636243e-05
+0.22500 2.547049e-05
+0.22525 2.456654e-05
+0.22550 2.365275e-05
+0.22575 2.273128e-05
+0.22600 2.180429e-05
+0.22625 2.087395e-05
+0.22650 1.994240e-05
+0.22675 1.901180e-05
+0.22700 1.808424e-05
+0.22725 1.716182e-05
+0.22750 1.624661e-05
+0.22775 1.534063e-05
+0.22800 1.444586e-05
+0.22825 1.356426e-05
+0.22850 1.269771e-05
+0.22875 1.184805e-05
+0.22900 1.101707e-05
+0.22925 1.020650e-05
+0.22950 9.417990e-06
+0.22975 8.653135e-06
+0.23000 7.913453e-06
+0.23025 7.200390e-06
+0.23050 6.515314e-06
+0.23075 5.859513e-06
+0.23100 5.234191e-06
+0.23125 4.640469e-06
+0.23150 4.079380e-06
+0.23175 3.551869e-06
+0.23200 3.058789e-06
+0.23225 2.600902e-06
+0.23250 2.178879e-06
+0.23275 1.793296e-06
+0.23300 1.444635e-06
+0.23325 1.133282e-06
+0.23350 8.595297e-07
+0.23375 6.235767e-07
+0.23400 4.255260e-07
+0.23425 2.653869e-07
+0.23450 1.430759e-07
+0.23475 5.841751e-08
+0.23500 1.114507e-08
+0.23525 9.026720e-10
+0.23550 2.724653e-08
+0.23575 8.964689e-08
+0.23600 1.874900e-07
+0.23625 3.200805e-07
+0.23650 4.866435e-07
+0.23675 6.863275e-07
+0.23700 9.182069e-07
+0.23725 1.181285e-06
+0.23750 1.474497e-06
+0.23775 1.796713e-06
+0.23800 2.146743e-06
+0.23825 2.523336e-06
+0.23850 2.925189e-06
+0.23875 3.350947e-06
+0.23900 3.799208e-06
+0.23925 4.268528e-06
+0.23950 4.757422e-06
+0.23975 5.264369e-06
+0.24000 5.787819e-06
+0.24025 6.326194e-06
+0.24050 6.877892e-06
+0.24075 7.441293e-06
+0.24100 8.014760e-06
+0.24125 8.596649e-06
+0.24150 9.185307e-06
+0.24175 9.779079e-06
+0.24200 1.037631e-05
+0.24225 1.097536e-05
+0.24250 1.157458e-05
+0.24275 1.217235e-05
+0.24300 1.276707e-05
+0.24325 1.335715e-05
+0.24350 1.394102e-05
+0.24375 1.451717e-05
+0.24400 1.508409e-05
+0.24425 1.564032e-05
+0.24450 1.618443e-05
+0.24475 1.671505e-05
+0.24500 1.723083e-05
+0.24525 1.773049e-05
+0.24550 1.821279e-05
+0.24575 1.867655e-05
+0.24600 1.912064e-05
+0.24625 1.954400e-05
+0.24650 1.994561e-05
+0.24675 2.032454e-05
+0.24700 2.067989e-05
+0.24725 2.101086e-05
+0.24750 2.131670e-05
+0.24775 2.159672e-05
+0.24800 2.185033e-05
+0.24825 2.207699e-05
+0.24850 2.227622e-05
+0.24875 2.244764e-05
+0.24900 2.259092e-05
+0.24925 2.270583e-05
+0.24950 2.279217e-05
+0.24975 2.284986e-05
+0.25000 2.287886e-05
+0.25025 2.287921e-05
+0.25050 2.285103e-05
+0.25075 2.279450e-05
+0.25100 2.270987e-05
+0.25125 2.259747e-05
+0.25150 2.245768e-05
+0.25175 2.229096e-05
+0.25200 2.209782e-05
+0.25225 2.187884e-05
+0.25250 2.163466e-05
+0.25275 2.136599e-05
+0.25300 2.107356e-05
+0.25325 2.075819e-05
+0.25350 2.042074e-05
+0.25375 2.006210e-05
+0.25400 1.968324e-05
+0.25425 1.928514e-05
+0.25450 1.886885e-05
+0.25475 1.843543e-05
+0.25500 1.798599e-05
+0.25525 1.752167e-05
+0.25550 1.704364e-05
+0.25575 1.655309e-05
+0.25600 1.605123e-05
+0.25625 1.553930e-05
+0.25650 1.501855e-05
+0.25675 1.449024e-05
+0.25700 1.395564e-05
+0.25725 1.341603e-05
+0.25750 1.287269e-05
+0.25775 1.232691e-05
+0.25800 1.177995e-05
+0.25825 1.123310e-05
+0.25850 1.068760e-05
+0.25875 1.014472e-05
+0.25900 9.605680e-06
+0.25925 9.071697e-06
+0.25950 8.543965e-06
+0.25975 8.023652e-06
+0.26000 7.511901e-06
+0.26025 7.009823e-06
+0.26050 6.518500e-06
+0.26075 6.038977e-06
+0.26100 5.572263e-06
+0.26125 5.119328e-06
+0.26150 4.681101e-06
+0.26175 4.258467e-06
+0.26200 3.852269e-06
+0.26225 3.463299e-06
+0.26250 3.092304e-06
+0.26275 2.739979e-06
+0.26300 2.406970e-06
+0.26325 2.093869e-06
+0.26350 1.801214e-06
+0.26375 1.529492e-06
+0.26400 1.279130e-06
+0.26425 1.050504e-06
+0.26450 8.439297e-07
+0.26475 6.596691e-07
+0.26500 4.979258e-07
+0.26525 3.588467e-07
+0.26550 2.425220e-07
+0.26575 1.489850e-07
+0.26600 7.821271e-08
+0.26625 3.012637e-08
+0.26650 4.591839e-09
+0.26675 1.420481e-09
+0.26700 2.037002e-08
+0.26725 6.114551e-08
+0.26750 1.234005e-07
+0.26775 2.067382e-07
+0.26800 3.107129e-07
+0.26825 4.348314e-07
+0.26850 5.785547e-07
+0.26875 7.412993e-07
+0.26900 9.224396e-07
+0.26925 1.121309e-06
+0.26950 1.337203e-06
+0.26975 1.569379e-06
+0.27000 1.817061e-06
+0.27025 2.079441e-06
+0.27050 2.355680e-06
+0.27075 2.644911e-06
+0.27100 2.946243e-06
+0.27125 3.258760e-06
+0.27150 3.581527e-06
+0.27175 3.913589e-06
+0.27200 4.253978e-06
+0.27225 4.601709e-06
+0.27250 4.955790e-06
+0.27275 5.315219e-06
+0.27300 5.678989e-06
+0.27325 6.046089e-06
+0.27350 6.415509e-06
+0.27375 6.786240e-06
+0.27400 7.157277e-06
+0.27425 7.527623e-06
+0.27450 7.896289e-06
+0.27475 8.262299e-06
+0.27500 8.624690e-06
+0.27525 8.982517e-06
+0.27550 9.334850e-06
+0.27575 9.680784e-06
+0.27600 1.001943e-05
+0.27625 1.034994e-05
+0.27650 1.067147e-05
+0.27675 1.098322e-05
+0.27700 1.128441e-05
+0.27725 1.157431e-05
+0.27750 1.185220e-05
+0.27775 1.211741e-05
+0.27800 1.236931e-05
+0.27825 1.260730e-05
+0.27850 1.283081e-05
+0.27875 1.303934e-05
+0.27900 1.323239e-05
+0.27925 1.340954e-05
+0.27950 1.357039e-05
+0.27975 1.371460e-05
+0.28000 1.384185e-05
+0.28025 1.395188e-05
+0.28050 1.404449e-05
+0.28075 1.411950e-05
+0.28100 1.417678e-05
+0.28125 1.421626e-05
+0.28150 1.423789e-05
+0.28175 1.424169e-05
+0.28200 1.422771e-05
+0.28225 1.419605e-05
+0.28250 1.414684e-05
+0.28275 1.408028e-05
+0.28300 1.399659e-05
+0.28325 1.389604e-05
+0.28350 1.377893e-05
+0.28375 1.364562e-05
+0.28400 1.349647e-05
+0.28425 1.333193e-05
+0.28450 1.315244e-05
+0.28475 1.295849e-05
+0.28500 1.275062e-05
+0.28525 1.252936e-05
+0.28550 1.229532e-05
+0.28575 1.204910e-05
+0.28600 1.179134e-05
+0.28625 1.152270e-05
+0.28650 1.124387e-05
+0.28675 1.095556e-05
+0.28700 1.065849e-05
+0.28725 1.035340e-05
+0.28750 1.004105e-05
+0.28775 9.722215e-06
+0.28800 9.397672e-06
+0.28825 9.068212e-06
+0.28850 8.734632e-06
+0.28875 8.397736e-06
+0.28900 8.058328e-06
+0.28925 7.717213e-06
+0.28950 7.375198e-06
+0.28975 7.033085e-06
+0.29000 6.691670e-06
+0.29025 6.351743e-06
+0.29050 6.014085e-06
+0.29075 5.679467e-06
+0.29100 5.348646e-06
+0.29125 5.022367e-06
+0.29150 4.701355e-06
+0.29175 4.386320e-06
+0.29200 4.077953e-06
+0.29225 3.776921e-06
+0.29250 3.483873e-06
+0.29275 3.199428e-06
+0.29300 2.924186e-06
+0.29325 2.658716e-06
+0.29350 2.403560e-06
+0.29375 2.159231e-06
+0.29400 1.926214e-06
+0.29425 1.704959e-06
+0.29450 1.495886e-06
+0.29475 1.299384e-06
+0.29500 1.115805e-06
+0.29525 9.454680e-07
+0.29550 7.886580e-07
+0.29575 6.456239e-07
+0.29600 5.165793e-07
+0.29625 4.017014e-07
+0.29650 3.011316e-07
+0.29675 2.149751e-07
+0.29700 1.433005e-07
+0.29725 8.614039e-08
+0.29750 4.349131e-08
+0.29775 1.531394e-08
+0.29800 1.533540e-09
+0.29825 2.040301e-09
+0.29850 1.668989e-08
+0.29875 4.530403e-08
+0.29900 8.767115e-08
+0.29925 1.435472e-07
+0.29950 2.126562e-07
+0.29975 2.946917e-07
+0.30000 3.893171e-07
+0.30025 4.961671e-07
+0.30050 6.148486e-07
+0.30075 7.449420e-07
+0.30100 8.860023e-07
+0.30125 1.037560e-06
+0.30150 1.199125e-06
+0.30175 1.370181e-06
+0.30200 1.550198e-06
+0.30225 1.738621e-06
+0.30250 1.934884e-06
+0.30275 2.138401e-06
+0.30300 2.348575e-06
+0.30325 2.564793e-06
+0.30350 2.786436e-06
+0.30375 3.012871e-06
+0.30400 3.243462e-06
+0.30425 3.477562e-06
+0.30450 3.714525e-06
+0.30475 3.953698e-06
+0.30500 4.194429e-06
+0.30525 4.436067e-06
+0.30550 4.677962e-06
+0.30575 4.919467e-06
+0.30600 5.159944e-06
+0.30625 5.398757e-06
+0.30650 5.635282e-06
+0.30675 5.868905e-06
+0.30700 6.099020e-06
+0.30725 6.325037e-06
+0.30750 6.546380e-06
+0.30775 6.762486e-06
+0.30800 6.972811e-06
+0.30825 7.176830e-06
+0.30850 7.374034e-06
+0.30875 7.563937e-06
+0.30900 7.746074e-06
+0.30925 7.920001e-06
+0.30950 8.085299e-06
+0.30975 8.241573e-06
+0.31000 8.388452e-06
+0.31025 8.525593e-06
+0.31050 8.652678e-06
+0.31075 8.769415e-06
+0.31100 8.875543e-06
+0.31125 8.970827e-06
+0.31150 9.055061e-06
+0.31175 9.128067e-06
+0.31200 9.189698e-06
+0.31225 9.239835e-06
+0.31250 9.278389e-06
+0.31275 9.305301e-06
+0.31300 9.320540e-06
+0.31325 9.324106e-06
+0.31350 9.316026e-06
+0.31375 9.296358e-06
+0.31400 9.265188e-06
+0.31425 9.222630e-06
+0.31450 9.168825e-06
+0.31475 9.103942e-06
+0.31500 9.028177e-06
+0.31525 8.941751e-06
+0.31550 8.844911e-06
+0.31575 8.737927e-06
+0.31600 8.621095e-06
+0.31625 8.494731e-06
+0.31650 8.359175e-06
+0.31675 8.214788e-06
+0.31700 8.061948e-06
+0.31725 7.901055e-06
+0.31750 7.732525e-06
+0.31775 7.556790e-06
+0.31800 7.374299e-06
+0.31825 7.185513e-06
+0.31850 6.990909e-06
+0.31875 6.790971e-06
+0.31900 6.586199e-06
+0.31925 6.377097e-06
+0.31950 6.164179e-06
+0.31975 5.947965e-06
+0.32000 5.728982e-06
+0.32025 5.507757e-06
+0.32050 5.284821e-06
+0.32075 5.060709e-06
+0.32100 4.835951e-06
+0.32125 4.611078e-06
+0.32150 4.386618e-06
+0.32175 4.163094e-06
+0.32200 3.941025e-06
+0.32225 3.720922e-06
+0.32250 3.503289e-06
+0.32275 3.288619e-06
+0.32300 3.077397e-06
+0.32325 2.870096e-06
+0.32350 2.667175e-06
+0.32375 2.469081e-06
+0.32400 2.276246e-06
+0.32425 2.089086e-06
+0.32450 1.908001e-06
+0.32475 1.733373e-06
+0.32500 1.565567e-06
+0.32525 1.404926e-06
+0.32550 1.251776e-06
+0.32575 1.106422e-06
+0.32600 9.691480e-07
+0.32625 8.402148e-07
+0.32650 7.198624e-07
+0.32675 6.083078e-07
+0.32700 5.057447e-07
+0.32725 4.123438e-07
+0.32750 3.282518e-07
+0.32775 2.535915e-07
+0.32800 1.884617e-07
+0.32825 1.329371e-07
+0.32850 8.706808e-08
+0.32875 5.088084e-08
+0.32900 2.437750e-08
+0.32925 7.536217e-09
+0.32950 3.113769e-10
+0.32975 2.633851e-09
+0.33000 1.441131e-08
+0.33025 3.552861e-08
+0.33050 6.584818e-08
+0.33075 1.052105e-07
+0.33100 1.534348e-07
+0.33125 2.103192e-07
+0.33150 2.756419e-07
+0.33175 3.491614e-07
+0.33200 4.306174e-07
+0.33225 5.197317e-07
+0.33250 6.162087e-07
+0.33275 7.197363e-07
+0.33300 8.299872e-07
+0.33325 9.466190e-07
+0.33350 1.069276e-06
+0.33375 1.197589e-06
+0.33400 1.331179e-06
+0.33425 1.469653e-06
+0.33450 1.612612e-06
+0.33475 1.759645e-06
+0.33500 1.910336e-06
+0.33525 2.064261e-06
+0.33550 2.220991e-06
+0.33575 2.380093e-06
+0.33600 2.541130e-06
+0.33625 2.703664e-06
+0.33650 2.867254e-06
+0.33675 3.031462e-06
+0.33700 3.195849e-06
+0.33725 3.359979e-06
+0.33750 3.523419e-06
+0.33775 3.685740e-06
+0.33800 3.846519e-06
+0.33825 4.005341e-06
+0.33850 4.161795e-06
+0.33875 4.315480e-06
+0.33900 4.466006e-06
+0.33925 4.612990e-06
+0.33950 4.756064e-06
+0.33975 4.894868e-06
+0.34000 5.029057e-06
+0.34025 5.158300e-06
+0.34050 5.282279e-06
+0.34075 5.400692e-06
+0.34100 5.513252e-06
+0.34125 5.619689e-06
+0.34150 5.719750e-06
+0.34175 5.813198e-06
+0.34200 5.899815e-06
+0.34225 5.979401e-06
+0.34250 6.051776e-06
+0.34275 6.116777e-06
+0.34300 6.174262e-06
+0.34325 6.224108e-06
+0.34350 6.266211e-06
+0.34375 6.300488e-06
+0.34400 6.326876e-06
+0.34425 6.345332e-06
+0.34450 6.355832e-06
+0.34475 6.358374e-06
+0.34500 6.352973e-06
+0.34525 6.339667e-06
+0.34550 6.318511e-06
+0.34575 6.289581e-06
+0.34600 6.252971e-06
+0.34625 6.208794e-06
+0.34650 6.157180e-06
+0.34675 6.098279e-06
+0.34700 6.032257e-06
+0.34725 5.959297e-06
+0.34750 5.879598e-06
+0.34775 5.793376e-06
+0.34800 5.700860e-06
+0.34825 5.602296e-06
+0.34850 5.497940e-06
+0.34875 5.388065e-06
+0.34900 5.272954e-06
+0.34925 5.152902e-06
+0.34950 5.028214e-06
+0.34975 4.899206e-06
+0.35000 4.766203e-06
+0.35025 4.629536e-06
+0.35050 4.489547e-06
+0.35075 4.346581e-06
+0.35100 4.200990e-06
+0.35125 4.053131e-06
+0.35150 3.903363e-06
+0.35175 3.752051e-06
+0.35200 3.599557e-06
+0.35225 3.446249e-06
+0.35250 3.292492e-06
+0.35275 3.138650e-06
+0.35300 2.985087e-06
+0.35325 2.832163e-06
+0.35350 2.680236e-06
+0.35375 2.529656e-06
+0.35400 2.380773e-06
+0.35425 2.233926e-06
+0.35450 2.089449e-06
+0.35475 1.947670e-06
+0.35500 1.808906e-06
+0.35525 1.673466e-06
+0.35550 1.541649e-06
+0.35575 1.413743e-06
+0.35600 1.290024e-06
+0.35625 1.170758e-06
+0.35650 1.056198e-06
+0.35675 9.465823e-07
+0.35700 8.421375e-07
+0.35725 7.430755e-07
+0.35750 6.495935e-07
+0.35775 5.618739e-07
+0.35800 4.800841e-07
+0.35825 4.043755e-07
+0.35850 3.348838e-07
+0.35875 2.717285e-07
+0.35900 2.150128e-07
+0.35925 1.648233e-07
+0.35950 1.212301e-07
+0.35975 8.428632e-08
+0.36000 5.402857e-08
+0.36025 3.047655e-08
+0.36050 1.363329e-08
+0.36075 3.485166e-09
+0.36100 2.050230e-12
+0.36125 3.137470e-09
+0.36150 1.282881e-08
+0.36175 2.899757e-08
+0.36200 5.154963e-08
+0.36225 8.037557e-08
+0.36250 1.153510e-07
+0.36275 1.563372e-07
+0.36300 2.031809e-07
+0.36325 2.557156e-07
+0.36350 3.137613e-07
+0.36375 3.771256e-07
+0.36400 4.456039e-07
+0.36425 5.189799e-07
+0.36450 5.970266e-07
+0.36475 6.795066e-07
+0.36500 7.661728e-07
+0.36525 8.567691e-07
+0.36550 9.510311e-07
+0.36575 1.048687e-06
+0.36600 1.149457e-06
+0.36625 1.253058e-06
+0.36650 1.359197e-06
+0.36675 1.467581e-06
+0.36700 1.577910e-06
+0.36725 1.689881e-06
+0.36750 1.803191e-06
+0.36775 1.917532e-06
+0.36800 2.032598e-06
+0.36825 2.148082e-06
+0.36850 2.263677e-06
+0.36875 2.379078e-06
+0.36900 2.493983e-06
+0.36925 2.608090e-06
+0.36950 2.721105e-06
+0.36975 2.832735e-06
+0.37000 2.942693e-06
+0.37025 3.050699e-06
+0.37050 3.156477e-06
+0.37075 3.259760e-06
+0.37100 3.360288e-06
+0.37125 3.457810e-06
+0.37150 3.552084e-06
+0.37175 3.642874e-06
+0.37200 3.729960e-06
+0.37225 3.813127e-06
+0.37250 3.892174e-06
+0.37275 3.966910e-06
+0.37300 4.037157e-06
+0.37325 4.102748e-06
+0.37350 4.163530e-06
+0.37375 4.219360e-06
+0.37400 4.270112e-06
+0.37425 4.315670e-06
+0.37450 4.355933e-06
+0.37475 4.390815e-06
+0.37500 4.420241e-06
+0.37525 4.444152e-06
+0.37550 4.462503e-06
+0.37575 4.475263e-06
+0.37600 4.482415e-06
+0.37625 4.483955e-06
+0.37650 4.479895e-06
+0.37675 4.470260e-06
+0.37700 4.455088e-06
+0.37725 4.434432e-06
+0.37750 4.408358e-06
+0.37775 4.376944e-06
+0.37800 4.340283e-06
+0.37825 4.298479e-06
+0.37850 4.251649e-06
+0.37875 4.199921e-06
+0.37900 4.143436e-06
+0.37925 4.082345e-06
+0.37950 4.016810e-06
+0.37975 3.947005e-06
+0.38000 3.873110e-06
+0.38025 3.795317e-06
+0.38050 3.713827e-06
+0.38075 3.628847e-06
+0.38100 3.540594e-06
+0.38125 3.449291e-06
+0.38150 3.355167e-06
+0.38175 3.258457e-06
+0.38200 3.159403e-06
+0.38225 3.058249e-06
+0.38250 2.955245e-06
+0.38275 2.850643e-06
+0.38300 2.744699e-06
+0.38325 2.637669e-06
+0.38350 2.529813e-06
+0.38375 2.421390e-06
+0.38400 2.312659e-06
+0.38425 2.203880e-06
+0.38450 2.095310e-06
+0.38475 1.987206e-06
+0.38500 1.879821e-06
+0.38525 1.773405e-06
+0.38550 1.668206e-06
+0.38575 1.564466e-06
+0.38600 1.462423e-06
+0.38625 1.362309e-06
+0.38650 1.264351e-06
+0.38675 1.168768e-06
+0.38700 1.075774e-06
+0.38725 9.855731e-07
+0.38750 8.983638e-07
+0.38775 8.143348e-07
+0.38800 7.336662e-07
+0.38825 6.565290e-07
+0.38850 5.830844e-07
+0.38875 5.134839e-07
+0.38900 4.478684e-07
+0.38925 3.863683e-07
+0.38950 3.291033e-07
+0.38975 2.761817e-07
+0.39000 2.277007e-07
+0.39025 1.837459e-07
+0.39050 1.443913e-07
+0.39075 1.096991e-07
+0.39100 7.971950e-08
+0.39125 5.449090e-08
+0.39150 3.403969e-08
+0.39175 1.838025e-08
+0.39200 7.515012e-09
+0.39225 1.434516e-09
+0.39250 1.174734e-10
+0.39275 3.530893e-09
+0.39300 1.163022e-08
+0.39325 2.435950e-08
+0.39350 4.165158e-08
+0.39375 6.342833e-08
+0.39400 8.960092e-08
+0.39425 1.200700e-07
+0.39450 1.547262e-07
+0.39475 1.934502e-07
+0.39500 2.361132e-07
+0.39525 2.825773e-07
+0.39550 3.326961e-07
+0.39575 3.863144e-07
+0.39600 4.432696e-07
+0.39625 5.033914e-07
+0.39650 5.665024e-07
+0.39675 6.324191e-07
+0.39700 7.009516e-07
+0.39725 7.719046e-07
+0.39750 8.450779e-07
+0.39775 9.202665e-07
+0.39800 9.972619e-07
+0.39825 1.075852e-06
+0.39850 1.155821e-06
+0.39875 1.236953e-06
+0.39900 1.319028e-06
+0.39925 1.401826e-06
+0.39950 1.485125e-06
+0.39975 1.568706e-06
+0.40000 1.652346e-06
+0.40025 1.735827e-06
+0.40050 1.818930e-06
+0.40075 1.901439e-06
+0.40100 1.983141e-06
+0.40125 2.063825e-06
+0.40150 2.143285e-06
+0.40175 2.221317e-06
+0.40200 2.297725e-06
+0.40225 2.372314e-06
+0.40250 2.444898e-06
+0.40275 2.515294e-06
+0.40300 2.583328e-06
+0.40325 2.648832e-06
+0.40350 2.711643e-06
+0.40375 2.771609e-06
+0.40400 2.828583e-06
+0.40425 2.882428e-06
+0.40450 2.933015e-06
+0.40475 2.980224e-06
+0.40500 3.023942e-06
+0.40525 3.064069e-06
+0.40550 3.100511e-06
+0.40575 3.133186e-06
+0.40600 3.162021e-06
+0.40625 3.186952e-06
+0.40650 3.207926e-06
+0.40675 3.224901e-06
+0.40700 3.237843e-06
+0.40725 3.246731e-06
+0.40750 3.251551e-06
+0.40775 3.252302e-06
+0.40800 3.248992e-06
+0.40825 3.241639e-06
+0.40850 3.230272e-06
+0.40875 3.214927e-06
+0.40900 3.195654e-06
+0.40925 3.172509e-06
+0.40950 3.145560e-06
+0.40975 3.114882e-06
+0.41000 3.080560e-06
+0.41025 3.042688e-06
+0.41050 3.001368e-06
+0.41075 2.956709e-06
+0.41100 2.908830e-06
+0.41125 2.857857e-06
+0.41150 2.803921e-06
+0.41175 2.747162e-06
+0.41200 2.687725e-06
+0.41225 2.625763e-06
+0.41250 2.561432e-06
+0.41275 2.494895e-06
+0.41300 2.426319e-06
+0.41325 2.355875e-06
+0.41350 2.283739e-06
+0.41375 2.210089e-06
+0.41400 2.135106e-06
+0.41425 2.058976e-06
+0.41450 1.981883e-06
+0.41475 1.904016e-06
+0.41500 1.825563e-06
+0.41525 1.746713e-06
+0.41550 1.667656e-06
+0.41575 1.588580e-06
+0.41600 1.509675e-06
+0.41625 1.431125e-06
+0.41650 1.353117e-06
+0.41675 1.275834e-06
+0.41700 1.199455e-06
+0.41725 1.124157e-06
+0.41750 1.050115e-06
+0.41775 9.774983e-07
+0.41800 9.064716e-07
+0.41825 8.371957e-07
+0.41850 7.698263e-07
+0.41875 7.045133e-07
+0.41900 6.414010e-07
+0.41925 5.806276e-07
+0.41950 5.223246e-07
+0.41975 4.666170e-07
+0.42000 4.136226e-07
+0.42025 3.634521e-07
+0.42050 3.162084e-07
+0.42075 2.719869e-07
+0.42100 2.308749e-07
+0.42125 1.929517e-07
+0.42150 1.582882e-07
+0.42175 1.269469e-07
+0.42200 9.898176e-08
+0.42225 7.443813e-08
+0.42250 5.335264e-08
+0.42275 3.575315e-08
+0.42300 2.165875e-08
+0.42325 1.107973e-08
+0.42350 4.017618e-09
+0.42375 4.651901e-10
+0.42400 4.065487e-10
+0.42425 3.817198e-09
+0.42450 1.066414e-08
+0.42475 2.090602e-08
+0.42500 3.449322e-08
+0.42525 5.136808e-08
+0.42550 7.146503e-08
+0.42575 9.471081e-08
+0.42600 1.210247e-07
+0.42625 1.503188e-07
+0.42650 1.824980e-07
+0.42675 2.174608e-07
+0.42700 2.550991e-07
+0.42725 2.952986e-07
+0.42750 3.379393e-07
+0.42775 3.828957e-07
+0.42800 4.300371e-07
+0.42825 4.792279e-07
+0.42850 5.303282e-07
+0.42875 5.831941e-07
+0.42900 6.376777e-07
+0.42925 6.936280e-07
+0.42950 7.508912e-07
+0.42975 8.093105e-07
+0.43000 8.687275e-07
+0.43025 9.289818e-07
+0.43050 9.899117e-07
+0.43075 1.051355e-06
+0.43100 1.113147e-06
+0.43125 1.175127e-06
+0.43150 1.237131e-06
+0.43175 1.298996e-06
+0.43200 1.360562e-06
+0.43225 1.421669e-06
+0.43250 1.482159e-06
+0.43275 1.541878e-06
+0.43300 1.600673e-06
+0.43325 1.658393e-06
+0.43350 1.714893e-06
+0.43375 1.770030e-06
+0.43400 1.823666e-06
+0.43425 1.875666e-06
+0.43450 1.925902e-06
+0.43475 1.974248e-06
+0.43500 2.020586e-06
+0.43525 2.064803e-06
+0.43550 2.106790e-06
+0.43575 2.146446e-06
+0.43600 2.183676e-06
+0.43625 2.218391e-06
+0.43650 2.250509e-06
+0.43675 2.279954e-06
+0.43700 2.306659e-06
+0.43725 2.330561e-06
+0.43750 2.351609e-06
+0.43775 2.369754e-06
+0.43800 2.384959e-06
+0.43825 2.397191e-06
+0.43850 2.406426e-06
+0.43875 2.412649e-06
+0.43900 2.415851e-06
+0.43925 2.416030e-06
+0.43950 2.413194e-06
+0.43975 2.407355e-06
+0.44000 2.398535e-06
+0.44025 2.386764e-06
+0.44050 2.372076e-06
+0.44075 2.354515e-06
+0.44100 2.334132e-06
+0.44125 2.310982e-06
+0.44150 2.285129e-06
+0.44175 2.256644e-06
+0.44200 2.225603e-06
+0.44225 2.192087e-06
+0.44250 2.156185e-06
+0.44275 2.117991e-06
+0.44300 2.077603e-06
+0.44325 2.035125e-06
+0.44350 1.990667e-06
+0.44375 1.944341e-06
+0.44400 1.896265e-06
+0.44425 1.846560e-06
+0.44450 1.795350e-06
+0.44475 1.742764e-06
+0.44500 1.688933e-06
+0.44525 1.633989e-06
+0.44550 1.578068e-06
+0.44575 1.521308e-06
+0.44600 1.463847e-06
+0.44625 1.405826e-06
+0.44650 1.347385e-06
+0.44675 1.288666e-06
+0.44700 1.229809e-06
+0.44725 1.170957e-06
+0.44750 1.112248e-06
+0.44775 1.053823e-06
+0.44800 9.958204e-07
+0.44825 9.383757e-07
+0.44850 8.816237e-07
+0.44875 8.256967e-07
+0.44900 7.707243e-07
+0.44925 7.168330e-07
+0.44950 6.641463e-07
+0.44975 6.127841e-07
+0.45000 5.628623e-07
+0.45025 5.144930e-07
+0.45050 4.677838e-07
+0.45075 4.228376e-07
+0.45100 3.797527e-07
+0.45125 3.386223e-07
+0.45150 2.995342e-07
+0.45175 2.625708e-07
+0.45200 2.278089e-07
+0.45225 1.953194e-07
+0.45250 1.651675e-07
+0.45275 1.374121e-07
+0.45300 1.121058e-07
+0.45325 8.929500e-08
+0.45350 6.901979e-08
+0.45375 5.131367e-08
+0.45400 3.620362e-08
+0.45425 2.371007e-08
+0.45450 1.384686e-08
+0.45475 6.621230e-09
+0.45500 2.033843e-09
+0.45525 7.879839e-11
+0.45550 7.436817e-10
+0.45575 4.009626e-09
+0.45600 9.851384e-09
+0.45625 1.823742e-08
+0.45650 2.913002e-08
+0.45675 4.248539e-08
+0.45700 5.825385e-08
+0.45725 7.637989e-08
+0.45750 9.680242e-08
+0.45775 1.194549e-07
+0.45800 1.442656e-07
+0.45825 1.711576e-07
+0.45850 2.000493e-07
+0.45875 2.308544e-07
+0.45900 2.634823e-07
+0.45925 2.978382e-07
+0.45950 3.338234e-07
+0.45975 3.713356e-07
+0.46000 4.102694e-07
+0.46025 4.505159e-07
+0.46050 4.919637e-07
+0.46075 5.344989e-07
+0.46100 5.780053e-07
+0.46125 6.223648e-07
+0.46150 6.674579e-07
+0.46175 7.131635e-07
+0.46200 7.593597e-07
+0.46225 8.059239e-07
+0.46250 8.527331e-07
+0.46275 8.996642e-07
+0.46300 9.465945e-07
+0.46325 9.934016e-07
+0.46350 1.039964e-06
+0.46375 1.086162e-06
+0.46400 1.131876e-06
+0.46425 1.176989e-06
+0.46450 1.221387e-06
+0.46475 1.264956e-06
+0.46500 1.307586e-06
+0.46525 1.349169e-06
+0.46550 1.389602e-06
+0.46575 1.428784e-06
+0.46600 1.466616e-06
+0.46625 1.503006e-06
+0.46650 1.537863e-06
+0.46675 1.571103e-06
+0.46700 1.602644e-06
+0.46725 1.632410e-06
+0.46750 1.660328e-06
+0.46775 1.686334e-06
+0.46800 1.710364e-06
+0.46825 1.732362e-06
+0.46850 1.752277e-06
+0.46875 1.770064e-06
+0.46900 1.785682e-06
+0.46925 1.799096e-06
+0.46950 1.810277e-06
+0.46975 1.819203e-06
+0.47000 1.825856e-06
+0.47025 1.830223e-06
+0.47050 1.832298e-06
+0.47075 1.832083e-06
+0.47100 1.829581e-06
+0.47125 1.824803e-06
+0.47150 1.817768e-06
+0.47175 1.808496e-06
+0.47200 1.797016e-06
+0.47225 1.783360e-06
+0.47250 1.767568e-06
+0.47275 1.749683e-06
+0.47300 1.729753e-06
+0.47325 1.707833e-06
+0.47350 1.683980e-06
+0.47375 1.658257e-06
+0.47400 1.630732e-06
+0.47425 1.601476e-06
+0.47450 1.570565e-06
+0.47475 1.538078e-06
+0.47500 1.504098e-06
+0.47525 1.468712e-06
+0.47550 1.432008e-06
+0.47575 1.394080e-06
+0.47600 1.355022e-06
+0.47625 1.314932e-06
+0.47650 1.273910e-06
+0.47675 1.232057e-06
+0.47700 1.189476e-06
+0.47725 1.146273e-06
+0.47750 1.102552e-06
+0.47775 1.058422e-06
+0.47800 1.013988e-06
+0.47825 9.693580e-07
+0.47850 9.246404e-07
+0.47875 8.799421e-07
+0.47900 8.353700e-07
+0.47925 7.910303e-07
+0.47950 7.470282e-07
+0.47975 7.034675e-07
+0.48000 6.604505e-07
+0.48025 6.180778e-07
+0.48050 5.764480e-07
+0.48075 5.356575e-07
+0.48100 4.958000e-07
+0.48125 4.569667e-07
+0.48150 4.192458e-07
+0.48175 3.827225e-07
+0.48200 3.474784e-07
+0.48225 3.135918e-07
+0.48250 2.811374e-07
+0.48275 2.501857e-07
+0.48300 2.208036e-07
+0.48325 1.930533e-07
+0.48350 1.669933e-07
+0.48375 1.426771e-07
+0.48400 1.201540e-07
+0.48425 9.946847e-08
+0.48450 8.066036e-08
+0.48475 6.376459e-08
+0.48500 4.881121e-08
+0.48525 3.582533e-08
+0.48550 2.482705e-08
+0.48575 1.583145e-08
+0.48600 8.848580e-09
+0.48625 3.883439e-09
+0.48650 9.359881e-10
+0.48675 1.173674e-12
+0.48700 1.068960e-09
+0.48725 4.124375e-09
+0.48750 9.147566e-09
+0.48775 1.611387e-08
+0.48800 2.499389e-08
+0.48825 3.575361e-08
+0.48850 4.835445e-08
+0.48875 6.275344e-08
+0.48900 7.890331e-08
+0.48925 9.675262e-08
+0.48950 1.162459e-07
+0.48975 1.373239e-07
+0.49000 1.599236e-07
+0.49025 1.839784e-07
+0.49050 2.094186e-07
+0.49075 2.361710e-07
+0.49100 2.641596e-07
+0.49125 2.933058e-07
+0.49150 3.235283e-07
+0.49175 3.547433e-07
+0.49200 3.868651e-07
+0.49225 4.198061e-07
+0.49250 4.534769e-07
+0.49275 4.877867e-07
+0.49300 5.226435e-07
+0.49325 5.579544e-07
+0.49350 5.936255e-07
+0.49375 6.295627e-07
+0.49400 6.656715e-07
+0.49425 7.018573e-07
+0.49450 7.380258e-07
+0.49475 7.740830e-07
+0.49500 8.099357e-07
+0.49525 8.454916e-07
+0.49550 8.806594e-07
+0.49575 9.153493e-07
+0.49600 9.494729e-07
+0.49625 9.829437e-07
+0.49650 1.015677e-06
+0.49675 1.047591e-06
+0.49700 1.078605e-06
+0.49725 1.108641e-06
+0.49750 1.137626e-06
+0.49775 1.165488e-06
+0.49800 1.192157e-06
+0.49825 1.217568e-06
+0.49850 1.241660e-06
+0.49875 1.264374e-06
+0.49900 1.285655e-06
+0.49925 1.305453e-06
+0.49950 1.323720e-06
+0.49975 1.340412e-06
+0.50000 1.355493e-06
+0.50025 1.368925e-06
+0.50050 1.380680e-06
+0.50075 1.390730e-06
+0.50100 1.399055e-06
+0.50125 1.405636e-06
+0.50150 1.410460e-06
+0.50175 1.413519e-06
+0.50200 1.414810e-06
+0.50225 1.414331e-06
+0.50250 1.412088e-06
+0.50275 1.408090e-06
+0.50300 1.402350e-06
+0.50325 1.394887e-06
+0.50350 1.385721e-06
+0.50375 1.374880e-06
+0.50400 1.362393e-06
+0.50425 1.348295e-06
+0.50450 1.332624e-06
+0.50475 1.315421e-06
+0.50500 1.296732e-06
+0.50525 1.276606e-06
+0.50550 1.255096e-06
+0.50575 1.232258e-06
+0.50600 1.208149e-06
+0.50625 1.182833e-06
+0.50650 1.156372e-06
+0.50675 1.128835e-06
+0.50700 1.100292e-06
+0.50725 1.070813e-06
+0.50750 1.040473e-06
+0.50775 1.009347e-06
+0.50800 9.775128e-07
+0.50825 9.450494e-07
+0.50850 9.120367e-07
+0.50875 8.785559e-07
+0.50900 8.446891e-07
+0.50925 8.105188e-07
+0.50950 7.761284e-07
+0.50975 7.416009e-07
+0.51000 7.070200e-07
+0.51025 6.724687e-07
+0.51050 6.380298e-07
+0.51075 6.037856e-07
+0.51100 5.698173e-07
+0.51125 5.362056e-07
+0.51150 5.030294e-07
+0.51175 4.703668e-07
+0.51200 4.382938e-07
+0.51225 4.068851e-07
+0.51250 3.762131e-07
+0.51275 3.463483e-07
+0.51300 3.173588e-07
+0.51325 2.893104e-07
+0.51350 2.622662e-07
+0.51375 2.362866e-07
+0.51400 2.114290e-07
+0.51425 1.877481e-07
+0.51450 1.652951e-07
+0.51475 1.441182e-07
+0.51500 1.242621e-07
+0.51525 1.057681e-07
+0.51550 8.867394e-08
+0.51575 7.301376e-08
+0.51600 5.881797e-08
+0.51625 4.611323e-08
+0.51650 3.492240e-08
+0.51675 2.526448e-08
+0.51700 1.715457e-08
+0.51725 1.060388e-08
+0.51750 5.619696e-09
+0.51775 2.205371e-09
+0.51800 3.603484e-10
+0.51825 8.016662e-11
+0.51850 1.356490e-09
+0.51875 4.177145e-09
+0.51900 8.526162e-09
+0.51925 1.438383e-08
+0.51950 2.172677e-08
+0.51975 3.052799e-08
+0.52000 4.075697e-08
+0.52025 5.237978e-08
+0.52050 6.535913e-08
+0.52075 7.965450e-08
+0.52100 9.522227e-08
+0.52125 1.120158e-07
+0.52150 1.299856e-07
+0.52175 1.490795e-07
+0.52200 1.692426e-07
+0.52225 1.904177e-07
+0.52250 2.125451e-07
+0.52275 2.355632e-07
+0.52300 2.594084e-07
+0.52325 2.840150e-07
+0.52350 3.093160e-07
+0.52375 3.352428e-07
+0.52400 3.617255e-07
+0.52425 3.886931e-07
+0.52450 4.160735e-07
+0.52475 4.437943e-07
+0.52500 4.717821e-07
+0.52525 4.999632e-07
+0.52550 5.282639e-07
+0.52575 5.566103e-07
+0.52600 5.849288e-07
+0.52625 6.131461e-07
+0.52650 6.411893e-07
+0.52675 6.689865e-07
+0.52700 6.964665e-07
+0.52725 7.235591e-07
+0.52750 7.501956e-07
+0.52775 7.763085e-07
+0.52800 8.018319e-07
+0.52825 8.267016e-07
+0.52850 8.508554e-07
+0.52875 8.742330e-07
+0.52900 8.967763e-07
+0.52925 9.184295e-07
+0.52950 9.391394e-07
+0.52975 9.588550e-07
+0.53000 9.775283e-07
+0.53025 9.951140e-07
+0.53050 1.011570e-06
+0.53075 1.026856e-06
+0.53100 1.040936e-06
+0.53125 1.053777e-06
+0.53150 1.065349e-06
+0.53175 1.075625e-06
+0.53200 1.084581e-06
+0.53225 1.092198e-06
+0.53250 1.098460e-06
+0.53275 1.103352e-06
+0.53300 1.106865e-06
+0.53325 1.108994e-06
+0.53350 1.109734e-06
+0.53375 1.109088e-06
+0.53400 1.107059e-06
+0.53425 1.103655e-06
+0.53450 1.098887e-06
+0.53475 1.092769e-06
+0.53500 1.085319e-06
+0.53525 1.076558e-06
+0.53550 1.066511e-06
+0.53575 1.055204e-06
+0.53600 1.042668e-06
+0.53625 1.028936e-06
+0.53650 1.014045e-06
+0.53675 9.980329e-07
+0.53700 9.809417e-07
+0.53725 9.628155e-07
+0.53750 9.437009e-07
+0.53775 9.236466e-07
+0.53800 9.027038e-07
+0.53825 8.809254e-07
+0.53850 8.583664e-07
+0.53875 8.350834e-07
+0.53900 8.111347e-07
+0.53925 7.865801e-07
+0.53950 7.614805e-07
+0.53975 7.358982e-07
+0.54000 7.098962e-07
+0.54025 6.835385e-07
+0.54050 6.568898e-07
+0.54075 6.300151e-07
+0.54100 6.029799e-07
+0.54125 5.758497e-07
+0.54150 5.486901e-07
+0.54175 5.215667e-07
+0.54200 4.945444e-07
+0.54225 4.676879e-07
+0.54250 4.410613e-07
+0.54275 4.147275e-07
+0.54300 3.887490e-07
+0.54325 3.631867e-07
+0.54350 3.381005e-07
+0.54375 3.135490e-07
+0.54400 2.895889e-07
+0.54425 2.662754e-07
+0.54450 2.436622e-07
+0.54475 2.218005e-07
+0.54500 2.007399e-07
+0.54525 1.805275e-07
+0.54550 1.612085e-07
+0.54575 1.428252e-07
+0.54600 1.254180e-07
+0.54625 1.090242e-07
+0.54650 9.367878e-08
+0.54675 7.941386e-08
+0.54700 6.625876e-08
+0.54725 5.423996e-08
+0.54750 4.338099e-08
+0.54775 3.370243e-08
+0.54800 2.522182e-08
+0.54825 1.795369e-08
+0.54850 1.190947e-08
+0.54875 7.097529e-09
+0.54900 3.523115e-09
+0.54925 1.188392e-09
+0.54950 9.242969e-11
+0.54975 2.312163e-10
+0.55000 1.597683e-09
+0.55025 4.181733e-09
+0.55050 7.970274e-09
+0.55075 1.294727e-08
+0.55100 1.909377e-08
+0.55125 2.638800e-08
+0.55150 3.480541e-08
+0.55175 4.431873e-08
+0.55200 5.489806e-08
+0.55225 6.651098e-08
+0.55250 7.912260e-08
+0.55275 9.269566e-08
+0.55300 1.071907e-07
+0.55325 1.225660e-07
+0.55350 1.387778e-07
+0.55375 1.557807e-07
+0.55400 1.735272e-07
+0.55425 1.919681e-07
+0.55450 2.110528e-07
+0.55475 2.307293e-07
+0.55500 2.509442e-07
+0.55525 2.716430e-07
+0.55550 2.927702e-07
+0.55575 3.142696e-07
+0.55600 3.360839e-07
+0.55625 3.581555e-07
+0.55650 3.804265e-07
+0.55675 4.028382e-07
+0.55700 4.253324e-07
+0.55725 4.478505e-07
+0.55750 4.703341e-07
+0.55775 4.927252e-07
+0.55800 5.149662e-07
+0.55825 5.370001e-07
+0.55850 5.587706e-07
+0.55875 5.802223e-07
+0.55900 6.013008e-07
+0.55925 6.219527e-07
+0.55950 6.421260e-07
+0.55975 6.617701e-07
+0.56000 6.808358e-07
+0.56025 6.992755e-07
+0.56050 7.170435e-07
+0.56075 7.340959e-07
+0.56100 7.503905e-07
+0.56125 7.658875e-07
+0.56150 7.805491e-07
+0.56175 7.943395e-07
+0.56200 8.072255e-07
+0.56225 8.191762e-07
+0.56250 8.301630e-07
+0.56275 8.401601e-07
+0.56300 8.491439e-07
+0.56325 8.570938e-07
+0.56350 8.639915e-07
+0.56375 8.698216e-07
+0.56400 8.745713e-07
+0.56425 8.782307e-07
+0.56450 8.807926e-07
+0.56475 8.822524e-07
+0.56500 8.826085e-07
+0.56525 8.818620e-07
+0.56550 8.800165e-07
+0.56575 8.770788e-07
+0.56600 8.730580e-07
+0.56625 8.679661e-07
+0.56650 8.618176e-07
+0.56675 8.546296e-07
+0.56700 8.464218e-07
+0.56725 8.372164e-07
+0.56750 8.270378e-07
+0.56775 8.159132e-07
+0.56800 8.038715e-07
+0.56825 7.909441e-07
+0.56850 7.771646e-07
+0.56875 7.625683e-07
+0.56900 7.471928e-07
+0.56925 7.310771e-07
+0.56950 7.142622e-07
+0.56975 6.967906e-07
+0.57000 6.787064e-07
+0.57025 6.600549e-07
+0.57050 6.408827e-07
+0.57075 6.212377e-07
+0.57100 6.011686e-07
+0.57125 5.807252e-07
+0.57150 5.599578e-07
+0.57175 5.389177e-07
+0.57200 5.176563e-07
+0.57225 4.962257e-07
+0.57250 4.746780e-07
+0.57275 4.530656e-07
+0.57300 4.314409e-07
+0.57325 4.098559e-07
+0.57350 3.883626e-07
+0.57375 3.670124e-07
+0.57400 3.458563e-07
+0.57425 3.249446e-07
+0.57450 3.043269e-07
+0.57475 2.840516e-07
+0.57500 2.641664e-07
+0.57525 2.447178e-07
+0.57550 2.257509e-07
+0.57575 2.073097e-07
+0.57600 1.894366e-07
+0.57625 1.721723e-07
+0.57650 1.555561e-07
+0.57675 1.396253e-07
+0.57700 1.244157e-07
+0.57725 1.099609e-07
+0.57750 9.629254e-08
+0.57775 8.344031e-08
+0.57800 7.143167e-08
+0.57825 6.029194e-08
+0.57850 5.004415e-08
+0.57875 4.070906e-08
+0.57900 3.230507e-08
+0.57925 2.484821e-08
+0.57950 1.835208e-08
+0.57975 1.282788e-08
+0.58000 8.284296e-09
+0.58025 4.727593e-09
+0.58050 2.161531e-09
+0.58075 5.874002e-10
+0.58100 4.014275e-12
+0.58125 4.077260e-10
+0.58150 1.792443e-09
+0.58175 4.149653e-09
+0.58200 7.468450e-09
+0.58225 1.173557e-08
+0.58250 1.693545e-08
+0.58275 2.305023e-08
+0.58300 3.005986e-08
+0.58325 3.794212e-08
+0.58350 4.667268e-08
+0.58375 5.622522e-08
+0.58400 6.657143e-08
+0.58425 7.768114e-08
+0.58450 8.952237e-08
+0.58475 1.020614e-07
+0.58500 1.152630e-07
+0.58525 1.290903e-07
+0.58550 1.435051e-07
+0.58575 1.584677e-07
+0.58600 1.739373e-07
+0.58625 1.898719e-07
+0.58650 2.062287e-07
+0.58675 2.229638e-07
+0.58700 2.400325e-07
+0.58725 2.573895e-07
+0.58750 2.749889e-07
+0.58775 2.927843e-07
+0.58800 3.107292e-07
+0.58825 3.287766e-07
+0.58850 3.468796e-07
+0.58875 3.649912e-07
+0.58900 3.830647e-07
+0.58925 4.010535e-07
+0.58950 4.189115e-07
+0.58975 4.365929e-07
+0.59000 4.540527e-07
+0.59025 4.712464e-07
+0.59050 4.881306e-07
+0.59075 5.046627e-07
+0.59100 5.208009e-07
+0.59125 5.365048e-07
+0.59150 5.517352e-07
+0.59175 5.664541e-07
+0.59200 5.806249e-07
+0.59225 5.942126e-07
+0.59250 6.071839e-07
+0.59275 6.195067e-07
+0.59300 6.311511e-07
+0.59325 6.420887e-07
+0.59350 6.522931e-07
+0.59375 6.617398e-07
+0.59400 6.704063e-07
+0.59425 6.782721e-07
+0.59450 6.853186e-07
+0.59475 6.915296e-07
+0.59500 6.968908e-07
+0.59525 7.013903e-07
+0.59550 7.050182e-07
+0.59575 7.077668e-07
+0.59600 7.096309e-07
+0.59625 7.106071e-07
+0.59650 7.106945e-07
+0.59675 7.098944e-07
+0.59700 7.082103e-07
+0.59725 7.056479e-07
+0.59750 7.022150e-07
+0.59775 6.979216e-07
+0.59800 6.927799e-07
+0.59825 6.868039e-07
+0.59850 6.800100e-07
+0.59875 6.724164e-07
+0.59900 6.640432e-07
+0.59925 6.549124e-07
+0.59950 6.450479e-07
+0.59975 6.344753e-07
+0.60000 6.232218e-07
+0.60025 6.113165e-07
+0.60050 5.987896e-07
+0.60075 5.856731e-07
+0.60100 5.720003e-07
+0.60125 5.578055e-07
+0.60150 5.431247e-07
+0.60175 5.279945e-07
+0.60200 5.124528e-07
+0.60225 4.965383e-07
+0.60250 4.802905e-07
+0.60275 4.637497e-07
+0.60300 4.469566e-07
+0.60325 4.299527e-07
+0.60350 4.127795e-07
+0.60375 3.954791e-07
+0.60400 3.780936e-07
+0.60425 3.606654e-07
+0.60450 3.432367e-07
+0.60475 3.258495e-07
+0.60500 3.085457e-07
+0.60525 2.913667e-07
+0.60550 2.743538e-07
+0.60575 2.575473e-07
+0.60600 2.409871e-07
+0.60625 2.247124e-07
+0.60650 2.087614e-07
+0.60675 1.931716e-07
+0.60700 1.779792e-07
+0.60725 1.632195e-07
+0.60750 1.489265e-07
+0.60775 1.351329e-07
+0.60800 1.218703e-07
+0.60825 1.091685e-07
+0.60850 9.705615e-08
+0.60875 8.556008e-08
+0.60900 7.470563e-08
+0.60925 6.451644e-08
+0.60950 5.501440e-08
+0.60975 4.621964e-08
+0.61000 3.815045e-08
+0.61025 3.082324e-08
+0.61050 2.425255e-08
+0.61075 1.845097e-08
+0.61100 1.342913e-08
+0.61125 9.195683e-09
+0.61150 5.757309e-09
+0.61175 3.118673e-09
+0.61200 1.282432e-09
+0.61225 2.492418e-10
+0.61250 1.775320e-11
+0.61275 5.846262e-10
+0.61300 1.944543e-09
+0.61325 4.090230e-09
+0.61350 7.012479e-09
+0.61375 1.070018e-08
+0.61400 1.514035e-08
+0.61425 2.031817e-08
+0.61450 2.621706e-08
+0.61475 3.281865e-08
+0.61500 4.010293e-08
+0.61525 4.804823e-08
+0.61550 5.663130e-08
+0.61575 6.582738e-08
+0.61600 7.561029e-08
+0.61625 8.595243e-08
+0.61650 9.682495e-08
+0.61675 1.081977e-07
+0.61700 1.200395e-07
+0.61725 1.323180e-07
+0.61750 1.449998e-07
+0.61775 1.580509e-07
+0.61800 1.714362e-07
+0.61825 1.851199e-07
+0.61850 1.990658e-07
+0.61875 2.132369e-07
+0.61900 2.275959e-07
+0.61925 2.421053e-07
+0.61950 2.567269e-07
+0.61975 2.714229e-07
+0.62000 2.861549e-07
+0.62025 3.008851e-07
+0.62050 3.155753e-07
+0.62075 3.301878e-07
+0.62100 3.446853e-07
+0.62125 3.590307e-07
+0.62150 3.731874e-07
+0.62175 3.871196e-07
+0.62200 4.007921e-07
+0.62225 4.141702e-07
+0.62250 4.272205e-07
+0.62275 4.399102e-07
+0.62300 4.522075e-07
+0.62325 4.640819e-07
+0.62350 4.755039e-07
+0.62375 4.864453e-07
+0.62400 4.968791e-07
+0.62425 5.067797e-07
+0.62450 5.161230e-07
+0.62475 5.248862e-07
+0.62500 5.330482e-07
+0.62525 5.405893e-07
+0.62550 5.474915e-07
+0.62575 5.537384e-07
+0.62600 5.593155e-07
+0.62625 5.642097e-07
+0.62650 5.684099e-07
+0.62675 5.719067e-07
+0.62700 5.746923e-07
+0.62725 5.767609e-07
+0.62750 5.781086e-07
+0.62775 5.787330e-07
+0.62800 5.786338e-07
+0.62825 5.778124e-07
+0.62850 5.762720e-07
+0.62875 5.740175e-07
+0.62900 5.710557e-07
+0.62925 5.673951e-07
+0.62950 5.630460e-07
+0.62975 5.580201e-07
+0.63000 5.523311e-07
+0.63025 5.459941e-07
+0.63050 5.390259e-07
+0.63075 5.314447e-07
+0.63100 5.232703e-07
+0.63125 5.145237e-07
+0.63150 5.052276e-07
+0.63175 4.954057e-07
+0.63200 4.850830e-07
+0.63225 4.742858e-07
+0.63250 4.630415e-07
+0.63275 4.513783e-07
+0.63300 4.393256e-07
+0.63325 4.269136e-07
+0.63350 4.141733e-07
+0.63375 4.011363e-07
+0.63400 3.878351e-07
+0.63425 3.743027e-07
+0.63450 3.605722e-07
+0.63475 3.466777e-07
+0.63500 3.326531e-07
+0.63525 3.185327e-07
+0.63550 3.043511e-07
+0.63575 2.901427e-07
+0.63600 2.759419e-07
+0.63625 2.617831e-07
+0.63650 2.477004e-07
+0.63675 2.337277e-07
+0.63700 2.198982e-07
+0.63725 2.062452e-07
+0.63750 1.928009e-07
+0.63775 1.795972e-07
+0.63800 1.666652e-07
+0.63825 1.540354e-07
+0.63850 1.417371e-07
+0.63875 1.297989e-07
+0.63900 1.182486e-07
+0.63925 1.071126e-07
+0.63950 9.641634e-08
+0.63975 8.618412e-08
+0.64000 7.643895e-08
+0.64025 6.720258e-08
+0.64050 5.849544e-08
+0.64075 5.033654e-08
+0.64100 4.274350e-08
+0.64125 3.573246e-08
+0.64150 2.931805e-08
+0.64175 2.351341e-08
+0.64200 1.833006e-08
+0.64225 1.377799e-08
+0.64250 9.865566e-09
+0.64275 6.599526e-09
+0.64300 3.984988e-09
+0.64325 2.025430e-09
+0.64350 7.226875e-10
+0.64375 7.695262e-11
+0.64400 8.678199e-11
+0.64425 7.491034e-10
+0.64450 2.059229e-09
+0.64475 4.010871e-09
+0.64500 6.596166e-09
+0.64525 9.805693e-09
+0.64550 1.362851e-08
+0.64575 1.805217e-08
+0.64600 2.306279e-08
+0.64625 2.864505e-08
+0.64650 3.478225e-08
+0.64675 4.145637e-08
+0.64700 4.864812e-08
+0.64725 5.633696e-08
+0.64750 6.450117e-08
+0.64775 7.311795e-08
+0.64800 8.216340e-08
+0.64825 9.161266e-08
+0.64850 1.014399e-07
+0.64875 1.116185e-07
+0.64900 1.221210e-07
+0.64925 1.329192e-07
+0.64950 1.439842e-07
+0.64975 1.552868e-07
+0.65000 1.667969e-07
+0.65025 1.784843e-07
+0.65050 1.903183e-07
+0.65075 2.022679e-07
+0.65100 2.143020e-07
+0.65125 2.263894e-07
+0.65150 2.384987e-07
+0.65175 2.505988e-07
+0.65200 2.626586e-07
+0.65225 2.746470e-07
+0.65250 2.865335e-07
+0.65275 2.982878e-07
+0.65300 3.098799e-07
+0.65325 3.212806e-07
+0.65350 3.324610e-07
+0.65375 3.433929e-07
+0.65400 3.540490e-07
+0.65425 3.644024e-07
+0.65450 3.744274e-07
+0.65475 3.840991e-07
+0.65500 3.933933e-07
+0.65525 4.022872e-07
+0.65550 4.107589e-07
+0.65575 4.187876e-07
+0.65600 4.263536e-07
+0.65625 4.334386e-07
+0.65650 4.400254e-07
+0.65675 4.460982e-07
+0.65700 4.516426e-07
+0.65725 4.566452e-07
+0.65750 4.610945e-07
+0.65775 4.649800e-07
+0.65800 4.682929e-07
+0.65825 4.710257e-07
+0.65850 4.731724e-07
+0.65875 4.747287e-07
+0.65900 4.756914e-07
+0.65925 4.760591e-07
+0.65950 4.758317e-07
+0.65975 4.750107e-07
+0.66000 4.735991e-07
+0.66025 4.716013e-07
+0.66050 4.690231e-07
+0.66075 4.658719e-07
+0.66100 4.621563e-07
+0.66125 4.578864e-07
+0.66150 4.530736e-07
+0.66175 4.477308e-07
+0.66200 4.418720e-07
+0.66225 4.355125e-07
+0.66250 4.286686e-07
+0.66275 4.213582e-07
+0.66300 4.136000e-07
+0.66325 4.054138e-07
+0.66350 3.968205e-07
+0.66375 3.878418e-07
+0.66400 3.785004e-07
+0.66425 3.688199e-07
+0.66450 3.588246e-07
+0.66475 3.485394e-07
+0.66500 3.379901e-07
+0.66525 3.272029e-07
+0.66550 3.162046e-07
+0.66575 3.050224e-07
+0.66600 2.936839e-07
+0.66625 2.822170e-07
+0.66650 2.706498e-07
+0.66675 2.590106e-07
+0.66700 2.473279e-07
+0.66725 2.356300e-07
+0.66750 2.239454e-07
+0.66775 2.123023e-07
+0.66800 2.007289e-07
+0.66825 1.892528e-07
+0.66850 1.779017e-07
+0.66875 1.667027e-07
+0.66900 1.556823e-07
+0.66925 1.448667e-07
+0.66950 1.342815e-07
+0.66975 1.239515e-07
+0.67000 1.139010e-07
+0.67025 1.041533e-07
+0.67050 9.473100e-08
+0.67075 8.565585e-08
+0.67100 7.694862e-08
+0.67125 6.862911e-08
+0.67150 6.071611e-08
+0.67175 5.322732e-08
+0.67200 4.617936e-08
+0.67225 3.958767e-08
+0.67250 3.346653e-08
+0.67275 2.782900e-08
+0.67300 2.268689e-08
+0.67325 1.805075e-08
+0.67350 1.392984e-08
+0.67375 1.033210e-08
+0.67400 7.264138e-09
+0.67425 4.731240e-09
+0.67450 2.737333e-09
+0.67475 1.284990e-09
+0.67500 3.754294e-10
+0.67525 8.511962e-12
+0.67550 1.827475e-10
+0.67575 8.953021e-10
+0.67600 2.142009e-09
+0.67625 3.917383e-09
+0.67650 6.214637e-09
+0.67675 9.025706e-09
+0.67700 1.234127e-08
+0.67725 1.615077e-08
+0.67750 2.044246e-08
+0.67775 2.520342e-08
+0.67800 3.041960e-08
+0.67825 3.607587e-08
+0.67850 4.215602e-08
+0.67875 4.864286e-08
+0.67900 5.551822e-08
+0.67925 6.276303e-08
+0.67950 7.035735e-08
+0.67975 7.828042e-08
+0.68000 8.651073e-08
+0.68025 9.502607e-08
+0.68050 1.038036e-07
+0.68075 1.128198e-07
+0.68100 1.220508e-07
+0.68125 1.314722e-07
+0.68150 1.410590e-07
+0.68175 1.507862e-07
+0.68200 1.606282e-07
+0.68225 1.705595e-07
+0.68250 1.805542e-07
+0.68275 1.905864e-07
+0.68300 2.006303e-07
+0.68325 2.106600e-07
+0.68350 2.206497e-07
+0.68375 2.305739e-07
+0.68400 2.404072e-07
+0.68425 2.501247e-07
+0.68450 2.597017e-07
+0.68475 2.691139e-07
+0.68500 2.783376e-07
+0.68525 2.873495e-07
+0.68550 2.961272e-07
+0.68575 3.046485e-07
+0.68600 3.128923e-07
+0.68625 3.208380e-07
+0.68650 3.284660e-07
+0.68675 3.357574e-07
+0.68700 3.426942e-07
+0.68725 3.492594e-07
+0.68750 3.554371e-07
+0.68775 3.612121e-07
+0.68800 3.665705e-07
+0.68825 3.714995e-07
+0.68850 3.759872e-07
+0.68875 3.800230e-07
+0.68900 3.835973e-07
+0.68925 3.867020e-07
+0.68950 3.893299e-07
+0.68975 3.914751e-07
+0.69000 3.931329e-07
+0.69025 3.942999e-07
+0.69050 3.949738e-07
+0.69075 3.951538e-07
+0.69100 3.948400e-07
+0.69125 3.940340e-07
+0.69150 3.927384e-07
+0.69175 3.909573e-07
+0.69200 3.886957e-07
+0.69225 3.859600e-07
+0.69250 3.827577e-07
+0.69275 3.790974e-07
+0.69300 3.749888e-07
+0.69325 3.704428e-07
+0.69350 3.654713e-07
+0.69375 3.600872e-07
+0.69400 3.543045e-07
+0.69425 3.481380e-07
+0.69450 3.416035e-07
+0.69475 3.347177e-07
+0.69500 3.274981e-07
+0.69525 3.199630e-07
+0.69550 3.121313e-07
+0.69575 3.040229e-07
+0.69600 2.956580e-07
+0.69625 2.870575e-07
+0.69650 2.782429e-07
+0.69675 2.692362e-07
+0.69700 2.600596e-07
+0.69725 2.507360e-07
+0.69750 2.412881e-07
+0.69775 2.317395e-07
+0.69800 2.221134e-07
+0.69825 2.124334e-07
+0.69850 2.027232e-07
+0.69875 1.930063e-07
+0.69900 1.833065e-07
+0.69925 1.736472e-07
+0.69950 1.640516e-07
+0.69975 1.545430e-07
+0.70000 1.451440e-07
+0.70025 1.358772e-07
+0.70050 1.267647e-07
+0.70075 1.178280e-07
+0.70100 1.090884e-07
+0.70125 1.005664e-07
+0.70150 9.228192e-08
+0.70175 8.425438e-08
+0.70200 7.650241e-08
+0.70225 6.904389e-08
+0.70250 6.189596e-08
+0.70275 5.507490e-08
+0.70300 4.859616e-08
+0.70325 4.247426e-08
+0.70350 3.672284e-08
+0.70375 3.135452e-08
+0.70400 2.638098e-08
+0.70425 2.181284e-08
+0.70450 1.765972e-08
+0.70475 1.393014e-08
+0.70500 1.063158e-08
+0.70525 7.770393e-09
+0.70550 5.351837e-09
+0.70575 3.380053e-09
+0.70600 1.858053e-09
+0.70625 7.877243e-10
+0.70650 1.698190e-10
+0.70675 3.961606e-12
+0.70700 2.886511e-10
+0.70725 1.021268e-09
+0.70750 2.198083e-09
+0.70775 3.814272e-09
+0.70800 5.863929e-09
+0.70825 8.340084e-09
+0.70850 1.123473e-08
+0.70875 1.453882e-08
+0.70900 1.824234e-08
+0.70925 2.233428e-08
+0.70950 2.680273e-08
+0.70975 3.163484e-08
+0.71000 3.681691e-08
+0.71025 4.233439e-08
+0.71050 4.817196e-08
+0.71075 5.431352e-08
+0.71100 6.074228e-08
+0.71125 6.744077e-08
+0.71150 7.439089e-08
+0.71175 8.157398e-08
+0.71200 8.897085e-08
+0.71225 9.656182e-08
+0.71250 1.043268e-07
+0.71275 1.122453e-07
+0.71300 1.202965e-07
+0.71325 1.284594e-07
+0.71350 1.367126e-07
+0.71375 1.450347e-07
+0.71400 1.534042e-07
+0.71425 1.617994e-07
+0.71450 1.701986e-07
+0.71475 1.785804e-07
+0.71500 1.869232e-07
+0.71525 1.952057e-07
+0.71550 2.034069e-07
+0.71575 2.115058e-07
+0.71600 2.194820e-07
+0.71625 2.273154e-07
+0.71650 2.349860e-07
+0.71675 2.424748e-07
+0.71700 2.497628e-07
+0.71725 2.568319e-07
+0.71750 2.636645e-07
+0.71775 2.702436e-07
+0.71800 2.765528e-07
+0.71825 2.825766e-07
+0.71850 2.883001e-07
+0.71875 2.937094e-07
+0.71900 2.987912e-07
+0.71925 3.035332e-07
+0.71950 3.079238e-07
+0.71975 3.119526e-07
+0.72000 3.156098e-07
+0.72025 3.188869e-07
+0.72050 3.217760e-07
+0.72075 3.242706e-07
+0.72100 3.263648e-07
+0.72125 3.280541e-07
+0.72150 3.293346e-07
+0.72175 3.302039e-07
+0.72200 3.306602e-07
+0.72225 3.307030e-07
+0.72250 3.303328e-07
+0.72275 3.295511e-07
+0.72300 3.283603e-07
+0.72325 3.267641e-07
+0.72350 3.247670e-07
+0.72375 3.223744e-07
+0.72400 3.195929e-07
+0.72425 3.164299e-07
+0.72450 3.128938e-07
+0.72475 3.089940e-07
+0.72500 3.047405e-07
+0.72525 3.001444e-07
+0.72550 2.952175e-07
+0.72575 2.899726e-07
+0.72600 2.844230e-07
+0.72625 2.785828e-07
+0.72650 2.724668e-07
+0.72675 2.660906e-07
+0.72700 2.594702e-07
+0.72725 2.526222e-07
+0.72750 2.455638e-07
+0.72775 2.383126e-07
+0.72800 2.308868e-07
+0.72825 2.233047e-07
+0.72850 2.155852e-07
+0.72875 2.077474e-07
+0.72900 1.998106e-07
+0.72925 1.917943e-07
+0.72950 1.837183e-07
+0.72975 1.756022e-07
+0.73000 1.674660e-07
+0.73025 1.593293e-07
+0.73050 1.512121e-07
+0.73075 1.431339e-07
+0.73100 1.351144e-07
+0.73125 1.271727e-07
+0.73150 1.193279e-07
+0.73175 1.115989e-07
+0.73200 1.040041e-07
+0.73225 9.656145e-08
+0.73250 8.928869e-08
+0.73275 8.220292e-08
+0.73300 7.532081e-08
+0.73325 6.865842e-08
+0.73350 6.223127e-08
+0.73375 5.605421e-08
+0.73400 5.014146e-08
+0.73425 4.450653e-08
+0.73450 3.916220e-08
+0.73475 3.412048e-08
+0.73500 2.939261e-08
+0.73525 2.498902e-08
+0.73550 2.091929e-08
+0.73575 1.719214e-08
+0.73600 1.381543e-08
+0.73625 1.079611e-08
+0.73650 8.140235e-09
+0.73675 5.852918e-09
+0.73700 3.938355e-09
+0.73725 2.399795e-09
+0.73750 1.239544e-09
+0.73775 4.589582e-10
+0.73800 5.844213e-11
+0.73825 3.745362e-11
+0.73850 3.945055e-10
+0.73875 1.127172e-09
+0.73900 2.232099e-09
+0.73925 3.705013e-09
+0.73950 5.540733e-09
+0.73975 7.733190e-09
+0.74000 1.027544e-08
+0.74025 1.315969e-08
+0.74050 1.637732e-08
+0.74075 1.991888e-08
+0.74100 2.377417e-08
+0.74125 2.793221e-08
+0.74150 3.238130e-08
+0.74175 3.710907e-08
+0.74200 4.210245e-08
+0.74225 4.734778e-08
+0.74250 5.283077e-08
+0.74275 5.853662e-08
+0.74300 6.444999e-08
+0.74325 7.055506e-08
+0.74350 7.683559e-08
+0.74375 8.327494e-08
+0.74400 8.985611e-08
+0.74425 9.656182e-08
+0.74450 1.033745e-07
+0.74475 1.102763e-07
+0.74500 1.172494e-07
+0.74525 1.242757e-07
+0.74550 1.313369e-07
+0.74575 1.384149e-07
+0.74600 1.454914e-07
+0.74625 1.525484e-07
+0.74650 1.595678e-07
+0.74675 1.665317e-07
+0.74700 1.734224e-07
+0.74725 1.802224e-07
+0.74750 1.869144e-07
+0.74775 1.934816e-07
+0.74800 1.999075e-07
+0.74825 2.061759e-07
+0.74850 2.122710e-07
+0.74875 2.181778e-07
+0.74900 2.238814e-07
+0.74925 2.293677e-07
+0.74950 2.346232e-07
+0.74975 2.396347e-07
+0.75000 2.443901e-07
+0.75025 2.488775e-07
+0.75050 2.530862e-07
+0.75075 2.570058e-07
+0.75100 2.606269e-07
+0.75125 2.639407e-07
+0.75150 2.669393e-07
+0.75175 2.696157e-07
+0.75200 2.719635e-07
+0.75225 2.739772e-07
+0.75250 2.756523e-07
+0.75275 2.769850e-07
+0.75300 2.779724e-07
+0.75325 2.786126e-07
+0.75350 2.789043e-07
+0.75375 2.788474e-07
+0.75400 2.784424e-07
+0.75425 2.776907e-07
+0.75450 2.765948e-07
+0.75475 2.751578e-07
+0.75500 2.733837e-07
+0.75525 2.712774e-07
+0.75550 2.688446e-07
+0.75575 2.660917e-07
+0.75600 2.630261e-07
+0.75625 2.596557e-07
+0.75650 2.559893e-07
+0.75675 2.520364e-07
+0.75700 2.478072e-07
+0.75725 2.433124e-07
+0.75750 2.385636e-07
+0.75775 2.335728e-07
+0.75800 2.283526e-07
+0.75825 2.229164e-07
+0.75850 2.172776e-07
+0.75875 2.114506e-07
+0.75900 2.054498e-07
+0.75925 1.992903e-07
+0.75950 1.929874e-07
+0.75975 1.865568e-07
+0.76000 1.800145e-07
+0.76025 1.733765e-07
+0.76050 1.666593e-07
+0.76075 1.598794e-07
+0.76100 1.530535e-07
+0.76125 1.461982e-07
+0.76150 1.393304e-07
+0.76175 1.324667e-07
+0.76200 1.256239e-07
+0.76225 1.188184e-07
+0.76250 1.120669e-07
+0.76275 1.053854e-07
+0.76300 9.879020e-08
+0.76325 9.229697e-08
+0.76350 8.592124e-08
+0.76375 7.967819e-08
+0.76400 7.358262e-08
+0.76425 6.764891e-08
+0.76450 6.189103e-08
+0.76475 5.632246e-08
+0.76500 5.095618e-08
+0.76525 4.580461e-08
+0.76550 4.087962e-08
+0.76575 3.619250e-08
+0.76600 3.175388e-08
+0.76625 2.757378e-08
+0.76650 2.366152e-08
+0.76675 2.002575e-08
+0.76700 1.667439e-08
+0.76725 1.361466e-08
+0.76750 1.085299e-08
+0.76775 8.395096e-09
+0.76800 6.245887e-09
+0.76825 4.409507e-09
+0.76850 2.889306e-09
+0.76875 1.687837e-09
+0.76900 8.068514e-10
+0.76925 2.472977e-10
+0.76950 9.320354e-12
+0.76975 9.226179e-11
+0.77000 4.946662e-10
+0.77025 1.214285e-09
+0.77050 2.248085e-09
+0.77075 3.592258e-09
+0.77100 5.242231e-09
+0.77125 7.192680e-09
+0.77150 9.437549e-09
+0.77175 1.197006e-08
+0.77200 1.478274e-08
+0.77225 1.786743e-08
+0.77250 2.121532e-08
+0.77275 2.481696e-08
+0.77300 2.866231e-08
+0.77325 3.274072e-08
+0.77350 3.704101e-08
+0.77375 4.155147e-08
+0.77400 4.625990e-08
+0.77425 5.115362e-08
+0.77450 5.621954e-08
+0.77475 6.144416e-08
+0.77500 6.681365e-08
+0.77525 7.231381e-08
+0.77550 7.793019e-08
+0.77575 8.364807e-08
+0.77600 8.945251e-08
+0.77625 9.532840e-08
+0.77650 1.012605e-07
+0.77675 1.072335e-07
+0.77700 1.132319e-07
+0.77725 1.192403e-07
+0.77750 1.252433e-07
+0.77775 1.312256e-07
+0.77800 1.371718e-07
+0.77825 1.430668e-07
+0.77850 1.488957e-07
+0.77875 1.546436e-07
+0.77900 1.602961e-07
+0.77925 1.658389e-07
+0.77950 1.712580e-07
+0.77975 1.765398e-07
+0.78000 1.816712e-07
+0.78025 1.866393e-07
+0.78050 1.914317e-07
+0.78075 1.960366e-07
+0.78100 2.004425e-07
+0.78125 2.046386e-07
+0.78150 2.086145e-07
+0.78175 2.123605e-07
+0.78200 2.158675e-07
+0.78225 2.191269e-07
+0.78250 2.221308e-07
+0.78275 2.248720e-07
+0.78300 2.273440e-07
+0.78325 2.295409e-07
+0.78350 2.314575e-07
+0.78375 2.330894e-07
+0.78400 2.344328e-07
+0.78425 2.354848e-07
+0.78450 2.362431e-07
+0.78475 2.367061e-07
+0.78500 2.368732e-07
+0.78525 2.367442e-07
+0.78550 2.363198e-07
+0.78575 2.356015e-07
+0.78600 2.345915e-07
+0.78625 2.332925e-07
+0.78650 2.317084e-07
+0.78675 2.298432e-07
+0.78700 2.277021e-07
+0.78725 2.252907e-07
+0.78750 2.226154e-07
+0.78775 2.196831e-07
+0.78800 2.165014e-07
+0.78825 2.130785e-07
+0.78850 2.094232e-07
+0.78875 2.055448e-07
+0.78900 2.014533e-07
+0.78925 1.971590e-07
+0.78950 1.926728e-07
+0.78975 1.880060e-07
+0.79000 1.831703e-07
+0.79025 1.781778e-07
+0.79050 1.730411e-07
+0.79075 1.677730e-07
+0.79100 1.623866e-07
+0.79125 1.568953e-07
+0.79150 1.513126e-07
+0.79175 1.456524e-07
+0.79200 1.399287e-07
+0.79225 1.341555e-07
+0.79250 1.283470e-07
+0.79275 1.225174e-07
+0.79300 1.166811e-07
+0.79325 1.108521e-07
+0.79350 1.050447e-07
+0.79375 9.927294e-08
+0.79400 9.355081e-08
+0.79425 8.789211e-08
+0.79450 8.231043e-08
+0.79475 7.681916e-08
+0.79500 7.143143e-08
+0.79525 6.616007e-08
+0.79550 6.101759e-08
+0.79575 5.601614e-08
+0.79600 5.116752e-08
+0.79625 4.648307e-08
+0.79650 4.197374e-08
+0.79675 3.764998e-08
+0.79700 3.352177e-08
+0.79725 2.959859e-08
+0.79750 2.588935e-08
+0.79775 2.240243e-08
+0.79800 1.914562e-08
+0.79825 1.612615e-08
+0.79850 1.335059e-08
+0.79875 1.082492e-08
+0.79900 8.554483e-09
+0.79925 6.543949e-09
+0.79950 4.797348e-09
+0.79975 3.318033e-09
+0.80000 2.108688e-09
+0.80025 1.171313e-09
+0.80050 5.072257e-10
+0.80075 1.170602e-10
+0.80100 7.655333e-13
+0.80125 1.576078e-10
+0.80150 5.861743e-10
+0.80175 1.284378e-09
+0.80200 2.249465e-09
+0.80225 3.478023e-09
+0.80250 4.965991e-09
+0.80275 6.708672e-09
+0.80300 8.700745e-09
+0.80325 1.093628e-08
+0.80350 1.340876e-08
+0.80375 1.611108e-08
+0.80400 1.903559e-08
+0.80425 2.217412e-08
+0.80450 2.551795e-08
+0.80475 2.905789e-08
+0.80500 3.278431e-08
+0.80525 3.668708e-08
+0.80550 4.075572e-08
+0.80575 4.497931e-08
+0.80600 4.934660e-08
+0.80625 5.384601e-08
+0.80650 5.846564e-08
+0.80675 6.319333e-08
+0.80700 6.801670e-08
+0.80725 7.292313e-08
+0.80750 7.789985e-08
+0.80775 8.293394e-08
+0.80800 8.801235e-08
+0.80825 9.312198e-08
+0.80850 9.824967e-08
+0.80875 1.033823e-07
+0.80900 1.085066e-07
+0.80925 1.136096e-07
+0.80950 1.186782e-07
+0.80975 1.236995e-07
+0.81000 1.286609e-07
+0.81025 1.335498e-07
+0.81050 1.383537e-07
+0.81075 1.430607e-07
+0.81100 1.476588e-07
+0.81125 1.521366e-07
+0.81150 1.564828e-07
+0.81175 1.606866e-07
+0.81200 1.647376e-07
+0.81225 1.686256e-07
+0.81250 1.723411e-07
+0.81275 1.758749e-07
+0.81300 1.792184e-07
+0.81325 1.823632e-07
+0.81350 1.853018e-07
+0.81375 1.880269e-07
+0.81400 1.905321e-07
+0.81425 1.928112e-07
+0.81450 1.948589e-07
+0.81475 1.966702e-07
+0.81500 1.982409e-07
+0.81525 1.995675e-07
+0.81550 2.006467e-07
+0.81575 2.014763e-07
+0.81600 2.020545e-07
+0.81625 2.023801e-07
+0.81650 2.024526e-07
+0.81675 2.022722e-07
+0.81700 2.018396e-07
+0.81725 2.011563e-07
+0.81750 2.002241e-07
+0.81775 1.990458e-07
+0.81800 1.976246e-07
+0.81825 1.959643e-07
+0.81850 1.940693e-07
+0.81875 1.919446e-07
+0.81900 1.895959e-07
+0.81925 1.870291e-07
+0.81950 1.842510e-07
+0.81975 1.812687e-07
+0.82000 1.780897e-07
+0.82025 1.747223e-07
+0.82050 1.711750e-07
+0.82075 1.674567e-07
+0.82100 1.635769e-07
+0.82125 1.595454e-07
+0.82150 1.553722e-07
+0.82175 1.510679e-07
+0.82200 1.466432e-07
+0.82225 1.421091e-07
+0.82250 1.374770e-07
+0.82275 1.327582e-07
+0.82300 1.279646e-07
+0.82325 1.231080e-07
+0.82350 1.182003e-07
+0.82375 1.132536e-07
+0.82400 1.082801e-07
+0.82425 1.032919e-07
+0.82450 9.830126e-08
+0.82475 9.332034e-08
+0.82500 8.836125e-08
+0.82525 8.343601e-08
+0.82550 7.855654e-08
+0.82575 7.373462e-08
+0.82600 6.898185e-08
+0.82625 6.430964e-08
+0.82650 5.972916e-08
+0.82675 5.525134e-08
+0.82700 5.088680e-08
+0.82725 4.664589e-08
+0.82750 4.253859e-08
+0.82775 3.857455e-08
+0.82800 3.476302e-08
+0.82825 3.111287e-08
+0.82850 2.763253e-08
+0.82875 2.432998e-08
+0.82900 2.121276e-08
+0.82925 1.828791e-08
+0.82950 1.556198e-08
+0.82975 1.304101e-08
+0.83000 1.073052e-08
+0.83025 8.635476e-09
+0.83050 6.760309e-09
+0.83075 5.108884e-09
+0.83100 3.684503e-09
+0.83125 2.489890e-09
+0.83150 1.527193e-09
+0.83175 7.979732e-10
+0.83200 3.032090e-10
+0.83225 4.329004e-11
+0.83250 1.801973e-11
+0.83275 2.266169e-10
+0.83300 6.677191e-10
+0.83325 1.339387e-09
+0.83350 2.239113e-09
+0.83375 3.363823e-09
+0.83400 4.709892e-09
+0.83425 6.273152e-09
+0.83450 8.048902e-09
+0.83475 1.003192e-08
+0.83500 1.221649e-08
+0.83525 1.459640e-08
+0.83550 1.716495e-08
+0.83575 1.991502e-08
+0.83600 2.283903e-08
+0.83625 2.592899e-08
+0.83650 2.917651e-08
+0.83675 3.257283e-08
+0.83700 3.610886e-08
+0.83725 3.977516e-08
+0.83750 4.356199e-08
+0.83775 4.745933e-08
+0.83800 5.145693e-08
+0.83825 5.554430e-08
+0.83850 5.971074e-08
+0.83875 6.394540e-08
+0.83900 6.823727e-08
+0.83925 7.257524e-08
+0.83950 7.694809e-08
+0.83975 8.134455e-08
+0.84000 8.575334e-08
+0.84025 9.016314e-08
+0.84050 9.456268e-08
+0.84075 9.894073e-08
+0.84100 1.032861e-07
+0.84125 1.075879e-07
+0.84150 1.118351e-07
+0.84175 1.160169e-07
+0.84200 1.201229e-07
+0.84225 1.241428e-07
+0.84250 1.280663e-07
+0.84275 1.318837e-07
+0.84300 1.355854e-07
+0.84325 1.391623e-07
+0.84350 1.426054e-07
+0.84375 1.459061e-07
+0.84400 1.490564e-07
+0.84425 1.520483e-07
+0.84450 1.548747e-07
+0.84475 1.575285e-07
+0.84500 1.600034e-07
+0.84525 1.622931e-07
+0.84550 1.643923e-07
+0.84575 1.662959e-07
+0.84600 1.679993e-07
+0.84625 1.694985e-07
+0.84650 1.707899e-07
+0.84675 1.718707e-07
+0.84700 1.727382e-07
+0.84725 1.733907e-07
+0.84750 1.738266e-07
+0.84775 1.740453e-07
+0.84800 1.740463e-07
+0.84825 1.738300e-07
+0.84850 1.733972e-07
+0.84875 1.727491e-07
+0.84900 1.718877e-07
+0.84925 1.708153e-07
+0.84950 1.695348e-07
+0.84975 1.680498e-07
+0.85000 1.663641e-07
+0.85025 1.644822e-07
+0.85050 1.624089e-07
+0.85075 1.601496e-07
+0.85100 1.577103e-07
+0.85125 1.550970e-07
+0.85150 1.523165e-07
+0.85175 1.493759e-07
+0.85200 1.462827e-07
+0.85225 1.430446e-07
+0.85250 1.396699e-07
+0.85275 1.361670e-07
+0.85300 1.325448e-07
+0.85325 1.288122e-07
+0.85350 1.249787e-07
+0.85375 1.210538e-07
+0.85400 1.170473e-07
+0.85425 1.129690e-07
+0.85450 1.088292e-07
+0.85475 1.046380e-07
+0.85500 1.004057e-07
+0.85525 9.614288e-08
+0.85550 9.185988e-08
+0.85575 8.756722e-08
+0.85600 8.327540e-08
+0.85625 7.899488e-08
+0.85650 7.473609e-08
+0.85675 7.050934e-08
+0.85700 6.632489e-08
+0.85725 6.219283e-08
+0.85750 5.812311e-08
+0.85775 5.412550e-08
+0.85800 5.020957e-08
+0.85825 4.638467e-08
+0.85850 4.265988e-08
+0.85875 3.904404e-08
+0.85900 3.554568e-08
+0.85925 3.217300e-08
+0.85950 2.893391e-08
+0.85975 2.583594e-08
+0.86000 2.288624e-08
+0.86025 2.009161e-08
+0.86050 1.745842e-08
+0.86075 1.499262e-08
+0.86100 1.269976e-08
+0.86125 1.058491e-08
+0.86150 8.652693e-09
+0.86175 6.907286e-09
+0.86200 5.352370e-09
+0.86225 3.991149e-09
+0.86250 2.826337e-09
+0.86275 1.860150e-09
+0.86300 1.094306e-09
+0.86325 5.300180e-10
+0.86350 1.679928e-10
+0.86375 8.432254e-12
+0.86400 5.103260e-11
+0.86425 2.949865e-10
+0.86450 7.389864e-10
+0.86475 1.381229e-09
+0.86500 2.219420e-09
+0.86525 3.250783e-09
+0.86550 4.472065e-09
+0.86575 5.879548e-09
+0.86600 7.469057e-09
+0.86625 9.235974e-09
+0.86650 1.117525e-08
+0.86675 1.328141e-08
+0.86700 1.554859e-08
+0.86725 1.797053e-08
+0.86750 2.054060e-08
+0.86775 2.325180e-08
+0.86800 2.609682e-08
+0.86825 2.906802e-08
+0.86850 3.215747e-08
+0.86875 3.535695e-08
+0.86900 3.865800e-08
+0.86925 4.205192e-08
+0.86950 4.552979e-08
+0.86975 4.908251e-08
+0.87000 5.270082e-08
+0.87025 5.637531e-08
+0.87050 6.009645e-08
+0.87075 6.385462e-08
+0.87100 6.764013e-08
+0.87125 7.144324e-08
+0.87150 7.525420e-08
+0.87175 7.906325e-08
+0.87200 8.286066e-08
+0.87225 8.663676e-08
+0.87250 9.038195e-08
+0.87275 9.408673e-08
+0.87300 9.774171e-08
+0.87325 1.013377e-07
+0.87350 1.048655e-07
+0.87375 1.083165e-07
+0.87400 1.116818e-07
+0.87425 1.149530e-07
+0.87450 1.181221e-07
+0.87475 1.211810e-07
+0.87500 1.241222e-07
+0.87525 1.269384e-07
+0.87550 1.296227e-07
+0.87575 1.321684e-07
+0.87600 1.345692e-07
+0.87625 1.368193e-07
+0.87650 1.389131e-07
+0.87675 1.408457e-07
+0.87700 1.426123e-07
+0.87725 1.442086e-07
+0.87750 1.456310e-07
+0.87775 1.468759e-07
+0.87800 1.479405e-07
+0.87825 1.488222e-07
+0.87850 1.495192e-07
+0.87875 1.500299e-07
+0.87900 1.503532e-07
+0.87925 1.504885e-07
+0.87950 1.504356e-07
+0.87975 1.501951e-07
+0.88000 1.497675e-07
+0.88025 1.491543e-07
+0.88050 1.483571e-07
+0.88075 1.473782e-07
+0.88100 1.462203e-07
+0.88125 1.448862e-07
+0.88150 1.433798e-07
+0.88175 1.417047e-07
+0.88200 1.398655e-07
+0.88225 1.378668e-07
+0.88250 1.357138e-07
+0.88275 1.334120e-07
+0.88300 1.309673e-07
+0.88325 1.283858e-07
+0.88350 1.256743e-07
+0.88375 1.228394e-07
+0.88400 1.198883e-07
+0.88425 1.168286e-07
+0.88450 1.136677e-07
+0.88475 1.104137e-07
+0.88500 1.070747e-07
+0.88525 1.036590e-07
+0.88550 1.001751e-07
+0.88575 9.663163e-08
+0.88600 9.303736e-08
+0.88625 8.940118e-08
+0.88650 8.573205e-08
+0.88675 8.203901e-08
+0.88700 7.833112e-08
+0.88725 7.461746e-08
+0.88750 7.090713e-08
+0.88775 6.720916e-08
+0.88800 6.353256e-08
+0.88825 5.988625e-08
+0.88850 5.627907e-08
+0.88875 5.271972e-08
+0.88900 4.921679e-08
+0.88925 4.577869e-08
+0.88950 4.241365e-08
+0.88975 3.912971e-08
+0.89000 3.593468e-08
+0.89025 3.283614e-08
+0.89050 2.984140e-08
+0.89075 2.695752e-08
+0.89100 2.419122e-08
+0.89125 2.154897e-08
+0.89150 1.903688e-08
+0.89175 1.666072e-08
+0.89200 1.442592e-08
+0.89225 1.233756e-08
+0.89250 1.040030e-08
+0.89275 8.618466e-09
+0.89300 6.995944e-09
+0.89325 5.536234e-09
+0.89350 4.242417e-09
+0.89375 3.117156e-09
+0.89400 2.162686e-09
+0.89425 1.380810e-09
+0.89450 7.728982e-10
+0.89475 3.398838e-10
+0.89500 8.226080e-11
+0.89525 8.502828e-14
+0.89550 9.297459e-11
+0.89575 3.601118e-10
+0.89600 8.002461e-10
+0.89625 1.411698e-09
+0.89650 2.192366e-09
+0.89675 3.139728e-09
+0.89700 4.250856e-09
+0.89725 5.522416e-09
+0.89750 6.950684e-09
+0.89775 8.531553e-09
+0.89800 1.026054e-08
+0.89825 1.213282e-08
+0.89850 1.414319e-08
+0.89875 1.628614e-08
+0.89900 1.855584e-08
+0.89925 2.094614e-08
+0.89950 2.345062e-08
+0.89975 2.606258e-08
+0.90000 2.877508e-08
+0.90025 3.158092e-08
+0.90050 3.447271e-08
+0.90075 3.744285e-08
+0.90100 4.048355e-08
+0.90125 4.358689e-08
+0.90150 4.674478e-08
+0.90175 4.994904e-08
+0.90200 5.319136e-08
+0.90225 5.646340e-08
+0.90250 5.975672e-08
+0.90275 6.306287e-08
+0.90300 6.637337e-08
+0.90325 6.967977e-08
+0.90350 7.297364e-08
+0.90375 7.624659e-08
+0.90400 7.949032e-08
+0.90425 8.269660e-08
+0.90450 8.585732e-08
+0.90475 8.896451e-08
+0.90500 9.201035e-08
+0.90525 9.498719e-08
+0.90550 9.788755e-08
+0.90575 1.007042e-07
+0.90600 1.034301e-07
+0.90625 1.060584e-07
+0.90650 1.085826e-07
+0.90675 1.109966e-07
+0.90700 1.132942e-07
+0.90725 1.154698e-07
+0.90750 1.175182e-07
+0.90775 1.194342e-07
+0.90800 1.212132e-07
+0.90825 1.228510e-07
+0.90850 1.243434e-07
+0.90875 1.256869e-07
+0.90900 1.268784e-07
+0.90925 1.279150e-07
+0.90950 1.287943e-07
+0.90975 1.295142e-07
+0.91000 1.300731e-07
+0.91025 1.304698e-07
+0.91050 1.307035e-07
+0.91075 1.307738e-07
+0.91100 1.306807e-07
+0.91125 1.304245e-07
+0.91150 1.300062e-07
+0.91175 1.294269e-07
+0.91200 1.286882e-07
+0.91225 1.277922e-07
+0.91250 1.267413e-07
+0.91275 1.255382e-07
+0.91300 1.241862e-07
+0.91325 1.226887e-07
+0.91350 1.210496e-07
+0.91375 1.192731e-07
+0.91400 1.173639e-07
+0.91425 1.153267e-07
+0.91450 1.131668e-07
+0.91475 1.108897e-07
+0.91500 1.085011e-07
+0.91525 1.060070e-07
+0.91550 1.034138e-07
+0.91575 1.007279e-07
+0.91600 9.795609e-08
+0.91625 9.510530e-08
+0.91650 9.218265e-08
+0.91675 8.919541e-08
+0.91700 8.615100e-08
+0.91725 8.305698e-08
+0.91750 7.992100e-08
+0.91775 7.675081e-08
+0.91800 7.355423e-08
+0.91825 7.033913e-08
+0.91850 6.711339e-08
+0.91875 6.388493e-08
+0.91900 6.066163e-08
+0.91925 5.745136e-08
+0.91950 5.426194e-08
+0.91975 5.110111e-08
+0.92000 4.797652e-08
+0.92025 4.489574e-08
+0.92050 4.186618e-08
+0.92075 3.889513e-08
+0.92100 3.598971e-08
+0.92125 3.315686e-08
+0.92150 3.040332e-08
+0.92175 2.773563e-08
+0.92200 2.516009e-08
+0.92225 2.268277e-08
+0.92250 2.030946e-08
+0.92275 1.804570e-08
+0.92300 1.589674e-08
+0.92325 1.386752e-08
+0.92350 1.196268e-08
+0.92375 1.018654e-08
+0.92400 8.543095e-09
+0.92425 7.035986e-09
+0.92450 5.668517e-09
+0.92475 4.443634e-09
+0.92500 3.363919e-09
+0.92525 2.431590e-09
+0.92550 1.648489e-09
+0.92575 1.016083e-09
+0.92600 5.354617e-10
+0.92625 2.073314e-10
+0.92650 3.201756e-11
+0.92675 9.463626e-12
+0.92700 1.392321e-10
+0.92725 4.205065e-10
+0.92750 8.520941e-10
+0.92775 1.432430e-09
+0.92800 2.159581e-09
+0.92825 3.031253e-09
+0.92850 4.044795e-09
+0.92875 5.197209e-09
+0.92900 6.485156e-09
+0.92925 7.904967e-09
+0.92950 9.452652e-09
+0.92975 1.112391e-08
+0.93000 1.291414e-08
+0.93025 1.481846e-08
+0.93050 1.683170e-08
+0.93075 1.894845e-08
+0.93100 2.116304e-08
+0.93125 2.346956e-08
+0.93150 2.586191e-08
+0.93175 2.833376e-08
+0.93200 3.087862e-08
+0.93225 3.348981e-08
+0.93250 3.616051e-08
+0.93275 3.888377e-08
+0.93300 4.165252e-08
+0.93325 4.445959e-08
+0.93350 4.729773e-08
+0.93375 5.015963e-08
+0.93400 5.303793e-08
+0.93425 5.592527e-08
+0.93450 5.881424e-08
+0.93475 6.169749e-08
+0.93500 6.456766e-08
+0.93525 6.741746e-08
+0.93550 7.023966e-08
+0.93575 7.302712e-08
+0.93600 7.577279e-08
+0.93625 7.846977e-08
+0.93650 8.111125e-08
+0.93675 8.369061e-08
+0.93700 8.620138e-08
+0.93725 8.863729e-08
+0.93750 9.099226e-08
+0.93775 9.326043e-08
+0.93800 9.543616e-08
+0.93825 9.751407e-08
+0.93850 9.948902e-08
+0.93875 1.013562e-07
+0.93900 1.031109e-07
+0.93925 1.047489e-07
+0.93950 1.062662e-07
+0.93975 1.076591e-07
+0.94000 1.089243e-07
+0.94025 1.100587e-07
+0.94050 1.110596e-07
+0.94075 1.119246e-07
+0.94100 1.126517e-07
+0.94125 1.132393e-07
+0.94150 1.136860e-07
+0.94175 1.139908e-07
+0.94200 1.141531e-07
+0.94225 1.141728e-07
+0.94250 1.140498e-07
+0.94275 1.137846e-07
+0.94300 1.133781e-07
+0.94325 1.128315e-07
+0.94350 1.121461e-07
+0.94375 1.113239e-07
+0.94400 1.103671e-07
+0.94425 1.092782e-07
+0.94450 1.080600e-07
+0.94475 1.067158e-07
+0.94500 1.052489e-07
+0.94525 1.036632e-07
+0.94550 1.019627e-07
+0.94575 1.001518e-07
+0.94600 9.823498e-08
+0.94625 9.621721e-08
+0.94650 9.410358e-08
+0.94675 9.189940e-08
+0.94700 8.961022e-08
+0.94725 8.724179e-08
+0.94750 8.480004e-08
+0.94775 8.229108e-08
+0.94800 7.972116e-08
+0.94825 7.709668e-08
+0.94850 7.442416e-08
+0.94875 7.171024e-08
+0.94900 6.896161e-08
+0.94925 6.618508e-08
+0.94950 6.338749e-08
+0.94975 6.057573e-08
+0.95000 5.775668e-08
+0.95025 5.493728e-08
+0.95050 5.212440e-08
+0.95075 4.932491e-08
+0.95100 4.654564e-08
+0.95125 4.379332e-08
+0.95150 4.107463e-08
+0.95175 3.839615e-08
+0.95200 3.576433e-08
+0.95225 3.318550e-08
+0.95250 3.066585e-08
+0.95275 2.821139e-08
+0.95300 2.582798e-08
+0.95325 2.352128e-08
+0.95350 2.129673e-08
+0.95375 1.915958e-08
+0.95400 1.711484e-08
+0.95425 1.516728e-08
+0.95450 1.332141e-08
+0.95475 1.158149e-08
+0.95500 9.951496e-09
+0.95525 8.435128e-09
+0.95550 7.035793e-09
+0.95575 5.756599e-09
+0.95600 4.600346e-09
+0.95625 3.569524e-09
+0.95650 2.666304e-09
+0.95675 1.892533e-09
+0.95700 1.249733e-09
+0.95725 7.390953e-10
+0.95750 3.614787e-10
+0.95775 1.174088e-10
+0.95800 7.076898e-12
+0.95825 3.034006e-11
+0.95850 1.867225e-10
+0.95875 4.754174e-10
+0.95900 8.952894e-10
+0.95925 1.444878e-09
+0.95950 2.122404e-09
+0.95975 2.925769e-09
+0.96000 3.852568e-09
+0.96025 4.900094e-09
+0.96050 6.065340e-09
+0.96075 7.345017e-09
+0.96100 8.735553e-09
+0.96125 1.023311e-08
+0.96150 1.183359e-08
+0.96175 1.353264e-08
+0.96200 1.532569e-08
+0.96225 1.720792e-08
+0.96250 1.917432e-08
+0.96275 2.121965e-08
+0.96300 2.333853e-08
+0.96325 2.552536e-08
+0.96350 2.777442e-08
+0.96375 3.007982e-08
+0.96400 3.243555e-08
+0.96425 3.483550e-08
+0.96450 3.727345e-08
+0.96475 3.974309e-08
+0.96500 4.223807e-08
+0.96525 4.475196e-08
+0.96550 4.727831e-08
+0.96575 4.981066e-08
+0.96600 5.234254e-08
+0.96625 5.486750e-08
+0.96650 5.737911e-08
+0.96675 5.987099e-08
+0.96700 6.233684e-08
+0.96725 6.477041e-08
+0.96750 6.716557e-08
+0.96775 6.951629e-08
+0.96800 7.181664e-08
+0.96825 7.406087e-08
+0.96850 7.624335e-08
+0.96875 7.835863e-08
+0.96900 8.040143e-08
+0.96925 8.236668e-08
+0.96950 8.424949e-08
+0.96975 8.604520e-08
+0.97000 8.774938e-08
+0.97025 8.935783e-08
+0.97050 9.086660e-08
+0.97075 9.227200e-08
+0.97100 9.357060e-08
+0.97125 9.475925e-08
+0.97150 9.583508e-08
+0.97175 9.679551e-08
+0.97200 9.763824e-08
+0.97225 9.836128e-08
+0.97250 9.896295e-08
+0.97275 9.944186e-08
+0.97300 9.979694e-08
+0.97325 1.000274e-07
+0.97350 1.001329e-07
+0.97375 1.001131e-07
+0.97400 9.996842e-08
+0.97425 9.969919e-08
+0.97450 9.930625e-08
+0.97475 9.879071e-08
+0.97500 9.815398e-08
+0.97525 9.739777e-08
+0.97550 9.652408e-08
+0.97575 9.553522e-08
+0.97600 9.443375e-08
+0.97625 9.322253e-08
+0.97650 9.190469e-08
+0.97675 9.048360e-08
+0.97700 8.896290e-08
+0.97725 8.734646e-08
+0.97750 8.563838e-08
+0.97775 8.384301e-08
+0.97800 8.196485e-08
+0.97825 8.000866e-08
+0.97850 7.797935e-08
+0.97875 7.588201e-08
+0.97900 7.372189e-08
+0.97925 7.150438e-08
+0.97950 6.923502e-08
+0.97975 6.691944e-08
+0.98000 6.456341e-08
+0.98025 6.217277e-08
+0.98050 5.975342e-08
+0.98075 5.731134e-08
+0.98100 5.485255e-08
+0.98125 5.238311e-08
+0.98150 4.990907e-08
+0.98175 4.743650e-08
+0.98200 4.497144e-08
+0.98225 4.251991e-08
+0.98250 4.008788e-08
+0.98275 3.768126e-08
+0.98300 3.530589e-08
+0.98325 3.296750e-08
+0.98350 3.067175e-08
+0.98375 2.842414e-08
+0.98400 2.623009e-08
+0.98425 2.409482e-08
+0.98450 2.202343e-08
+0.98475 2.002085e-08
+0.98500 1.809181e-08
+0.98525 1.624085e-08
+0.98550 1.447233e-08
+0.98575 1.279035e-08
+0.98600 1.119884e-08
+0.98625 9.701456e-09
+0.98650 8.301627e-09
+0.98675 7.002531e-09
+0.98700 5.807088e-09
+0.98725 4.717951e-09
+0.98750 3.737505e-09
+0.98775 2.867858e-09
+0.98800 2.110838e-09
+0.98825 1.467988e-09
+0.98850 9.405618e-10
+0.98875 5.295248e-10
+0.98900 2.355488e-10
+0.98925 5.901237e-11
+0.98950 3.705021e-16
+0.98975 5.830431e-11
+0.99000 2.334234e-10
+0.99025 5.245664e-10
+0.99050 9.306542e-10
+0.99075 1.450323e-09
+0.99100 2.081929e-09
+0.99125 2.823551e-09
+0.99150 3.673000e-09
+0.99175 4.627818e-09
+0.99200 5.685293e-09
+0.99225 6.842461e-09
+0.99250 8.096116e-09
+0.99275 9.442815e-09
+0.99300 1.087889e-08
+0.99325 1.240047e-08
+0.99350 1.400345e-08
+0.99375 1.568357e-08
+0.99400 1.743634e-08
+0.99425 1.925714e-08
+0.99450 2.114117e-08
+0.99475 2.308347e-08
+0.99500 2.507897e-08
+0.99525 2.712246e-08
+0.99550 2.920863e-08
+0.99575 3.133208e-08
+0.99600 3.348730e-08
+0.99625 3.566874e-08
+0.99650 3.787079e-08
+0.99675 4.008778e-08
+0.99700 4.231406e-08
+0.99725 4.454391e-08
+0.99750 4.677166e-08
+0.99775 4.899162e-08
+0.99800 5.119817e-08
+0.99825 5.338570e-08
+0.99850 5.554869e-08
+0.99875 5.768165e-08
+0.99900 5.977922e-08
+0.99925 6.183611e-08
+0.99950 6.384717e-08
+0.99975 6.580734e-08
+1.00000 6.771172e-08
diff --git a/mcstas-comps/examples/Tests_samples/Test_SANS/Test_SANS.instr b/mcstas-comps/examples/Tests_samples/Test_SANS/Test_SANS.instr
index 5e88735ade..6c2f8ce793 100644
--- a/mcstas-comps/examples/Tests_samples/Test_SANS/Test_SANS.instr
+++ b/mcstas-comps/examples/Tests_samples/Test_SANS/Test_SANS.instr
@@ -23,7 +23,7 @@
* SANSNanodiscs SAMPLE=5
* SANSNanodiscsWithTags SAMPLE=6
* SANSPDB SAMPLE=7 (very slow, rather use SANSPDBFast)
-* SANSCurve SAMPLE=8 (inactivated)
+* SANSCurve SAMPLE=8 (mock sphere curve, R=100 AA: reproduces SAMPLE=0)
* SANSNanodiscsFast SAMPLE=9
* SANSNanodiscsWithTagsFast SAMPLE=10
* SANSPDBFast SAMPLE=11
@@ -36,6 +36,7 @@
* %Test: SAMPLE=5 Ncount=1e6 Detector: PSDMonitor_I=2.714e-09
* %Test: SAMPLE=6 Ncount=1e6 Detector: PSDMonitor_I=2.051e-09
* %Test: SAMPLE=7 Ncount=1e5 Detector: PSDMonitor_I=1.687e-09
+* %Test: SAMPLE=8 Ncount=1e7 Detector: PSDMonitor_I=2.861e-09
* %Test: SAMPLE=9 Detector: PSDMonitor_I=2.071e-09
* %Test: SAMPLE=10 Detector: PSDMonitor_I=2.079e-09
* %Test: SAMPLE=11 Detector: PSDMonitor_I=1.642e-09
@@ -163,14 +164,15 @@ COMPONENT Sample7 = SANSPDB(
PDBFilepath = "3v03.pdb")
WHEN (SAMPLE==7) AT (0,0,0) RELATIVE SamplePos
-//COMPONENT Sample8 = SANSCurve(
-// FileWithCurve = "Curve.mcp",
-// xwidth = 0.1,
-// yheight = 0.1,
-// zdepth = 0.1,
-// SampleToDetectorDistance = DistanceFromSampleToDetector,
-// DetectorRadius = RadiusOfDetector)
-//WHEN (SAMPLE==8) AT (0,0,0) RELATIVE SamplePos
+COMPONENT Sample8 = SANSCurve(
+ FileWithCurve = "SANSCurve_spheres_R100.dat",
+ Volume = 4.0 / 3.0 * PI * 100.0 * 100.0 * 100.0,
+ xwidth = 0.1,
+ yheight = 0.1,
+ zdepth = 0.1,
+ SampleToDetectorDistance = DistanceFromSampleToDetector,
+ DetectorRadius = RadiusOfDetector)
+WHEN (SAMPLE==8) AT (0,0,0) RELATIVE SamplePos
COMPONENT Sample9 = SANSNanodiscsFast(
xwidth = 0.1,
diff --git a/mcstas-comps/examples/Tests_samples/Test_SiC/README.md b/mcstas-comps/examples/Tests_samples/Test_SiC/README.md
new file mode 100644
index 0000000000..451e64d297
--- /dev/null
+++ b/mcstas-comps/examples/Tests_samples/Test_SiC/README.md
@@ -0,0 +1,43 @@
+# The `Test_SiC` Instrument
+
+*McStas: Reflectometry cross-check of SiC against Multilayer_Sample.*
+
+## Identification
+
+- **Site:** Tests_samples
+- **Author:** Peter Willendrup
+- **Origin:** DTU
+- **Date:** November 2026
+
+## Description
+
+```text
+A white, near-parallel beam hits a flat sample at grazing angle theta. The
+reflectivity is R(lambda) = L_out/L_in with q = 4 pi sin(theta)/lambda.
+SiC (sample=0) uses the Born approximation for its built-in 80 AA layer on Si;
+Multilayer_Sample (sample=1) uses the exact Parratt formalism for the same
+profile. Both reproduce their analytic curves; the Born approximation is
+20-35% below Parratt for q up to about 0.06 AA^-1. Non-reflected neutrons are
+absorbed.
+```
+
+## Examples
+
+- **Test: sample=0 Detector: L_out_I=1.23219e-12**
+- **Test: sample=1 Detector: L_out_I=1.69897e-12**
+
+## Input parameters
+
+Parameters in **boldface** are required; the others are optional.
+
+| Name | Unit | Description | Default |
+|------|------|-------------|---------|
+| sample | 1 | 0: SiC, 1: Multilayer_Sample | 0 |
+| theta | deg | Grazing angle of incidence | 1 |
+| L | m | Sample length along the beam | 0.2 |
+
+## Links
+
+- [Source code](Test_SiC.instr) for `Test_SiC.instr`.
+
+---
diff --git a/mcstas-comps/examples/Tests_samples/Test_SiC/Test_SiC.instr b/mcstas-comps/examples/Tests_samples/Test_SiC/Test_SiC.instr
new file mode 100644
index 0000000000..1abc1d9d14
--- /dev/null
+++ b/mcstas-comps/examples/Tests_samples/Test_SiC/Test_SiC.instr
@@ -0,0 +1,68 @@
+/*******************************************************************************
+* Instrument: Test_SiC
+*
+* %I
+* Written by: Peter Willendrup
+* Date: November 2026
+* Origin: DTU
+* %INSTRUMENT_SITE: Tests_samples
+*
+* Reflectometry cross-check of SiC against Multilayer_Sample.
+*
+* %D
+* A white, near-parallel beam hits a flat sample at grazing angle theta. The
+* reflectivity is R(lambda) = L_out/L_in with q = 4 pi sin(theta)/lambda.
+* SiC (sample=0) uses the Born approximation for its built-in 80 AA layer on Si;
+* Multilayer_Sample (sample=1) uses the exact Parratt formalism for the same
+* profile. Both reproduce their analytic curves; the Born approximation is
+* 20-35% below Parratt for q up to about 0.06 AA^-1. Non-reflected neutrons are
+* absorbed.
+*
+* %Test: sample=0 Detector: L_out_I=1.23219e-12
+* %Test: sample=1 Detector: L_out_I=1.69897e-12
+*
+* %P
+* sample: [1] 0: SiC, 1: Multilayer_Sample
+* theta: [deg] Grazing angle of incidence
+* L: [m] Sample length along the beam
+*
+* %E
+*******************************************************************************/
+DEFINE INSTRUMENT Test_SiC(int sample=0, theta=1, L=0.2)
+DECLARE
+%{
+ double xc, zc;
+%}
+INITIALIZE
+%{
+ xc = 0.5 * L * sin (DEG2RAD * theta);
+ zc = 0.5 * L * cos (DEG2RAD * theta);
+%}
+TRACE
+COMPONENT origin = Progress_bar()
+AT (0, 0, 0) ABSOLUTE
+COMPONENT source = Source_div(xwidth=0.002, yheight=0.01, focus_aw=1e-4, focus_ah=1e-4, lambda0=10.75, dlambda=9.25)
+AT (xc, 0, 0) RELATIVE origin
+COMPONENT L_in = L_monitor(xwidth=0.02, yheight=0.02, nL=74, Lmin=1.5, Lmax=20, restore_neutron=1)
+AT (xc, 0, 0.5) RELATIVE origin
+COMPONENT sample_pos = Arm()
+AT (0, 0, 1) RELATIVE origin
+COMPONENT sic = SiC(xlength=L, yheight=0.02)
+WHEN (sample==0) AT (0, -0.01, 0) RELATIVE sample_pos ROTATED (0, -(90-theta), 0) RELATIVE sample_pos
+EXTEND %{
+ if (!SCATTERED) ABSORB;
+%}
+COMPONENT ml_arm = Arm()
+AT (xc, 0, zc) RELATIVE sample_pos ROTATED (0, theta, 0) RELATIVE sample_pos
+COMPONENT ml = Multilayer_Sample(xwidth=0.02, zlength=L, nlayer=1, sldPar={0, 7.3106e-6, 2.073e-6}, dPar={80}, sigmaPar={0, 0})
+WHEN (sample==1) AT (0, 0, 0) RELATIVE ml_arm ROTATED (0, 0, 90) RELATIVE ml_arm
+EXTEND %{
+ if (!SCATTERED) ABSORB;
+%}
+COMPONENT det_arm = Arm()
+AT (xc, 0, zc) RELATIVE sample_pos ROTATED (0, 2*theta, 0) RELATIVE sample_pos
+COMPONENT psd = PSD_monitor(xwidth=0.05, yheight=0.05, nx=50, ny=50, restore_neutron=1)
+AT (0, 0, 0.5) RELATIVE det_arm
+COMPONENT L_out = L_monitor(xwidth=0.02, yheight=0.02, nL=74, Lmin=1.5, Lmax=20)
+AT (0, 0, 0.5) RELATIVE det_arm
+END
diff --git a/mcstas-comps/examples/Tests_sources/Test_Source_adapt/README.md b/mcstas-comps/examples/Tests_sources/Test_Source_adapt/README.md
new file mode 100644
index 0000000000..00b32a3302
--- /dev/null
+++ b/mcstas-comps/examples/Tests_sources/Test_Source_adapt/README.md
@@ -0,0 +1,39 @@
+# The `Test_Source_adapt` Instrument
+
+*McStas: Cross-check of Source_adapt/Adapt_check against Source_simple*
+
+## Identification
+
+- **Site:** Tests_sources
+- **Author:** Peter Willendrup (with AI assistance)
+- **Origin:** DTU
+- **Date:** November 2026
+
+## Description
+
+```text
+A small off-centre slit cuts out a small part of the emitted phase space.
+With adapt=1, Source_adapt learns to emit into that part (Adapt_check placed
+after the slit); with adapt=0, Source_simple with the
+same geometry and flux is used. The intensity after the
+slit must be the same.
+```
+
+## Examples
+
+- **Test: adapt=0 Detector: lmon_I=2.49443e+08**
+- **Test: adapt=1 Detector: lmon_I=2.50157e+08**
+
+## Input parameters
+
+Parameters in **boldface** are required; the others are optional.
+
+| Name | Unit | Description | Default |
+|------|------|-------------|---------|
+| adapt | 1 | 0: Source_simple, 1: Source_adapt | 1 |
+
+## Links
+
+- [Source code](Test_Source_adapt.instr) for `Test_Source_adapt.instr`.
+
+---
diff --git a/mcstas-comps/examples/Tests_sources/Test_Source_adapt/Test_Source_adapt.instr b/mcstas-comps/examples/Tests_sources/Test_Source_adapt/Test_Source_adapt.instr
new file mode 100644
index 0000000000..74b2550cae
--- /dev/null
+++ b/mcstas-comps/examples/Tests_sources/Test_Source_adapt/Test_Source_adapt.instr
@@ -0,0 +1,51 @@
+/*******************************************************************************
+* Instrument: Test_Source_adapt
+*
+* %I
+* Written by: Peter Willendrup (with AI assistance)
+* Date: November 2026
+* Origin: DTU
+* %INSTRUMENT_SITE: Tests_sources
+*
+* Cross-check of Source_adapt/Adapt_check against Source_simple
+*
+* %D
+* A small off-centre slit cuts out a small part of the emitted phase space.
+* With adapt=1, Source_adapt learns to emit into that part (Adapt_check placed
+* after the slit); with adapt=0, Source_simple with the
+* same geometry and flux is used. The intensity after the
+* slit must be the same.
+*
+* %Test: adapt=0 Detector: lmon_I=2.49443e+08
+* %Test: adapt=1 Detector: lmon_I=2.50157e+08
+*
+* %P
+* adapt: [1] 0: Source_simple, 1: Source_adapt
+*
+* %E
+*******************************************************************************/
+DEFINE INSTRUMENT Test_Source_adapt(int adapt=1)
+
+TRACE
+
+COMPONENT origin = Progress_bar()
+AT (0, 0, 0) RELATIVE ABSOLUTE
+
+COMPONENT src_adapt = Source_adapt(xwidth=0.1, yheight=0.05, dist=2, focus_xw=0.05, focus_yh=0.05,
+ lambda0=5, dlambda=2, flux=1e10, N_E=20, N_xpos=20, N_xdiv=20, alpha=0.25, beta=0.25)
+WHEN (adapt) AT (0, 0, 0) RELATIVE origin
+
+COMPONENT src_simple = Source_simple(xwidth=0.1, yheight=0.05, dist=2, focus_xw=0.05, focus_yh=0.05,
+ lambda0=5, dlambda=2, flux=1e10)
+WHEN (!adapt) AT (0, 0, 0) RELATIVE origin
+
+COMPONENT slit = Slit(xmin=0.01, xmax=0.02, ymin=-0.025, ymax=0.025)
+AT (0, 0, 2) RELATIVE origin
+
+COMPONENT check = Adapt_check(source_comp="src_adapt")
+WHEN (adapt) AT (0, 0, 2.001) RELATIVE origin
+
+COMPONENT lmon = L_monitor(xwidth=0.1, yheight=0.1, nL=50, Lmin=2.5, Lmax=7.5, filename="lmon")
+AT (0, 0, 2.002) RELATIVE origin
+
+END
diff --git a/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/README.md b/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/README.md
new file mode 100644
index 0000000000..1e2ebfafb0
--- /dev/null
+++ b/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/README.md
@@ -0,0 +1,37 @@
+# The `Test_Source_multi_surfaces` Instrument
+
+*McStas: Test of Source_multi_surfaces with mock spectra*
+
+## Identification
+
+- **Site:** Tests_sources
+- **Author:** Peter Willendrup (with AI assistance)
+- **Origin:** DTU
+- **Date:** November 2026
+
+## Description
+
+```text
+Source_multi_surfaces with 2x2 subareas, each with a flat mock spectrum of
+constant intensity C = 1, 2, 3, 4 (Source_multi_surfaces_spec_k.dat, listed in
+Source_multi_surfaces_files.dat). A monitor covering the target records
+I = mean(C) * (xw/dist) * (yh/dist) = 2.5 * 6.25e-4 = 1.5625e-3.
+```
+
+## Examples
+
+- **Test: Detector: psd_I=0.00156238**
+
+## Input parameters
+
+Parameters in **boldface** are required; the others are optional.
+
+| Name | Unit | Description | Default |
+|------|------|-------------|---------|
+| files | str | File listing the spectrum file of each subarea | "Source_multi_surfaces_files.dat" |
+
+## Links
+
+- [Source code](Test_Source_multi_surfaces.instr) for `Test_Source_multi_surfaces.instr`.
+
+---
diff --git a/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Source_multi_surfaces_files.dat b/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Source_multi_surfaces_files.dat
new file mode 100644
index 0000000000..58e056fb63
--- /dev/null
+++ b/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Source_multi_surfaces_files.dat
@@ -0,0 +1,2 @@
+Source_multi_surfaces_spec_1.dat Source_multi_surfaces_spec_2.dat
+Source_multi_surfaces_spec_3.dat Source_multi_surfaces_spec_4.dat
diff --git a/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Source_multi_surfaces_spec_1.dat b/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Source_multi_surfaces_spec_1.dat
new file mode 100644
index 0000000000..ca49e56946
--- /dev/null
+++ b/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Source_multi_surfaces_spec_1.dat
@@ -0,0 +1,8 @@
+# surface 1, flat spectrum
+# lambda [AA] intensity [a.u.]
+10 1
+8 1
+6 1
+4 1
+2 1
+1 1
diff --git a/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Source_multi_surfaces_spec_2.dat b/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Source_multi_surfaces_spec_2.dat
new file mode 100644
index 0000000000..a95e77cf70
--- /dev/null
+++ b/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Source_multi_surfaces_spec_2.dat
@@ -0,0 +1,8 @@
+# surface 2, flat spectrum
+# lambda [AA] intensity [a.u.]
+10 2
+8 2
+6 2
+4 2
+2 2
+1 2
diff --git a/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Source_multi_surfaces_spec_3.dat b/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Source_multi_surfaces_spec_3.dat
new file mode 100644
index 0000000000..40e0c5d7b3
--- /dev/null
+++ b/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Source_multi_surfaces_spec_3.dat
@@ -0,0 +1,8 @@
+# surface 3, flat spectrum
+# lambda [AA] intensity [a.u.]
+10 3
+8 3
+6 3
+4 3
+2 3
+1 3
diff --git a/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Source_multi_surfaces_spec_4.dat b/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Source_multi_surfaces_spec_4.dat
new file mode 100644
index 0000000000..2b3f926616
--- /dev/null
+++ b/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Source_multi_surfaces_spec_4.dat
@@ -0,0 +1,8 @@
+# surface 4, flat spectrum
+# lambda [AA] intensity [a.u.]
+10 4
+8 4
+6 4
+4 4
+2 4
+1 4
diff --git a/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Test_Source_multi_surfaces.instr b/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Test_Source_multi_surfaces.instr
new file mode 100644
index 0000000000..6da7e0ec1c
--- /dev/null
+++ b/mcstas-comps/examples/Tests_sources/Test_Source_multi_surfaces/Test_Source_multi_surfaces.instr
@@ -0,0 +1,41 @@
+/*******************************************************************************
+* Instrument: Test_Source_multi_surfaces
+*
+* %I
+* Written by: Peter Willendrup (with AI assistance)
+* Date: November 2026
+* Origin: DTU
+* %INSTRUMENT_SITE: Tests_sources
+*
+* Test of Source_multi_surfaces with mock spectra
+*
+* %D
+* Source_multi_surfaces with 2x2 subareas, each with a flat mock spectrum of
+* constant intensity C = 1, 2, 3, 4 (Source_multi_surfaces_spec_k.dat, listed in
+* Source_multi_surfaces_files.dat). A monitor covering the target records
+* I = mean(C) * (xw/dist) * (yh/dist) = 2.5 * 6.25e-4 = 1.5625e-3.
+*
+* %Test: Detector: psd_I=0.00156238
+*
+* %P
+* files: [str] File listing the spectrum file of each subarea
+*
+* %E
+*******************************************************************************/
+DEFINE INSTRUMENT Test_Source_multi_surfaces(string files="Source_multi_surfaces_files.dat")
+
+TRACE
+
+COMPONENT origin = Progress_bar()
+AT (0, 0, 0) RELATIVE ABSOLUTE
+
+COMPONENT src_multi = Source_multi_surfaces(filename=files, xwidth=0.1, yheight=0.1, dist=2, xw=0.05, yh=0.05, xdim=2, ydim=2, Lmin=3, Lmax=7)
+AT (0, 0, 0) RELATIVE origin
+
+COMPONENT psd = PSD_monitor(xwidth=0.06, yheight=0.06, nx=30, ny=30, filename="psd", restore_neutron=1)
+AT (0, 0, 2) RELATIVE origin
+
+COMPONENT lmon = L_monitor(xwidth=0.06, yheight=0.06, nL=40, Lmin=2, Lmax=8, filename="lmon")
+AT (0, 0, 2) RELATIVE origin
+
+END
diff --git a/mcstas-comps/examples/Tests_union/Test_AF_HB_1D/README.md b/mcstas-comps/examples/Tests_union/Test_AF_HB_1D/README.md
new file mode 100644
index 0000000000..9ad16952fc
--- /dev/null
+++ b/mcstas-comps/examples/Tests_union/Test_AF_HB_1D/README.md
@@ -0,0 +1,45 @@
+# The `Test_AF_HB_1D` Instrument
+
+*McStas: Test of the Union AF_HB_1D_process (1D antiferromagnetic Heisenberg chain)*
+
+## Identification
+
+- **Site:** Tests_union
+- **Author:** Peter Willendrup
+- **Origin:** DTU
+- **Date:** November 2026
+
+## Description
+
+```text
+A monochromatic beam travels along the chain axis (z) into a Union cylinder
+with only the AF_HB_1D process. A 4pi Monitor_nD records the final energy
+against the final kz, so the energy transfer w = Ei - E and the chain
+momentum transfer q*a = (ki - kz)*atom_distance can be read off directly.
+All scattering must lie inside the spinon continuum
+(pi/2) J |sin(q a)| <= w <= pi J |sin(q a / 2)|
+for single scattering. This was checked with unit_cell_volume=10000; at the
+default density some multiple scattering falls outside the continuum.
+The process integrates S(q,w) numerically for every ray, so the test is slow.
+```
+
+## Examples
+
+- **Test: Ncount=100000 Detector: Sqw_I=5.32e-15**
+
+## Input parameters
+
+Parameters in **boldface** are required; the others are optional.
+
+| Name | Unit | Description | Default |
+|------|------|-------------|---------|
+| Ei | meV | Incident energy | 20 |
+| J | meV | Exchange constant | 10 |
+| atom_distance | AA | Distance between atoms in the chain | 3 |
+| Ncount | 1 | Number of rays, overrides -n when set (used by the test) | 0 |
+
+## Links
+
+- [Source code](Test_AF_HB_1D.instr) for `Test_AF_HB_1D.instr`.
+
+---
diff --git a/mcstas-comps/examples/Tests_union/Test_AF_HB_1D/Test_AF_HB_1D.instr b/mcstas-comps/examples/Tests_union/Test_AF_HB_1D/Test_AF_HB_1D.instr
new file mode 100644
index 0000000000..7ecdad1b34
--- /dev/null
+++ b/mcstas-comps/examples/Tests_union/Test_AF_HB_1D/Test_AF_HB_1D.instr
@@ -0,0 +1,77 @@
+/*******************************************************************************
+* McStas instrument definition URL=http://www.mcstas.org
+*
+* Instrument: Test_AF_HB_1D
+*
+* %Identification
+* Written by: Peter Willendrup
+* Date: November 2026
+* Origin: DTU
+* %INSTRUMENT_SITE: Tests_union
+*
+* Test of the Union AF_HB_1D_process (1D antiferromagnetic Heisenberg chain)
+*
+* %Description
+* A monochromatic beam travels along the chain axis (z) into a Union cylinder
+* with only the AF_HB_1D process. A 4pi Monitor_nD records the final energy
+* against the final kz, so the energy transfer w = Ei - E and the chain
+* momentum transfer q*a = (ki - kz)*atom_distance can be read off directly.
+* All scattering must lie inside the spinon continuum
+* (pi/2) J |sin(q a)| <= w <= pi J |sin(q a / 2)|
+* for single scattering. This was checked with unit_cell_volume=10000; at the
+* default density some multiple scattering falls outside the continuum.
+* The process integrates S(q,w) numerically for every ray, so the test is slow.
+*
+* %Test: Ncount=100000 Detector: Sqw_I=5.32e-15
+*
+* %Parameters
+* Ei: [meV] Incident energy
+* J: [meV] Exchange constant
+* atom_distance: [AA] Distance between atoms in the chain
+* Ncount: [1] Number of rays, overrides -n when set (used by the test)
+*
+* %End
+*******************************************************************************/
+DEFINE INSTRUMENT Test_AF_HB_1D(Ei=20, J=10, atom_distance=3, Ncount=0)
+
+INITIALIZE
+%{
+ if (Ncount > 0)
+ mcset_ncount (Ncount);
+%}
+
+TRACE
+
+COMPONENT init = Union_init()
+ AT (0,0,0) ABSOLUTE
+
+COMPONENT chain = AF_HB_1D_process(J_interaction=J, atom_distance=atom_distance, unit_cell_volume=100)
+ AT (0,0,0) ABSOLUTE
+
+COMPONENT chain_material = Union_make_material(my_absorption=0)
+ AT (0,0,0) ABSOLUTE
+
+COMPONENT origin = Progress_bar()
+ AT (0,0,0) ABSOLUTE
+
+COMPONENT source = Source_div(
+ xwidth=0.002, yheight=0.002, focus_aw=1e-4, focus_ah=1e-4, E0=Ei, dE=0)
+ AT (0,0,0) RELATIVE origin
+
+COMPONENT sample_pos = Arm()
+ AT (0,0,1) RELATIVE origin
+
+COMPONENT sample = Union_cylinder(radius=0.005, yheight=0.01, priority=1, material_string="chain_material")
+ AT (0,0,0) RELATIVE sample_pos
+
+COMPONENT master = Union_master()
+ AT (0,0,0) RELATIVE sample_pos
+
+COMPONENT Sqw = Monitor_nD(radius=1,
+ options="sphere energy limits=[0 19.5] bins=78, kz limits=[-3.2 3.2] bins=64", restore_neutron=1)
+ AT (0,0,0) RELATIVE sample_pos
+
+COMPONENT stop = Union_stop()
+ AT (0,0,0) ABSOLUTE
+
+END
diff --git a/mcstas-comps/examples/Tests_union/Test_abs_logger_1D_time/README.md b/mcstas-comps/examples/Tests_union/Test_abs_logger_1D_time/README.md
new file mode 100644
index 0000000000..7a83749a1e
--- /dev/null
+++ b/mcstas-comps/examples/Tests_union/Test_abs_logger_1D_time/README.md
@@ -0,0 +1,37 @@
+# The `Test_abs_logger_1D_time` Instrument
+
+*McStas: Cross-check of Union_abs_logger_1D_time against Union_abs_logger_1D_space_tof*
+
+## Identification
+
+- **Site:** Tests_union
+- **Author:** Peter Willendrup (with AI assistance)
+- **Origin:** DTU
+- **Date:** November 2026
+
+## Description
+
+```text
+Same geometry and beam as Test_abs_logger_1D_space_t. Union_abs_logger_1D_time
+and Union_abs_logger_1D_space_tof log the same time window, and the space
+logger covers the full height of the geometry, so the total absorbed weight
+must be the same. The same holds for the conditional versions, which only
+log rays that end up in the right part of the transmitted beam.
+```
+
+## Examples
+
+
+
+## Input parameters
+
+Parameters in **boldface** are required; the others are optional.
+
+| Name | Unit | Description | Default |
+|------|------|-------------|---------|
+
+## Links
+
+- [Source code](Test_abs_logger_1D_time.instr) for `Test_abs_logger_1D_time.instr`.
+
+---
diff --git a/mcstas-comps/examples/Tests_union/Test_abs_logger_1D_time/Test_abs_logger_1D_time.instr b/mcstas-comps/examples/Tests_union/Test_abs_logger_1D_time/Test_abs_logger_1D_time.instr
new file mode 100644
index 0000000000..3e8ba46a07
--- /dev/null
+++ b/mcstas-comps/examples/Tests_union/Test_abs_logger_1D_time/Test_abs_logger_1D_time.instr
@@ -0,0 +1,113 @@
+/*******************************************************************************
+* Instrument: Test_abs_logger_1D_time
+*
+* %Identification
+* Written by: Peter Willendrup (with AI assistance)
+* Date: November 2026
+* Origin: DTU
+* %INSTRUMENT_SITE: Tests_union
+*
+* Cross-check of Union_abs_logger_1D_time against Union_abs_logger_1D_space_tof
+*
+* %Description
+* Same geometry and beam as Test_abs_logger_1D_space_t. Union_abs_logger_1D_time
+* and Union_abs_logger_1D_space_tof log the same time window, and the space
+* logger covers the full height of the geometry, so the total absorbed weight
+* must be the same. The same holds for the conditional versions, which only
+* log rays that end up in the right part of the transmitted beam.
+*
+* %Test: Detector: abs_logger_1D_space_tof_I=1.12649e-09
+* %Test: Detector: abs_logger_1D_time_I=1.12649e-09
+* %Test: Detector: abs_logger_1D_space_tof_con_I=5.35986e-13
+* %Test: Detector: abs_logger_1D_time_con_I=5.35986e-13
+*
+* %End
+*******************************************************************************/
+DEFINE INSTRUMENT Test_abs_logger_1D_time()
+
+DECLARE
+%{
+%}
+
+INITIALIZE
+%{
+%}
+
+TRACE
+
+COMPONENT init = Union_init()
+AT (0,0,0) ABSOLUTE
+
+COMPONENT incoherent = Incoherent_process(sigma=0.2, packing_factor=1, unit_cell_volume=66.4)
+AT (0,0,0) ABSOLUTE
+
+COMPONENT powder = Powder_process(reflections="Cu2MnAl.laz")
+AT (0,0,0) ABSOLUTE
+
+COMPONENT material = Union_make_material(my_absorption=4.0,
+ process_string="incoherent,powder")
+AT (0,0,0) ABSOLUTE
+
+COMPONENT Origin = Progress_bar()
+ AT (0,0,0) ABSOLUTE
+
+COMPONENT source = Source_div(
+ xwidth=0.02, yheight=0.002,
+ focus_aw=0.01, focus_ah=0.01,
+ E0=10, dE=0.1)
+AT (0,0,0) RELATIVE Origin
+
+COMPONENT geometry_center = Arm()
+AT (0,0,2.0) RELATIVE source
+
+COMPONENT box_geometry = Union_box(xwidth=0.10, yheight=0.15, zdepth=0.03, priority=5, material_string="material")
+AT (-0.03,0,-0.05) RELATIVE geometry_center
+
+COMPONENT sphere_geometry = Union_sphere(radius=0.05, priority=6, material_string="material")
+AT (0.03,0,-0.04) RELATIVE geometry_center
+
+COMPONENT cylinder_geometry = Union_cylinder(radius=0.045, yheight=0.1, priority=7, material_string="material")
+AT (-0.03,0,0.02) RELATIVE geometry_center
+
+COMPONENT cone_geometry = Union_cone(radius_top=0.02, radius_bottom=0.055, yheight=0.09, priority=8, material_string="material")
+AT (0.03,0,0.07) RELATIVE geometry_center
+
+COMPONENT abs_logger_1D_space_tof = Union_abs_logger_1D_space_tof(
+ yheight=0.2, n=100,
+ time_min=0.0013, time_max=0.0022, time_bins=1000,
+ filename="Union_abs_logger_1D_space_tof.dat")
+AT (0,0,0) RELATIVE geometry_center
+
+COMPONENT abs_logger_1D_space_tof_con = Union_abs_logger_1D_space_tof(
+ yheight=0.2, n=100,
+ time_min=0.0013, time_max=0.0022, time_bins=1000,
+ filename="Union_abs_logger_1D_space_tof_con.dat")
+AT (0,0,0) RELATIVE geometry_center
+
+COMPONENT abs_logger_1D_time = Union_abs_logger_1D_time(
+ time_min=0.0013, time_max=0.0022, n=1000,
+ filename="Union_abs_logger_1D_time.dat")
+AT (0,0,0) RELATIVE geometry_center
+
+COMPONENT abs_logger_1D_time_con = Union_abs_logger_1D_time(
+ time_min=0.0013, time_max=0.0022, n=1000,
+ filename="Union_abs_logger_1D_time_con.dat")
+AT (0,0,0) RELATIVE geometry_center
+
+// Conditional that takes right part of transmitted beam
+COMPONENT PSD_conditional = Union_conditional_PSD(
+ xwidth=0.1, yheight=0.2,
+ target_loggers="abs_logger_1D_space_tof_con,abs_logger_1D_time_con")
+AT (-0.05,0,1.0) RELATIVE geometry_center
+
+// Master at odd position to ensure that does not impact results
+COMPONENT master = Union_master()
+AT (3, 0, -1) RELATIVE geometry_center
+ROTATED (20, -5, 8) RELATIVE geometry_center
+
+COMPONENT transmission = PSD_monitor(
+ xwidth=0.1, yheight=0.08, nx=200, ny=200,
+ filename="PSD.dat", restore_neutron=1)
+AT (0,0,1) RELATIVE geometry_center
+
+END
diff --git a/mcstas-comps/examples/Tools/Histogrammer/Histogrammer.instr b/mcstas-comps/examples/Tools/Histogrammer/Histogrammer.instr
index 4de12b2f82..f4c04abac1 100644
--- a/mcstas-comps/examples/Tools/Histogrammer/Histogrammer.instr
+++ b/mcstas-comps/examples/Tools/Histogrammer/Histogrammer.instr
@@ -9,13 +9,13 @@
* Origin: Risoe
* %INSTRUMENT_SITE: Tools
*
-* Takes eventfile input (Virtual_input/Vitess/MCNP/Tripoli4/MCPL formats) and applies Monitor_nD to generate
+* Takes MCPL eventfile input and applies Monitor_nD to generate
* histograms. Histograms can be chosen freely using the options string, see mcdoc Monitor_nD.comp
*
*
* %Description
*
-* Takes any possible McStas eventfile inputs (Virtual_input/Vitess/MCNP/Tripoli4 formats) and applies
+* Takes MCPL eventfile input and applies
* Monitor_nD to generate user-selectable neutron histograms.
*
* The 'options' parameter allows to customize the type of histogram to generate.
@@ -25,18 +25,13 @@
* "previous, auto, x, y"
* "previous, auto, tof, lambda"
*
-* Example: mcrun Histogrammer.instr MODE=0
-* - Gives information on the input parameters
-*
-* Example: mcrun Histogrammer.instr filename="events.dat" MODE=1 options="sphere theta phi outgoing previous"
-* - Reads a Virtual_output generated event file and applies a spherical PSD
+* Example: mcrun Histogrammer.instr filename="events.mcpl.gz" options="sphere theta phi outgoing previous"
+* - Reads an MCPL event file and applies a spherical PSD
*
* %Parameters
-* MODE: [int] Input file mode/format - 0 for help on usage 1=McStas,2=Vitess,3=MCNP,4=Tripoli4,5=MCPL
-* filename: [string] Specifies input event file
+* filename: [string] Input MCPL event file
* options: [string] Specifies the histogramming rules used by Monitor_nD.
* It MUST contain the 'previous' word - see mcdoc Monitor_nD
-* bufsize: [int] Vitess_input 'buffersize' parameter - see mcdoc Vitess_input
* xwidth: [m] Horizontal width of detector, or diameter for banana,cylinder and shpere geometry
* yheight: [m] Vertical height of detector, for plate, cylinder, banana shape
*
@@ -44,83 +39,24 @@
* The options string currently does not work with commas (mcrun interprets this as scan parms)
*
* %Link
-* Virtual_input component (McStas event file)
-* %Link
-* Vitess_input component (Vitess event file)
-* %Link
-* Virtual_mcnp_input component (MCNP PTRAC event file)
-* %Link
-* Virtual_tripoli4_input component (Tripoli4 BATCH event file)
-* %Link
* Monitor_nD component (detector/histogrammer)
* %Link
* MCPL_input component (MCPL event file)
*
* %End
*******************************************************************************/
-DEFINE INSTRUMENT Histogrammer(string filename=0, int MODE=0 ,
+DEFINE INSTRUMENT Histogrammer(string filename=0,
string options="sphere theta phi outgoing previous",
- int bufsize=10000, xwidth=0.1, yheight=0.1)
-
-/* The DECLARE section allows us to declare variables or small */
-/* functions in C syntax. These may be used in the whole instrument. */
-DECLARE
-%{
- int file_mode;
- char *VirtualI_filename;
- char *MCPL_filename;
-
-%}
-
-/* The INITIALIZE section is executed when the simulation starts */
-/* (C code). You may use them as component parameter values. */
-INITIALIZE
-%{
- file_mode = MODE;
- /* Set all filenames empty */
- VirtualI_filename = NULL;
- MCPL_filename = NULL;
- if (file_mode == 0) {
- printf("\n%s usage:\n'filename' input event file (in Virtual_input/Vitess/MCNP/Tripoli4 formats)\n", NAME_INSTRUMENT);
- printf("'MODE':\n");
- printf(" 0 - Print this help and exit)\n");
- printf(" 1 - Virtual_input event file\n");
- printf(" 2 - MCPL event file\n");
- printf("'options' - options string for Monitor_nD, see mcdoc Monitor_nD.comp\n\n");
+ xwidth=0.1, yheight=0.1)
- exit(-1);
- } else if (file_mode == 1) {
- printf("%s: Mode is 1 (Virtual_input event file)\n", NAME_INSTRUMENT);
- VirtualI_filename = filename;
- } else if (file_mode == 2) {
- printf("%s: Mode is 5 (MCPL event file)\n", NAME_INSTRUMENT);
- MCPL_filename = filename;
- }
-%}
-
-/* Here comes the TRACE section, where the actual */
-/* instrument is defined as a sequence of components. */
TRACE
-
COMPONENT Origin = Progress_bar()
AT (0,0,0) ABSOLUTE
-/* event file readers *********************************************************/
-
-COMPONENT Virtualinput = Virtual_input(
- filename=VirtualI_filename)
-WHEN (file_mode ==1) AT (0, 0, 0) RELATIVE Origin
-
COMPONENT MCPLinput = MCPL_input(
- filename=MCPL_filename, verbose=1)
-WHEN (file_mode ==5) AT (0, 0, 0) RELATIVE Origin
-
-/* end file readers *********************************************************/
-
-/*COMPONENT Sphere = PSD_monitor_4PI(*/
-/* nx = 360, ny = 360, filename = "kugle.dat", radius = 1)*/
-/* AT (0, 0, 0) RELATIVE Origin */
+ filename=filename, verbose=1)
+ AT (0, 0, 0) RELATIVE Origin
COMPONENT Monitor = Monitor_nD(options=options,xwidth=xwidth,yheight=yheight)
AT (0, 0, 0) RELATIVE Origin
diff --git a/mcstas-comps/examples/Tools/Histogrammer/README.md b/mcstas-comps/examples/Tools/Histogrammer/README.md
index c5c3c821a4..d9241573c7 100644
--- a/mcstas-comps/examples/Tools/Histogrammer/README.md
+++ b/mcstas-comps/examples/Tools/Histogrammer/README.md
@@ -1,6 +1,6 @@
# The `Histogrammer` Instrument
-*McStas: Takes eventfile input (Virtual_input/Vitess/MCNP/Tripoli4/MCPL formats) and applies Monitor_nD to generate
+*McStas: Takes MCPL eventfile input and applies Monitor_nD to generate
histograms. Histograms can be chosen freely using the options string, see mcdoc Monitor_nD.comp*
## Identification
@@ -13,7 +13,7 @@ histograms. Histograms can be chosen freely using the options string, see mcdoc
## Description
```text
-Takes any possible McStas eventfile inputs (Virtual_input/Vitess/MCNP/Tripoli4 formats) and applies
+Takes MCPL eventfile input and applies
Monitor_nD to generate user-selectable neutron histograms.
The 'options' parameter allows to customize the type of histogram to generate.
@@ -23,11 +23,8 @@ We suggest:
"previous, auto, x, y"
"previous, auto, tof, lambda"
-Example: mcrun Histogrammer.instr MODE=0
-- Gives information on the input parameters
-
-Example: mcrun Histogrammer.instr filename="events.dat" MODE=1 options="sphere theta phi outgoing previous"
-- Reads a Virtual_output generated event file and applies a spherical PSD
+Example: mcrun Histogrammer.instr filename="events.mcpl.gz" options="sphere theta phi outgoing previous"
+- Reads an MCPL event file and applies a spherical PSD
```
## Examples
@@ -40,20 +37,14 @@ Parameters in **boldface** are required; the others are optional.
| Name | Unit | Description | Default |
|------|------|-------------|---------|
-| filename | string | Specifies input event file | 0 |
-| MODE | int | Input file mode/format - 0 for help on usage 1=McStas,2=Vitess,3=MCNP,4=Tripoli4,5=MCPL | 0 |
+| filename | string | Input MCPL event file | 0 |
| options | string | Specifies the histogramming rules used by Monitor_nD. It MUST contain the 'previous' word - see mcdoc Monitor_nD | "sphere theta phi outgoing previous" |
-| bufsize | int | Vitess_input 'buffersize' parameter - see mcdoc Vitess_input | 10000 |
| xwidth | m | Horizontal width of detector, or diameter for banana,cylinder and shpere geometry | 0.1 |
| yheight | m | Vertical height of detector, for plate, cylinder, banana shape | 0.1 |
## Links
- [Source code](Histogrammer.instr) for `Histogrammer.instr`.
-- Virtual_input component (McStas event file)
-- Vitess_input component (Vitess event file)
-- Virtual_mcnp_input component (MCNP PTRAC event file)
-- Virtual_tripoli4_input component (Tripoli4 BATCH event file)
- Monitor_nD component (detector/histogrammer)
- MCPL_input component (MCPL event file)
diff --git a/mcstas-comps/examples/Tools/vinput2mcpl/README.md b/mcstas-comps/examples/Tools/vinput2mcpl/README.md
deleted file mode 100644
index 4c0e5c7e17..0000000000
--- a/mcstas-comps/examples/Tools/vinput2mcpl/README.md
+++ /dev/null
@@ -1,38 +0,0 @@
-# The `vinput2mcpl` Instrument
-
-*McStas: Instrument for conversion of Virtual input files to MCPL.*
-
-## Identification
-
-- **Site:** Tools
-- **Author:** Peter Willendrup
-- **Origin:** DTU
-- **Date:** Jan 7th 2023
-
-## Description
-
-```text
-Instrument for conversion of Virtual input files to MCPL.
-
-Example: vinput2mcpl inputfile=C8_L214.dat outputfile=C8_L214.mcpl,gz
-```
-
-## Examples
-
-
-
-## Input parameters
-
-Parameters in **boldface** are required; the others are optional.
-
-| Name | Unit | Description | Default |
-|------|------|-------------|---------|
-| inputfile | str | Filename for Virtual_input read | "input" |
-| outputfile | str | Filename for MCPL_output write | "output" |
-
-## Links
-
-- [Source code](vinput2mcpl.instr) for `vinput2mcpl.instr`.
--
-
----
diff --git a/mcstas-comps/examples/Tools/vinput2mcpl/vinput2mcpl.instr b/mcstas-comps/examples/Tools/vinput2mcpl/vinput2mcpl.instr
deleted file mode 100644
index c8240e45a4..0000000000
--- a/mcstas-comps/examples/Tools/vinput2mcpl/vinput2mcpl.instr
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
-* Instrument: vinput2mcpl
-*
-* %I
-* Written by: Peter Willendrup
-* Date: Jan 7th 2023
-* Origin: DTU
-* %INSTRUMENT_SITE: Tools
-*
-* Instrument for conversion of Virtual input files to MCPL.
-*
-* %D
-* Instrument for conversion of Virtual input files to MCPL.
-*
-* Example: vinput2mcpl inputfile=C8_L214.dat outputfile=C8_L214.mcpl,gz
-*
-* %P
-* inputfile: [str] Filename for Virtual_input read
-* outputfile: [str] Filename for MCPL_output write
-*
-* %L
-*
-*
-* %E
-*******************************************************************************/
-DEFINE INSTRUMENT vinput2mcpl(string inputfile="input", string outputfile="output")
-
-DECLARE
-%{
-%}
-
-INITIALIZE
-%{
-%}
-
-TRACE
-
-COMPONENT origin = Progress_bar()
-AT (0, 0, 0) RELATIVE ABSOLUTE
-
-COMPONENT virtual_output = Virtual_input(
- filename=inputfile)
-AT (0, 0, 0) RELATIVE PREVIOUS
-
-COMPONENT mcpl_output = MCPL_output(
- filename=outputfile)
-AT (0, 0, 0) RELATIVE PREVIOUS
-
-FINALLY
-%{
-%}
-
-END
diff --git a/mcstas-comps/examples/elearning/Reflectometer/README.md b/mcstas-comps/examples/elearning/Reflectometer/README.md
index afbc0a9b9a..e2d958d8bf 100644
--- a/mcstas-comps/examples/elearning/Reflectometer/README.md
+++ b/mcstas-comps/examples/elearning/Reflectometer/README.md
@@ -7,7 +7,7 @@ and a detector. For use in the OMIC summer school 2012.*
- **Site:** elearning
- **Author:** Pia Jensen (bozack@bozack.dk)
-- **Origin:** Niels Bohr Instute, University of Copenhagen
+- **Origin:** Niels Bohr Institute, University of Copenhagen
- **Date:** 13.08.2012
## Description
@@ -20,7 +20,7 @@ distribution on the sample. The sample itself can either be an empty spot, a sim
mirror, or a multilayer. A simple PSD detector is used for detecting the scattered
beam. The scattering is in the horizontal plane.
-Example: mcrun reflectometer.instr
+Example: mcrun reflectometer.instr [parameters=values]
```
## Examples
diff --git a/mcstas-comps/examples/elearning/Reflectometer/Reflectometer.instr b/mcstas-comps/examples/elearning/Reflectometer/Reflectometer.instr
index a2d61adaa3..45c0e7b8b0 100644
--- a/mcstas-comps/examples/elearning/Reflectometer/Reflectometer.instr
+++ b/mcstas-comps/examples/elearning/Reflectometer/Reflectometer.instr
@@ -6,7 +6,7 @@
* %Identification
* Written by: Pia Jensen (bozack@bozack.dk)
* Date: 13.08.2012
-* Origin: Niels Bohr Instute, University of Copenhagen
+* Origin: Niels Bohr Institute, University of Copenhagen
* Release: McStas 2.x
* Version: 0.2
* %INSTRUMENT_SITE: elearning
@@ -22,7 +22,7 @@
* mirror, or a multilayer. A simple PSD detector is used for detecting the scattered
* beam. The scattering is in the horizontal plane.
*
-* Example: mcrun reflectometer.instr
+* Example: mcrun reflectometer.instr [parameters=values]
*
* %Parameters
* lambda_min: [AA] Minimum wavelength from source
diff --git a/mcstas-comps/examples/elearning/SANSsimple/README.md b/mcstas-comps/examples/elearning/SANSsimple/README.md
index ce926341b8..8599c9add5 100644
--- a/mcstas-comps/examples/elearning/SANSsimple/README.md
+++ b/mcstas-comps/examples/elearning/SANSsimple/README.md
@@ -5,8 +5,8 @@
## Identification
- **Site:** elearning
-- **Author:** Linda
-- **Origin:** Copenhagen
+- **Author:** Linda Udby
+- **Origin:** NBI
- **Date:** 05.09.10
## Description
@@ -14,12 +14,13 @@
```text
Instrument longer description (type, elements, usage...)
-Example: mcrun SANSsimple.instr
+Example: mcrun SANSsimple.instr [parameters=values]
```
## Examples
- **Test: Detector: PSD_I=55.5558**
+- **Test: SAMPLE=2 Detector: PSD_I=1640**
## Input parameters
@@ -39,7 +40,7 @@ Parameters in **boldface** are required; the others are optional.
| Delta_Rho | fm/AA^3 | Volume specific scattering length density contrast of the hard, monodisperse spheres in the sample as compared to the solution | 0.6 |
| Qmax | AA^-1 | Maximum scattering vector allowed by geometry to hit the detector area | 0.3 |
| BEAMSTOP | 0/1 | If set, the beamstop is inserted in front of the detector in order to block the transmitted beam | 1 |
-| SAMPLE | 0/1/2 | When SAMPLE==0, no sample is used, SAMPLE==1 sample is composed of hard spheres, if SAMPLE==2 sample is composed ofspherical shells. | 1 |
+| SAMPLE | 0/1/2 | When SAMPLE==0, no sample is used, SAMPLE==1 spherical shells (Sans_liposomes_new), SAMPLE==2 spherical shells (SANS_Liposomes_Abs). | 1 |
| Sigma_a | barn | Absorption crossection of the sample | 0 |
## Links
diff --git a/mcstas-comps/examples/elearning/SANSsimple/SANSsimple.instr b/mcstas-comps/examples/elearning/SANSsimple/SANSsimple.instr
index 0abd64cb4b..19261bb4e3 100644
--- a/mcstas-comps/examples/elearning/SANSsimple/SANSsimple.instr
+++ b/mcstas-comps/examples/elearning/SANSsimple/SANSsimple.instr
@@ -4,9 +4,9 @@
* Instrument: DMC
*
* %Identification
-* Written by: Linda
+* Written by: Linda Udby
* Date: 05.09.10
-* Origin: Copenhagen
+* Origin: NBI
* Release: McStas 1.12c
* Version:
* %INSTRUMENT_SITE: elearning
@@ -16,9 +16,10 @@
* %Description
* Instrument longer description (type, elements, usage...)
*
-* Example: mcrun SANSsimple.instr
+* Example: mcrun SANSsimple.instr [parameters=values]
*
* %Test: Detector: PSD_I=55.5558
+* %Test: SAMPLE=2 Detector: PSD_I=1640
*
* %Parameters
* Lambda: [AA] Average wavelength traced from source
@@ -26,7 +27,7 @@
* pinhole_rad: [m] radius of the collimating pinholes
* LC: [m] length of the collimator - distance between pinholes
* LD: [m] distance between the last pinhole slit and detector
-* SAMPLE: [0/1/2] When SAMPLE==0, no sample is used, SAMPLE==1 sample is composed of hard spheres, if SAMPLE==2 sample is composed ofspherical shells.
+* SAMPLE: [0/1/2] When SAMPLE==0, no sample is used, SAMPLE==1 spherical shells (Sans_liposomes_new), SAMPLE==2 spherical shells (SANS_Liposomes_Abs).
* R: [AA] radius of the hard, monodisperse spheres in the sample
* dR: [AA] Normal variance of Radius
* dbilayer: [AA] Thickness of spherical shell, only relevant when SAMPLE==2
@@ -126,8 +127,8 @@ COMPONENT SampleArm = Arm()
/* SPLIT 10 COMPONENT sample = SANS_Spheres_Abs(R=R, Phi=PHI, Delta_rho=Delta_Rho, sigma_a=Sigma_a,qmax=Qmax,xwidth=4*pinhole_rad,yheight=4*pinhole_rad) */
/* WHEN (SAMPLE) AT (0,0,0) RELATIVE SampleArm */
-/*SPLIT 10 COMPONENT sampleA = SANS_Liposomes_Abs(R=R, dR=dR, Phi=PHI, Delta_rho=Delta_Rho, dbilayer=dbilayer, sigma_a=Sigma_a,qmax=Qmax,xwidth=4*pinhole_rad,yheight=4*pinhole_rad)
- WHEN (SAMPLE==0) AT (0,0,0) RELATIVE SampleArm */
+SPLIT 10 COMPONENT sampleA = SANS_Liposomes_Abs(R=R, dR=dR, Phi=PHI, Delta_rho=Delta_Rho, dbilayer=dbilayer, sigma_a=Sigma_a,qmax=Qmax,xwidth=4*pinhole_rad,yheight=4*pinhole_rad)
+ WHEN (SAMPLE==2) AT (0,0,0) RELATIVE SampleArm
SPLIT 10 COMPONENT sampleB = Sans_liposomes_new(R=R, dR=dR, Phi=PHI, Delta_rho=Delta_Rho, sigma_a=0.5,qmax=Qmax, Rdet=Rdet, dist=LD, xwidth=4*pinhole_rad,yheight=4*pinhole_rad)
WHEN (SAMPLE==1) AT (0,0,0) RELATIVE SampleArm
diff --git a/mcstas-comps/libs/neutronics/compile.bat b/mcstas-comps/libs/neutronics/compile.bat
deleted file mode 100644
index 2ce155393e..0000000000
--- a/mcstas-comps/libs/neutronics/compile.bat
+++ /dev/null
@@ -1,5 +0,0 @@
-@REM Script for post-install compilation of libmcpl.a on Windows
-@REM
-cd /d %~dp0%
-gfortran -c neutronics-subs.f
-ar rcs libneutronics.a neutronics-subs.o
diff --git a/mcstas-comps/libs/neutronics/neutronics-subs.f b/mcstas-comps/libs/neutronics/neutronics-subs.f
deleted file mode 100644
index 7f568c4fe8..0000000000
--- a/mcstas-comps/libs/neutronics/neutronics-subs.f
+++ /dev/null
@@ -1,231 +0,0 @@
- module subs
-
-c Code to interface MCNP and McStas using the Source Surface Read/Write functionality of MCNP.
-c Intented to allow ping-pong between MCNP and McStas, so that first a MCNP simulation is run
-c and at a relevant surface, a Source Surface Write card is given (e.g. for MCNP surface #1, add the line:
-c SSW 1
-c to the end of the input file.
-c By this a ".w" file is produced, which then serves as input to the McStas simulation. This results (among others)
-c in a file called: wssa
-c which is of the same type as the original .w file, and can be refed to the MCNP simulation
-c Written by Esben Klinkby, Risø-DTU in January 2012
-c Thanks to Harald Breitkreutz for help understanding the SSW/SSR format
-c
-c Not yet validated!!!
-c
- implicit double precision (a-h,o-z)
-
-c General varialbles
- character kods*8 ! Code
- character vers*5 ! Version
- character lods*28 ! Date
- character idtms*19 ! Machine-Designator
- character probs*19 ! Problem-ID
- character aids*80 ! Creation-Run Problem-Title-Card
-
-c Surfaces
- dimension tpps(10,64) ! Array for surface parameters
- dimension ntppsp(10) ! Array for number of suface parameters
- dimension kstpps(10) ! Array for surface types
- dimension isurfs(10) ! Array for surfaces
-
-c Structure of SSB-Arrays
- dimension ssb(11) ! Surface-Source Info
- dimension nslr(14,10) ! SS Info record
-
- double precision, parameter :: Mev2Joule = 1.602e-13 ! MeV to Joule conversion factor
- double precision, parameter :: MNEUTRON = 1.67492728e-27 ![kg] mass of neutron CODATA 2002
-
-c Logical used to figure out whether file exists or not
- logical :: bfile ! Data file exists
-
-c Datafiles
- integer, parameter:: iusr = 123 ! RSSA-Data - SSR input.
- integer, parameter:: iusw = 124 ! Ptrak file
- integer, parameter:: iusw2 = 125 ! WSSA-Data - SSW output
-
- integer nrcd,nrcdo !Needed public for file read from loop
- integer njsw, np1o, np1, niss, mipts,niwr,knods,kjaq
- end module subs
-
-c---------------------------------------------------------------------------------------------
-
- subroutine readheader(ntrk,nhis)
-
- use subs ! Use module subs for varialbles common across subroutines
- implicit double precision (a-h,o-z)
-
- ! Open SSW file. Assumes the name: rssa
- open(iusr,file='rssa',form='unformatted', status='old')
- rewind iusr
-
- ! Start reading the header
- read(iusr,end=1666)kods,vers,lods,idtms,probs,aids,knods
- read(iusr,end=1666)np1,nrss,nrcd,njsw,niss
- ntrk=nrss
- nhis=niss
- nrcdo=nrcd
- np1o=np1
-
- if(np1.le.0) then
- np1=abs(np1)
- read(iusr,end=1666)niwr,mipts,kjaq
- endif
- if(nrcd.ne.6.and.nrcd.ne.10)nrcd=nrcd-1
-
- do 1000 i=1,njsw+niwr
- read(iusr,end=1666)isurfs(i),kstpps(i),ntppsp(i),
- 1 (tpps(i,j),j=1,ntppsp(i))
- 1000 continue
-
- read(iusr,end=1666)a,
- 1 ((nslr(i,j),i=1,2+4*mipts),j=1,njsw+niwr)
-
- ! Open ascii file for ptrak output (EK: make switch allowing user to skip)
- open(iusw,file='ptrak',status='replace',form='formatted')
- rewind(iusw)
-
- return
-
-c Error treatment
- 1666 print*
- print*,'Something wrong in readheader :-('
- print*
- stop
-
- end subroutine readheader
-
-c---------------------------------------------------------------------------------------------
-
- subroutine readneutron(to_mcstas)
-
- use subs
- implicit double precision (a-h,o-z)
- dimension to_mcstas(9)
-
- read(iusr,end=666)(ssb(i),i=1,nrcd)
-
-c variable gymnastics needed to record ptrak output file & to hand to mcstas
- zz=abs(sqrt(max(0.,1.-ssb(9)**2-ssb(10)**2)))
- & *SSB(2)/abs(SSB(2))
-
-c------------------write ptrak section----below-----------!
- 310 write(iusw,311) ssb(6),ssb(7),ssb(8),ssb(9),
- & ssb(10),zz,ssb(5),ssb(3),ssb(4)
- 311 format(1x,10e13.5)
-c------------------write ptrak section----up--------------!
-
-
-c more variable gymnastics needed to convert to McStas coordinates & units
- to_mcstas(1) = ssb(6) / 100 ! x
- to_mcstas(2) = ssb(7) / 100 ! y
- to_mcstas(3) = ssb(8) / 100 ! z
-
- speed=sqrt(2.* ssb(4)*Mev2Joule/MNEUTRON)
-
- to_mcstas(4) = ssb(9) * speed ! px
- to_mcstas(5) = ssb(10) * speed ! py
- to_mcstas(6) = zz * speed ! pz
-
- to_mcstas(7) = ssb(3) ! weight
- to_mcstas(8) = ssb(4) ! time
-
- return
-
-c Error treatmeant
- 666 print*
- print*,'Something wrong in readneutron :-('
- print*,'If you are running iteratively, it can'
- print*,'be that the job merely ran out of input'
- print*,'events. Check for McStas ERROR messages'
- print*,'if they are OK, the job is fine'
- stop
-
- end subroutine readneutron
-
-c---------------------------------------------------------------------------------------------
-
- subroutine writeneutron(from_mcstas)
-
- use subs
- implicit double precision (a-h,o-z)
- dimension from_mcstas(9)
-
-c Inverse conversion as in readheader. Fill ssb(i) records (i=1,nrcd) based on McStas output
- ssb(3) = from_mcstas(7);
- ssb(4) = from_mcstas(8);
-
- ssb(6) = from_mcstas(1) * 100 ! x
- ssb(7) = from_mcstas(2) * 100 ! y
- ssb(8) = from_mcstas(3) * 100 ! z
-
- speed=sqrt(from_mcstas(4)**2+from_mcstas(5)**2+from_mcstas(6)**2)
- energy=0.5*MNEUTRON*(speed**2)/Mev2Joule
- ssb(5)=energy
-
- ssb(9) = from_mcstas(4) / speed ! cosu
- ssb(10) = from_mcstas(5) / speed ! cosv
-
- write(iusw2)(ssb(i),i=1,nrcd)
-
- end subroutine writeneutron
-
-c---------------------------------------------------------------------------------------------
-
- subroutine writeheader(ntrk,nhis)
-
- use subs
- implicit double precision (a-h,o-z)
-
-c Handling of output file
- inquire(file='wssa',exist=bfile)
- if(bfile) then
- print*,'WARNING: file wssa already exists!'
- print*,'will be replaced...too late...:-)!'
- !stop
- endif
- open(iusw2,file='wssa',status='replace',form='unformatted')
- rewind iusw2
-
- nrss=ntrk
- niss=nhis
-c Put your hardcoded #histories & #tracks here
-
- print*,'WARNING: Filling wssa header: ', nrss, ' events'
- print*,'WARNING: Filling wssa header: ', niss, ' histories'
- print*,'WARNING: In case of event loss in McStas simulation,'
- print*,'WARNING: these values are inconsistent with file content'
- print*,'WARNING: which can cause trouble in subsequent MCNP run'
- print*,'WARNING: To resolve, see BUGS in:'
- print*,'WARNING: Virtual_mcnp_ss_input.comp'
-
-
-c Write header
- write(iusw2)kods,vers,lods,idtms,probs,aids,knods
- write(iusw2)np1o,nrss,nrcdo,njsw,niss
- if(np1o.le.0) write(iusw2)niwr,mipts,kjaq
-
- do 2000 i=1,njsw+niwr
- write(iusw2)isurfs(i),kstpps(i),ntppsp(i),
- 1 (tpps(i,j),j=1,ntppsp(i))
- 2000 continue
-
- write(iusw2)a,
- 1 ((nslr(i,j),i=1,2+4*mipts),j=1,njsw+niwr)
-
- end subroutine writeheader
-
-c---------------------------------------------------------------------------------------------
-
- subroutine closefiles()
-
- use subs
-
- close(iusr)
- close(iusw)
- close(iusw2)
-
- end subroutine closefiles
-
-c---------------------------------------------------------------------------------------------
-
diff --git a/mcstas-comps/libs/neutronics/runscript.sh b/mcstas-comps/libs/neutronics/runscript.sh
deleted file mode 100644
index 9edfa01167..0000000000
--- a/mcstas-comps/libs/neutronics/runscript.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-rm ptrak
-rm wssa
-gfortran -c neutronics-subs.f
-mcstas -t test_SSR_SSW.instr &&
-gcc -o runme.out test_SSR_SSW.c neutronics-subs.o -lm -lgfortran --trace && ./runme.out
diff --git a/mcstas-comps/libs/neutronics/testSSR b/mcstas-comps/libs/neutronics/testSSR
deleted file mode 100644
index 26ce9396b3..0000000000
--- a/mcstas-comps/libs/neutronics/testSSR
+++ /dev/null
@@ -1,26 +0,0 @@
-Surface source test
-1 101 -1.6 -1 imp:n=1
-2 102 -1.0 -2 1 imp:n=1
-3 102 -1.0 -3 2 imp:n=1
-4 0 3 imp:n=0
-
-1 sph 0 0 0 5
-2 sph 0 0 0 10
-3 sph 0 0 0 1115
-4 pz 200
-
-mode n
-c sdef par 1 erg=100
-ssr
-m101 6000 1
-m102 1001 2 8016 1
-nps 1000
-f2:n 1 2 3
-c ssw 2
-c ptrac file = asc
-c max = -1000000
-c write = all
-c event = sur
-c filter = 2,jsu
-PRDMP 2J -1
-print
\ No newline at end of file
diff --git a/mcstas-comps/libs/neutronics/testSSW b/mcstas-comps/libs/neutronics/testSSW
deleted file mode 100644
index 029e43c49d..0000000000
--- a/mcstas-comps/libs/neutronics/testSSW
+++ /dev/null
@@ -1,23 +0,0 @@
-Surface source test
-1 101 -1.6 -1 imp:n=1
-2 102 -1.0 -2 1 imp:n=1
-3 0 -3 2 imp:n=1
-4 0 3 imp:n=0
-
-1 sph 0 0 0 5
-2 sph 0 0 0 10
-3 sph 0 0 0 15
-
-mode n
-sdef par 1 erg=100
-m101 6000 1
-m102 1001 2 8016 1
-nps 1000000
-f2:n 1 2 3
-ssw 2
-ptrac file = asc
- max = -1000000
- write = all
- event = sur
- filter = 2,jsu
-PRDMP 2J -1
diff --git a/mcstas-comps/misc/misc_examples.txt b/mcstas-comps/misc/misc_examples.txt
index e5970ce15b..7585fdf0a4 100644
--- a/mcstas-comps/misc/misc_examples.txt
+++ b/mcstas-comps/misc/misc_examples.txt
@@ -44,7 +44,7 @@ MCPL_input is used in 14 example(s):
- MCPL_filter_radius.instr
- MCPL_filter_wavelength.instr
---------------------------------------
-MCPL_output is used in 10 example(s):
+MCPL_output is used in 9 example(s):
- ESS_MCPL_generate_filtered.instr
- McStas_Isotropic_Sqw.instr
- McStas_PowderN.instr
@@ -54,16 +54,14 @@ MCPL_output is used in 10 example(s):
- MCPL_filter_energy.instr
- MCPL_filter_radius.instr
- MCPL_filter_wavelength.instr
-- vinput2mcpl.instr
---------------------------------------
-MCPL_output_noacc is used in 0 example(s):
+MCPL_output_noacc is used in 1 example(s):
+- Test_MCPL_output_noacc.instr
---------------------------------------
-Progress_bar is used in 279 example(s):
+Progress_bar is used in 298 example(s):
- BNL_H8.instr
- h8_test_legacy.instr
- Test_FZP_simple.instr
-- Vin_test.instr
-- Vout_test.instr
- ESS_BEER_MCPL.instr
- ESS_IN5_reprate.instr
- ESS_MCPL_generate_filtered.instr
@@ -138,7 +136,7 @@ Progress_bar is used in 279 example(s):
- PSI_DMC.instr
- PSI_DMC_simple.instr
- PSI_Focus.instr
-- PSI_ICON.instr
+- PSI_ICON_beamline.instr
- RITA-II.instr
- TAS1_C1.instr
- TAS1_C1_Tilt.instr
@@ -146,6 +144,7 @@ Progress_bar is used in 279 example(s):
- TAS1_Diff_Vana.instr
- TAS1_Powder.instr
- TAS1_Vana.instr
+- FlipChop_Hyspec.instr
- Gallmeier_SNS_decoupled_poisoned.instr
- Granroth_SNS_decoupled_poisoned.instr
- Mezei_SNS_decoupled_poisoned.instr
@@ -180,6 +179,7 @@ Progress_bar is used in 279 example(s):
- Test_MCPL_input.instr
- Test_MCPL_input_once.instr
- Test_MCPL_output.instr
+- Test_MCPL_output_noacc.instr
- Test_GROUP.instr
- Test_GROUP_restore.instr
- Test_Jump_Iterate.instr
@@ -188,10 +188,15 @@ Progress_bar is used in 279 example(s):
- Test_Cyl_monitors.instr
- Test_Monitor_nD.instr
- Test_Monitor_nD_10_uservars.instr
+- Test_Monitor_nD_BINS.instr
- Test_Monitor_nD_list_MPI.instr
+- Test_Monitor_nD_noacc.instr
+- Test_Monitors_cyl.instr
+- Test_Monitors_flat.instr
- Test_Radial_div.instr
- Test_TOF_PSDmonitor_toQ.instr
- Test_Al_windows.instr
+- Test_Bispectral_mirrors.instr
- Test_Collimator_Radial.instr
- Test_Conics_pairs.instr
- Test_DiskChoppers.instr
@@ -199,23 +204,31 @@ Progress_bar is used in 279 example(s):
- Test_Fermi.instr
- Test_FlatEllipse_finite_mirror.instr
- Test_FocalisationMirrors.instr
+- Test_Guide_four_side.instr
- Test_Guides.instr
- Test_Guides_Curved.instr
- Test_Lens.instr
+- Test_Mask.instr
- Test_Mirror_FlatEllipse.instr
- Test_Mirror_conic.instr
- Test_Monochromator_bent_complex.instr
- Test_Monochromators.instr
- Test_NMO.instr
- Test_PSD_Detector.instr
+- Test_PerfectCrystal.instr
- Test_Pol_Bender_Vs_Guide_Curved.instr
+- Test_Pol_bender_tapering.instr
- Test_Rotator.instr
+- Test_Sapphire_filter.instr
- Test_Selectors.instr
- Test_StatisticalChopper.instr
- Test_Vertical_Bender.instr
- Test_filters.instr
- Test_focus.instr
+- Test_multi_pipe.instr
+- Test_NeXus_output.instr
- Test_mcdisplay_shapes.instr
+- Test_mcplot_loader.instr
- test_File.instr
- He3_spin_filter.instr
- SE_example.instr
@@ -262,19 +275,24 @@ Progress_bar is used in 279 example(s):
- Test_MCViNE_SvQ.instr
- Test_Magnon_bcc_2D.instr
- Test_Magnon_bcc_TAS.instr
+- Test_Phonon_BvK_PG.instr
- Test_PowderN.instr
- Test_PowderN_Res.instr
- Test_PowderN_concentric.instr
+- Test_PowderN_porous.instr
- Test_Powders.instr
- Test_SANS.instr
- Test_SX.instr
- Test_Sans_spheres.instr
+- Test_SiC.instr
- Test_Single_crystal_inelastic.instr
- Test_Sqw.instr
- Test_Sqw_monitor.instr
- Test_TasReso.instr
- Test_single_magnetic_crystal.instr
- Unittest_SANS_benchmark2.instr
+- Test_Source_adapt.instr
+- Test_Source_multi_surfaces.instr
- Test_Source_pulsed.instr
- Test_Source_quasi.instr
- Test_Sources.instr
@@ -285,11 +303,13 @@ Progress_bar is used in 279 example(s):
- IncoherentPhonon_test.instr
- Logger_test.instr
- Many_meshes.instr
+- Test_AF_HB_1D.instr
- Test_abs_logger_1D_space.instr
- Test_abs_logger_1D_space_event.instr
- Test_abs_logger_1D_space_t.instr
- Test_abs_logger_1D_space_t_lam.instr
- Test_abs_logger_1D_t.instr
+- Test_abs_logger_1D_time.instr
- Test_abs_logger_2D_space.instr
- Test_abs_logger_event.instr
- Test_abs_logger_nD.instr
@@ -317,7 +337,6 @@ Progress_bar is used in 279 example(s):
- MCPL_filter_energy.instr
- MCPL_filter_radius.instr
- MCPL_filter_wavelength.instr
-- vinput2mcpl.instr
- Bispectral.instr
- Demonstration.instr
- External_component.instr
@@ -357,8 +376,9 @@ Shape is used in 14 example(s):
---------------------------------------
Shape_simple is used in 0 example(s):
---------------------------------------
-Text is used in 3 example(s):
+Text is used in 4 example(s):
- ILL_H5.instr
- ILL_H5_new.instr
- Demo_shape_primitives.instr
+- Text2OFF.instr
---------------------------------------
diff --git a/mcstas-comps/monitors/TOF2Q_cylPSD_monitor.comp b/mcstas-comps/monitors/TOF2Q_cylPSD_monitor.comp
index a4fa9e4c95..f04359f1a4 100644
--- a/mcstas-comps/monitors/TOF2Q_cylPSD_monitor.comp
+++ b/mcstas-comps/monitors/TOF2Q_cylPSD_monitor.comp
@@ -83,35 +83,35 @@ TRACE
double cyl_t0, cyl_t1, dt, phi;
double E, Q;
- if (!cylinder_intersect (&cyl_t0, &cyl_t1, x, y, z, vx, vy, vz, radius, yheight))
- /* No hit */
- ABSORB;
- if (cyl_t0 > 0) /* Neutron hits cylinder from the outside */
- ABSORB;
- dt = cyl_t1;
- PROP_DT (dt);
- if (y >= yheight / 2 || y <= -yheight / 2)
- ABSORB; /* Neutron hits cylinder ends; no detectors here */
-
- E = VS2E * (L_flight / (t - T_zero)) * (L_flight / (t - T_zero));
-
- j = floor ((y - ymin) * ny / (ymax - ymin));
-
- Q = 2 * sqrt (E / 2.072) * sin (theta);
-
- i = floor ((Q - Qmin) * nQ / (Qmax - Qmin));
-
- if (i >= 0 && i < nQ && j >= 0 && j < ny) {
- double p2 = p * p;
- #pragma acc atomic
- TOF_N[i][j] = TOF_N[i][j] + 1;
- #pragma acc atomic
- TOF_p[i][j] = TOF_p[i][j] + p;
- #pragma acc atomic
- TOF_p2[i][j] = TOF_p2[i][j] + p2;
- }
- if (restore_neutron) {
- RESTORE_NEUTRON (INDEX_CURRENT_COMP, x, y, z, vx, vy, vz, t, sx, sy, sz, p);
+ int hit = cylinder_intersect (&cyl_t0, &cyl_t1, x, y, z, vx, vy, vz, radius, yheight);
+ /* No hit, hit from the outside, or exit through the cylinder ends (no detectors there) */
+ if (!hit || cyl_t0 > 0 || (hit & 24)) {
+ if (!restore_neutron)
+ ABSORB;
+ } else {
+ dt = cyl_t1;
+ PROP_DT (dt);
+
+ E = VS2E * (L_flight / (t - T_zero)) * (L_flight / (t - T_zero));
+
+ j = floor ((y - ymin) * ny / (ymax - ymin));
+
+ Q = 2 * sqrt (E / 2.072) * sin (theta);
+
+ i = floor ((Q - Qmin) * nQ / (Qmax - Qmin));
+
+ if (i >= 0 && i < nQ && j >= 0 && j < ny) {
+ double p2 = p * p;
+ #pragma acc atomic
+ TOF_N[i][j] = TOF_N[i][j] + 1;
+ #pragma acc atomic
+ TOF_p[i][j] = TOF_p[i][j] + p;
+ #pragma acc atomic
+ TOF_p2[i][j] = TOF_p2[i][j] + p2;
+ }
+ if (restore_neutron) {
+ RESTORE_NEUTRON (INDEX_CURRENT_COMP, x, y, z, vx, vy, vz, t, sx, sy, sz, p);
+ }
}
%}
diff --git a/mcstas-comps/monitors/TOF_cylPSD_monitor.comp b/mcstas-comps/monitors/TOF_cylPSD_monitor.comp
index 8b6c2131cc..54e8caf69c 100644
--- a/mcstas-comps/monitors/TOF_cylPSD_monitor.comp
+++ b/mcstas-comps/monitors/TOF_cylPSD_monitor.comp
@@ -76,37 +76,37 @@ TRACE
int i, j;
double cyl_t0, cyl_t1, dt, phi;
- if (!cylinder_intersect (&cyl_t0, &cyl_t1, x, y, z, vx, vy, vz, radius, yheight))
- /* No hit */
- ABSORB;
- if (cyl_t0 > 0) /* Neutron hits cylinder from the outside */
- ABSORB;
- dt = cyl_t1;
- PROP_DT (dt);
- if (y >= yheight / 2 || y <= -yheight / 2)
- ABSORB; /* Neutron hits cylinder ends; no detectors here */
-
- i = floor ((t - tt_0) * nt / (tt_1 - tt_0)); /* Bin number */
-
- if (i < 0 || i >= nt) /* Do not detect */
- {
+ int hit = cylinder_intersect (&cyl_t0, &cyl_t1, x, y, z, vx, vy, vz, radius, yheight);
+ /* No hit, hit from the outside, or exit through the cylinder ends (no detectors there) */
+ if (!hit || cyl_t0 > 0 || (hit & 24)) {
+ if (!restore_neutron)
+ ABSORB;
} else {
- phi = atan2 (x, z);
- j = floor ((double)nphi / 2.0 + RAD2DEG * phi / (double)binphi);
- if (j < 0)
- j = 0; /* rounding at phi == -PI */
- if (j >= nphi)
- j = nphi - 1; /* phi == PI */
- double p2 = p * p;
- #pragma acc atomic
- TOF_N[i][j] = TOF_N[i][j] + 1;
- #pragma acc atomic
- TOF_p[i][j] = TOF_p[i][j] + p;
- #pragma acc atomic
- TOF_p2[i][j] = TOF_p2[i][j] + p2;
- }
- if (restore_neutron) {
- RESTORE_NEUTRON (INDEX_CURRENT_COMP, x, y, z, vx, vy, vz, t, sx, sy, sz, p);
+ dt = cyl_t1;
+ PROP_DT (dt);
+
+ i = floor ((t - tt_0) * nt / (tt_1 - tt_0)); /* Bin number */
+
+ if (i < 0 || i >= nt) /* Do not detect */
+ {
+ } else {
+ phi = atan2 (x, z);
+ j = floor ((double)nphi / 2.0 + RAD2DEG * phi / (double)binphi);
+ if (j < 0)
+ j = 0; /* rounding at phi == -PI */
+ if (j >= nphi)
+ j = nphi - 1; /* phi == PI */
+ double p2 = p * p;
+ #pragma acc atomic
+ TOF_N[i][j] = TOF_N[i][j] + 1;
+ #pragma acc atomic
+ TOF_p[i][j] = TOF_p[i][j] + p;
+ #pragma acc atomic
+ TOF_p2[i][j] = TOF_p2[i][j] + p2;
+ }
+ if (restore_neutron) {
+ RESTORE_NEUTRON (INDEX_CURRENT_COMP, x, y, z, vx, vy, vz, t, sx, sy, sz, p);
+ }
}
%}
diff --git a/mcstas-comps/monitors/monitors_examples.txt b/mcstas-comps/monitors/monitors_examples.txt
index 67e72a8373..034bf54807 100644
--- a/mcstas-comps/monitors/monitors_examples.txt
+++ b/mcstas-comps/monitors/monitors_examples.txt
@@ -45,7 +45,7 @@ DivPos_monitor is used in 2 example(s):
- Test_FlatEllipse_finite_mirror.instr
- Test_NMO.instr
---------------------------------------
-Divergence_monitor is used in 21 example(s):
+Divergence_monitor is used in 23 example(s):
- FRMII_SPODI.instr
- FRMII_SPODI_MULTI.instr
- HZB_FLEX.instr
@@ -56,11 +56,13 @@ Divergence_monitor is used in 21 example(s):
- LLB_6T2.instr
- Tools_ONION.instr
- PSI_Focus.instr
-- PSI_ICON.instr
+- PSI_ICON_beamline.instr
- RITA-II.instr
- BTsimple.instr
- Test_RNG_randvec_target_rect_angular.instr
- Test_Monitor_nD.instr
+- Test_Monitor_nD_noacc.instr
+- Test_Guide_four_side.instr
- Test_focus.instr
- Test_V_cavity_SNAG_double_side.instr
- Test_V_cavity_SNAG_single_side.instr
@@ -68,9 +70,10 @@ Divergence_monitor is used in 21 example(s):
- Test_single_magnetic_crystal.instr
- Test_texture.instr
---------------------------------------
-EPSD_monitor is used in 0 example(s):
+EPSD_monitor is used in 1 example(s):
+- Test_Monitors_flat.instr
---------------------------------------
-E_monitor is used in 25 example(s):
+E_monitor is used in 27 example(s):
- ESS_IN5_reprate.instr
- HZB_FLEX.instr
- ISIS_LET.instr
@@ -87,11 +90,13 @@ E_monitor is used in 25 example(s):
- TAS1_Vana.instr
- SNS_BASIS.instr
- Test_Monitor_nD.instr
+- Test_Monitor_nD_noacc.instr
- Test_Monochromator_bent_complex.instr
- Test_focus.instr
- Samples_Phonon.instr
- Samples_SpinWave_BCO.instr
- Test_Magnon_bcc_TAS.instr
+- Test_Phonon_BvK_PG.instr
- Test_TasReso.instr
- Test_Source_quasi.instr
- IncoherentPhonon_test.instr
@@ -102,16 +107,19 @@ Event_monitor_simple is used in 3 example(s):
- Test_Magnon_bcc_2D.instr
- Test_Sources.instr
---------------------------------------
-Flex_monitor_1D is used in 1 example(s):
+Flex_monitor_1D is used in 2 example(s):
- Test_Monitor_nD.instr
+- Test_Monitor_nD_noacc.instr
---------------------------------------
-Flex_monitor_2D is used in 2 example(s):
+Flex_monitor_2D is used in 3 example(s):
- Test_Monitor_nD.instr
- Test_Monitor_nD_10_uservars.instr
+- Test_Monitor_nD_noacc.instr
---------------------------------------
-Flex_monitor_3D is used in 0 example(s):
+Flex_monitor_3D is used in 1 example(s):
+- Test_Monitors_flat.instr
---------------------------------------
-L_monitor is used in 70 example(s):
+L_monitor is used in 81 example(s):
- ESS_BEER_MCPL.instr
- ESS_IN5_reprate.instr
- ESS_Testbeamline_HZB_V20.instr
@@ -140,7 +148,7 @@ L_monitor is used in 70 example(s):
- PSI_DMC.instr
- PSI_DMC_simple.instr
- PSI_Focus.instr
-- PSI_ICON.instr
+- PSI_ICON_beamline.instr
- RITA-II.instr
- SNS_BASIS.instr
- SEMSANS_instrument.instr
@@ -152,16 +160,23 @@ L_monitor is used in 70 example(s):
- templateSasView.instr
- Test_KDSource.instr
- Test_Monitor_nD.instr
+- Test_Monitor_nD_noacc.instr
- Test_Al_windows.instr
+- Test_Bispectral_mirrors.instr
- Test_Conics_pairs.instr
- Test_Mirror_FlatEllipse.instr
- Test_Mirror_conic.instr
- Test_Monochromators.instr
+- Test_PerfectCrystal.instr
- Test_Pol_Bender_Vs_Guide_Curved.instr
+- Test_Pol_bender_tapering.instr
+- Test_Sapphire_filter.instr
- Test_Vertical_Bender.instr
- Test_filters.instr
- Test_focus.instr
- Test_NeXus_comp_par_runtime.instr
+- Test_NeXus_output.instr
+- Test_mcplot_loader.instr
- SE_example.instr
- SE_example2.instr
- Supermirror_thin_substrate.instr
@@ -173,10 +188,14 @@ L_monitor is used in 70 example(s):
- Test_V_cavity_SNAG_double_side.instr
- Test_V_cavity_SNAG_single_side.instr
- Test_Magnon_bcc_TAS.instr
+- Test_Phonon_BvK_PG.instr
+- Test_SiC.instr
- Test_TasReso.instr
- Test_single_magnetic_crystal.instr
- Unittest_SANS_benchmark2.instr
+- Test_Source_adapt.instr
- test_Source_custom.instr
+- Test_Source_multi_surfaces.instr
- Test_Source_pulsed.instr
- Test_Source_quasi.instr
- Test_texture.instr
@@ -198,7 +217,7 @@ MeanPolLambda_monitor is used in 13 example(s):
- Test_V_cavity_SNAG_double_side.instr
- Test_V_cavity_SNAG_single_side.instr
---------------------------------------
-Monitor is used in 13 example(s):
+Monitor is used in 15 example(s):
- ILL_H5.instr
- ILL_H5_new.instr
- ISIS_Prisma2.instr
@@ -211,11 +230,14 @@ Monitor is used in 13 example(s):
- TAS1_Vana.instr
- Test_KDSource.instr
- Unittest_PROP_NO_G.instr
+- Test_NeXus_output.instr
+- Test_mcplot_loader.instr
- Test_Dispersion_relation_TAS.instr
---------------------------------------
-Monitor_4PI is used in 0 example(s):
+Monitor_4PI is used in 1 example(s):
+- Test_Monitors_cyl.instr
---------------------------------------
-Monitor_nD is used in 148 example(s):
+Monitor_nD is used in 155 example(s):
- ESS_BEER_MCPL.instr
- ESS_KVASIR.instr
- ESS_Testbeamline_HZB_V20.instr
@@ -286,7 +308,8 @@ Monitor_nD is used in 148 example(s):
- Union_NCrystal_mix_example.instr
- PSI_DMC.instr
- PSI_DMC_simple.instr
-- PSI_ICON.instr
+- PSI_ICON_camera.instr
+- PSI_ICON_foils.instr
- RITA-II.instr
- SNS_ARCS.instr
- SNS_BASIS.instr
@@ -303,12 +326,15 @@ Monitor_nD is used in 148 example(s):
- Test_MCPL_input.instr
- Test_MCPL_input_once.instr
- Test_MCPL_output.instr
+- Test_MCPL_output_noacc.instr
- Test_Jump_Iterate.instr
- Unittest_USERVARS_TYPES.instr
- Test_Cyl_monitors.instr
- Test_Monitor_nD.instr
- Test_Monitor_nD_10_uservars.instr
+- Test_Monitor_nD_BINS.instr
- Test_Monitor_nD_list_MPI.instr
+- Test_Monitors_cyl.instr
- Test_TOF_PSDmonitor_toQ.instr
- Test_Collimator_Radial.instr
- Test_Fermi.instr
@@ -320,6 +346,7 @@ Monitor_nD is used in 148 example(s):
- Test_Selectors.instr
- Test_StatisticalChopper.instr
- Test_NeXus_comp_par_runtime.instr
+- Test_NeXus_output.instr
- He3_spin_filter.instr
- Samples_Incoherent.instr
- Samples_Incoherent_off.instr
@@ -341,11 +368,13 @@ Monitor_nD is used in 148 example(s):
- Test_MCViNE_SQ_elastic.instr
- Test_MCViNE_SvQ.instr
- Test_PowderN_Res.instr
+- Test_PowderN_porous.instr
- Test_Sqw_monitor.instr
- Test_Source_pulsed.instr
- Test_Sources.instr
- External_component_test.instr
- IncoherentPhonon_test.instr
+- Test_AF_HB_1D.instr
- Histogrammer.instr
- MCPL2Mantid_flat.instr
- MCPL2hist.instr
@@ -365,17 +394,17 @@ Monitor_nD is used in 148 example(s):
- Single_crystal_validation.instr
- SimplePowderDiffractometer.instr
---------------------------------------
-Monitor_nD_noacc is used in 0 example(s):
+Monitor_nD_noacc is used in 1 example(s):
+- Test_Monitor_nD_noacc.instr
---------------------------------------
-PSD_TOF_monitor is used in 0 example(s):
+PSD_TOF_monitor is used in 1 example(s):
+- Test_Monitors_flat.instr
---------------------------------------
-PSD_monitor is used in 161 example(s):
+PSD_monitor is used in 195 example(s):
- BNL_H8.instr
- BNL_H8_simple.instr
- h8_test_legacy.instr
- Test_FZP_simple.instr
-- Vin_test.instr
-- Vout_test.instr
- ESS_BEER_MCPL.instr
- ESS_IN5_reprate.instr
- ESS_MCPL_generate_filtered.instr
@@ -412,7 +441,7 @@ PSD_monitor is used in 161 example(s):
- PSI_DMC.instr
- PSI_DMC_simple.instr
- PSI_Focus.instr
-- PSI_ICON.instr
+- PSI_ICON_beamline.instr
- PSI_source.instr
- RITA-II.instr
- TAS1_Diff_Vana.instr
@@ -450,22 +479,31 @@ PSD_monitor is used in 161 example(s):
- Unittest_USERVARS_TYPES.instr
- Test_Cyl_monitors.instr
- Test_Monitor_nD.instr
+- Test_Monitor_nD_noacc.instr
+- Test_Monitors_flat.instr
- Test_Radial_div.instr
- Test_Al_windows.instr
+- Test_Bispectral_mirrors.instr
- Test_Conics_pairs.instr
- Test_DiskChoppers.instr
- Test_DiskChoppers2.instr
- Test_FlatEllipse_finite_mirror.instr
- Test_FocalisationMirrors.instr
+- Test_Guide_four_side.instr
+- Test_Mask.instr
- Test_Monochromator_bent.instr
- Test_Monochromator_bent_complex.instr
- Test_Monochromators.instr
- Test_NMO.instr
- Test_Pol_Bender_Vs_Guide_Curved.instr
+- Test_Pol_bender_tapering.instr
- Test_Vertical_Bender.instr
- Test_focus.instr
+- Test_multi_pipe.instr
- Test_NeXus_comp_par_runtime.instr
+- Test_NeXus_output.instr
- Test_mcdisplay_shapes.instr
+- Test_mcplot_loader.instr
- SE_example.instr
- SE_example2.instr
- Supermirror_thin_substrate.instr
@@ -478,14 +516,18 @@ PSD_monitor is used in 161 example(s):
- GISANS_tests.instr
- Samples_Incoherent.instr
- Test_Incoherent_MS.instr
+- Test_Phonon_BvK_PG.instr
+- Test_PowderN_porous.instr
- Test_Powders.instr
- Test_SANS.instr
- Test_SX.instr
- Test_Sans_spheres.instr
+- Test_SiC.instr
- Test_TOFRes_sample.instr
- Test_TasReso.instr
- Test_single_magnetic_crystal.instr
- Unittest_SANS_benchmark2.instr
+- Test_Source_multi_surfaces.instr
- Test_Source_quasi.instr
- Conditional_test.instr
- External_component_test.instr
@@ -498,6 +540,7 @@ PSD_monitor is used in 161 example(s):
- Test_abs_logger_1D_space_t.instr
- Test_abs_logger_1D_space_t_lam.instr
- Test_abs_logger_1D_t.instr
+- Test_abs_logger_1D_time.instr
- Test_abs_logger_2D_space.instr
- Test_abs_logger_event.instr
- Test_abs_logger_nD.instr
@@ -531,6 +574,28 @@ PSD_monitor is used in 161 example(s):
- Reflectometer.instr
- SANSsimple.instr
- SANSsimpleSpheres.instr
+- Test_lib_ESS_butterfly_lib.instr
+- Test_lib_adapt_tree_lib.instr
+- Test_lib_conic.instr
+- Test_lib_cov_lib.instr
+- Test_lib_ess_source_lib.instr
+- Test_lib_general.instr
+- Test_lib_geometry_mesh_lib.instr
+- Test_lib_interoff_lib.instr
+- Test_lib_interpolation_lib.instr
+- Test_lib_mccode_complex_lib.instr
+- Test_lib_metadata.instr
+- Test_lib_monitor_nd_lib.instr
+- Test_lib_nanodiscs.instr
+- Test_lib_plane.instr
+- Test_lib_pol_lib.instr
+- Test_lib_polyhedron.instr
+- Test_lib_read_table.instr
+- Test_lib_ref_lib.instr
+- Test_lib_sans_J1.instr
+- Test_lib_supermirror_lib.instr
+- Test_lib_tinyexpr.instr
+- Test_lib_union_lib.instr
---------------------------------------
PSD_monitor_4PI is used in 45 example(s):
- ESS_MCPL_generate_filtered.instr
@@ -585,23 +650,26 @@ PSD_monitor_4PI_spin is used in 1 example(s):
PSD_monitor_TOF is used in 1 example(s):
- templateNMX_TOF.instr
---------------------------------------
-PSD_monitor_psf is used in 0 example(s):
+PSD_monitor_psf is used in 1 example(s):
+- Test_Monitors_flat.instr
---------------------------------------
PSD_monitor_psf_eff is used in 1 example(s):
- RITA-II.instr
---------------------------------------
-PSDcyl_monitor is used in 0 example(s):
+PSDcyl_monitor is used in 1 example(s):
+- Test_Cyl_monitors.instr
---------------------------------------
PSDlin_diff_monitor is used in 2 example(s):
- Radiography_Lithium_Battery.instr
- Radiography_absorbing_edge.instr
---------------------------------------
-PSDlin_monitor is used in 11 example(s):
+PSDlin_monitor is used in 12 example(s):
- FRMII_SPODI_MULTI.instr
- HZB_FLEX.instr
- PSI_DMC.instr
- PSI_DMC_simple.instr
-- PSI_ICON.instr
+- PSI_ICON_beamline.instr
+- PSI_ICON_camera.instr
- Laue_camera.instr
- Tagging_demo.instr
- Incoherent_validation.instr
@@ -646,8 +714,9 @@ Sqw_monitor is used in 7 example(s):
TOF2E_monitor is used in 1 example(s):
- ESS_IN5_reprate.instr
---------------------------------------
-TOF2Q_cylPSD_monitor is used in 1 example(s):
+TOF2Q_cylPSD_monitor is used in 2 example(s):
- TOF_Reflectometer.instr
+- Test_Monitors_cyl.instr
---------------------------------------
TOFLambda_monitor is used in 7 example(s):
- ESS_BEER_MCPL.instr
@@ -661,11 +730,13 @@ TOFLambda_monitor is used in 7 example(s):
TOFRes_monitor is used in 1 example(s):
- Test_TOFRes_sample.instr
---------------------------------------
-TOF_PSD_monitor_rad is used in 0 example(s):
+TOF_PSD_monitor_rad is used in 1 example(s):
+- Test_Monitors_flat.instr
---------------------------------------
-TOF_cylPSD_monitor is used in 0 example(s):
+TOF_cylPSD_monitor is used in 1 example(s):
+- Test_Monitors_cyl.instr
---------------------------------------
-TOF_monitor is used in 16 example(s):
+TOF_monitor is used in 18 example(s):
- ESS_IN5_reprate.instr
- ESS_Testbeamline_HZB_V20.instr
- ISIS_LET.instr
@@ -674,14 +745,17 @@ TOF_monitor is used in 16 example(s):
- ISIS_Prisma2.instr
- ISIS_TOSCA_preupgrade.instr
- ISIS_TOSCA_preupgrade_Mantid.instr
+- FlipChop_Hyspec.instr
- SNS_BASIS.instr
- SNS_analytic_test.instr
- SNS_test.instr
- SEMSANS_instrument.instr
- Test_Monitor_nD.instr
+- Test_Monitor_nD_noacc.instr
- Test_DiskChoppers2.instr
- test_Source_custom.instr
- Test_Source_pulsed.instr
---------------------------------------
-TOFlog_monitor is used in 0 example(s):
+TOFlog_monitor is used in 1 example(s):
+- Test_Monitors_flat.instr
---------------------------------------
diff --git a/mcstas-comps/obsolete/Beam_spy.comp b/mcstas-comps/obsolete/Beam_spy.comp
deleted file mode 100644
index f5dc28af64..0000000000
--- a/mcstas-comps/obsolete/Beam_spy.comp
+++ /dev/null
@@ -1,215 +0,0 @@
-/*******************************************************************************
-*
-* McStas, neutron ray-tracing package
-* Copyright 1997-2002, All rights reserved
-* Risoe National Laboratory, Roskilde, Denmark
-* Institut Laue Langevin, Grenoble, France
-*
-* Component: Beam_spy
-*
-* %I
-*
-* Written by: E. Farhi
-* Date: Nov 2005
-* Version: $Revision$
-* Release: McStas 1.9
-* Origin: Risoe
-*
-* Beam analyzer for previous component
-*
-* %D
-* This component displays informations about the beam at the previous component
-* position. No data file is produced.
-* It behaves as the Monitor component, but No propagation to the Beam_spy is
-* performed, and all events are analyzed.
-* The component should be located at the same position as the previous one.
-*
-* %P
-* Input parameters:
-*
-* %L
-* Monitor component
-* %E
-*******************************************************************************/
-
-DEFINE COMPONENT Beam_spy
-
-SETTING PARAMETERS ()
-
-/* Neutron parameters: (x,y,z,vx,vy,vz,t,sx,sy,sz,p) */
-DECLARE
-%{
- double n_neutrons;
- double n_neutrons_p;
- double n_neutrons_p2;
-
- double mean_x;
- double mean_y;
- double mean_z;
-
- double mean_vx;
- double mean_vy;
- double mean_vz;
-
- double mean_dx;
- double mean_dy;
- double mean_dz;
-
- double mean_t;
- double mean_v;
-
- double min_x;
- double min_y;
- double min_z;
-
- double max_x;
- double max_y;
- double max_z;
-
- double min_vx;
- double min_vy;
- double min_vz;
-
- double max_vx;
- double max_vy;
- double max_vz;
-%}
-
-INITIALIZE
-%{
- n_neutrons = 0;
- n_neutrons_p = 0;
- n_neutrons_p2 = 0;
-
- mean_x = 0;
- mean_y = 0;
- mean_z = 0;
-
- mean_vx = 0;
- mean_vy = 0;
- mean_vz = 0;
-
- mean_dx = 0;
- mean_dy = 0;
- mean_dz = 0;
-
- mean_t = 0;
- mean_v = 0;
-
- min_x = FLT_MAX;
- min_y = FLT_MAX;
- min_z = FLT_MAX;
-
- max_x = -FLT_MAX;
- max_y = -FLT_MAX;
- max_z = -FLT_MAX;
-
- min_vx = FLT_MAX;
- min_vy = FLT_MAX;
- min_vz = FLT_MAX;
-
- max_vx = -FLT_MAX;
- max_vy = -FLT_MAX;
- max_vz = -FLT_MAX;
-%}
-
-TRACE
-%{
- double v;
-
- mean_x += p * x;
- mean_y += p * y;
- mean_z += p * z;
- mean_vx += p * vx;
- mean_vy += p * vy;
- mean_vz += p * vz;
- mean_t += p * t;
- v = sqrt (vx * vx + vy * vy + vz * vz);
- if (v) {
- mean_dx += p * fabs (vx / v);
- mean_dy += p * fabs (vy / v);
- mean_dz += p * fabs (vz / v);
- mean_v += p * v;
- }
- if (x < min_x)
- min_x = x;
- if (y < min_y)
- min_y = y;
- if (z < min_z)
- min_z = z;
- if (vx < min_vx)
- min_vx = vx;
- if (vy < min_vy)
- min_vy = vy;
- if (vz < min_vz)
- min_vz = vz;
- if (x > max_x)
- max_x = x;
- if (y > max_y)
- max_y = y;
- if (z > max_z)
- max_z = z;
- if (vx > max_vx)
- max_vx = vx;
- if (vy > max_vy)
- max_vy = vy;
- if (vz > max_vz)
- max_vz = vz;
- n_neutrons++;
- n_neutrons_p += p;
- n_neutrons_p2 += p * p;
-%}
-
-SAVE
-%{
- double mean_k, mean_w = 0, mean_L = 0;
- double smean_vx, smean_vy, smean_vz, smean_dx, smean_dy, smean_dz;
- double smean_x, smean_y, smean_z, smean_t, smean_v;
- Coords c;
-
- c = POS_A_CURRENT_COMP;
- /* display statitics */
- smean_x = mean_x / n_neutrons_p;
- smean_y = mean_y / n_neutrons_p;
- smean_z = mean_z / n_neutrons_p;
- smean_vx = mean_vx / n_neutrons_p;
- smean_vy = mean_vy / n_neutrons_p;
- smean_vz = mean_vz / n_neutrons_p;
- smean_dx = mean_dx / n_neutrons_p;
- smean_dy = mean_dy / n_neutrons_p;
- smean_dz = mean_dz / n_neutrons_p;
- smean_t = mean_t / n_neutrons_p;
- smean_v = mean_v / n_neutrons_p;
- /* now estimates total ncount */
-
- mean_k = V2K * smean_v;
- if (mean_k)
- mean_L = 2 * PI / mean_k;
- mean_w = VS2E * smean_v * smean_v;
- printf ("Beam analysis for Component preceeding %s\n", NAME_CURRENT_COMP);
- printf ("Absolute position AT (%g, %g, %g)\n", c.x, c.y, c.z);
-
- printf (" Beam size (full width in [m]): ");
- printf (" dX=%g dY=%g dZ=%g\n", max_x - min_x, max_y - min_y, max_z - min_z);
- printf (" Beam center (in [m]): ");
- printf (" X0=%g Y0=%g Z0=%g\n", smean_x, smean_y, smean_z);
- printf (" Beam velocity divergence (half width in [deg]):");
- printf (" dVx=%g dVy=%g dVz=%g\n", atan (smean_dx) * RAD2DEG, atan (smean_dy) * RAD2DEG, atan (smean_dz) * RAD2DEG);
- printf (" Beam speed (in [m/s]): ");
- printf (" Vx=%g Vy=%g Vz=%g\n", smean_vx, smean_vy, smean_vz);
- printf (" Beam mean energy:\n");
- printf (" speed=%g [m/s] energy=%g [meV]\n wavelength=%g [Angs] wavevector=%g [Angs-1]\n", smean_v, mean_w, mean_L, mean_k);
- printf (" Mean arrival time: t=%g [s]\n", smean_t);
- DETECTOR_OUT_0D ("Beam analyzer " NAME_CURRENT_COMP, n_neutrons, n_neutrons_p, n_neutrons_p2);
-%}
-
-MCDISPLAY
-%{
- /* A bit ugly; hard-coded dimensions. */
-
- line (0, 0, 0, 0.2, 0, 0);
- line (0, 0, 0, 0, 0.2, 0);
- line (0, 0, 0, 0, 0, 0.2);
-%}
-
-END
diff --git a/mcstas-comps/obsolete/SasView_model.comp b/mcstas-comps/obsolete/SasView_model.comp
deleted file mode 100644
index 2aeba7fbeb..0000000000
--- a/mcstas-comps/obsolete/SasView_model.comp
+++ /dev/null
@@ -1,2346 +0,0 @@
-/*******************************************************************************
-*
-* Component: SasView_model
-*
-* %I
-* Written by: Jakob Garde, Torben Nielsen, Peter Willendrup
-* Date: 03.02.2016
-* Origin: SasView, DTU, European Spallation Source ERIC
-*
-* This SANS sample exposes SasView's scattering kernels to McStas. In this way SasView's monodisperse scattering kernels can be call from McStas.
-*
-* %D
-* OBSOLETE - we recommend using individual component models form the sasmodels
selection.
-* If you keep using this component, be aware that the URLs listed in the table below are broken, please refer to the
-* new revamped SasView model page.
-*
-* Sample for use in SANS instruments. The models describe mono disperse particles in thin solution. The sample geometry may have the shape:
-*
-* Shape: - A filled box with dimensions xwidth, yheight and zdepth.
-* - A cylinder with dimensions radius and yheight.
-* - A filled sphere given by radius.
-*
-* These parameters are mutually exclusive.
-*
-* Example using spheres in thin solution, with radius=200 AA and a delta_sld=0.6 fm/AA^3:
-* SasView_model(model_index=47, model_scale=1.0, model_pars={1, 7, 200}, model_abs=0.0, xwidth=0.01, yheight=0.01, zdepth=0.005,)
-*
-*
-* The algorithm of this component requires use of the ISO C standard c99, standard from McStas 2.7 and 3.0.
-*
-* The list of scattering models in SasView is called sasmodels. The list of McStas available SasView sasmodels are found in the table below.
-*
-* A few models may require manual documentation lookup using the above link to the SasView site.
-*
-* McStas does currently not support multiplication of formfactor models with structure factor models.
-*
-* The 2D scattering scattering kernels are denoted by modelname_xy. I.e. to evalulate scattering from aligned cylinders use model_index=10 to use cylinder_xy.
-*
-* MDOC
-*
-* | Model no. | SasView name | Parameters |
-* | 0 | None | None |
-* | 1 | barbell | (sld, solvent_sld, bell_radius, radius, length) |
-* | 2 | barbell_xy | (sld, solvent_sld, bell_radius, radius, length, theta, phi) |
-* | 3 | bcc_paracrystal | (dnn, d_factor, radius, sld, solvent_sld) |
-* | 4 | bcc_paracrystal_xy | (dnn, d_factor, radius, sld, solvent_sld, theta, phi, psi) |
-* | 5 | capped_cylinder | (sld, solvent_sld, radius, cap_radius, length) |
-* | 6 | capped_cylinder_xy | (sld, solvent_sld, radius, cap_radius, length, theta, phi) |
-* | 7 | core_shell_cylinder | (core_sld, shell_sld, solvent_sld, radius, thickness, length) |
-* | 8 | core_shell_cylinder_xy | (core_sld, shell_sld, solvent_sld, radius, thickness, length, theta, phi) |
-* | 9 | cylinder | (sld, solvent_sld, radius, length) |
-* | 10 | cylinder_xy | (sld, solvent_sld, radius, length, theta, phi) |
-* | 11 | dab | (length) |
-* | 12 | dab_xy | (length) |
-* | 13 | ellipsoid | (sld, solvent_sld, rpolar, requatorial) |
-* | 14 | ellipsoid_xy | (sld, solvent_sld, rpolar, requatorial, theta, phi) |
-* | 15 | fcc_paracrystal | (dnn, d_factor, radius, sld, solvent_sld) |
-* | 16 | fcc_paracrystal_xy | (dnn, d_factor, radius, sld, solvent_sld, theta, phi, psi) |
-* | 17 | flexible_cylinder_ex | (length, kuhn_length, radius, axis_ratio, sld, solvent_sld) |
-* | 18 | flexible_cylinder_ex_xy | (length, kuhn_length, radius, axis_ratio, sld, solvent_sld) |
-* | 19 | gaussian_peak | (q0, sigma) |
-* | 20 | gaussian_peak_xy | (q0, sigma) |
-* | 21 | guinier | (rg) |
-* | 22 | guinier_xy | (rg) |
-* | 23 | hardsphere | (effect_radius, volfraction) |
-* | 24 | hardsphere_xy | (effect_radius, volfraction) |
-* | 25 | HayterMSAsq | (effect_radius, zz, VolFrac, Temp, csalt, dialec) |
-* | 26 | HayterMSAsq_xy | (effect_radius, charge, volfraction, temperature, saltconc, dielectconst) |
-* | 27 | hollow_cylinder | (radius, core_radius, length, sld, solvent_sld) |
-* | 28 | hollow_cylinder_xy | (radius, core_radius, length, sld, solvent_sld, theta, phi) |
-* | 29 | lamellar | (sld, solvent_sld, thickness) |
-* | 30 | lamellar_xy | (sld, solvent_sld, thickness) |
-* | 31 | lamellar_FFHG | (tail_length, head_length, sld, head_sld, solvent_sld) |
-* | 32 | lamellar_FFHG_xy | (tail_length, head_length, sld, head_sld, solvent_sld) |
-* | 33 | lamellarCailleHG | (tail_length, head_length, Nlayers, dd, Cp, tail_sld, head_sld, solvent_sld) |
-* | 34 | lamellarCailleHG_xy | (tail_length, head_length, Nlayers, spacing, Caille_parameter, sld, head_sld, solvent_sld) |
-* | 35 | lamellarPC | (th, Nlayers, davg, pd, sld, solvent_sld) |
-* | 36 | lamellarPC_xy | (thickness, Nlayers, spacing, spacing_polydisp, sld, solvent_sld) |
-* | 37 | lamellarPS | (del, Nlayers, dd, Cp, sld, solvent_sld) |
-* | 38 | lamellarPS_xy | (thickness, Nlayers, spacing, Caille_parameter, sld, solvent_sld) |
-* | 39 | linear_pearls | (radius, edge_sep, num_pearls, pearl_sld, solvent_sld) |
-* | 40 | linear_pearls_xy | (radius, edge_sep, num_pearls, pearl_sld, solvent_sld) |
-* | 41 | lorentz | (cor_length) |
-* | 42 | lorentz_xy | (cor_length) |
-* | 43 | mass_fractal | (radius, mass_dim, cutoff_length) |
-* | 44 | mass_fractal_xy | (radius, mass_dim, cutoff_length) |
-* | 45 | mass_surface_fractal | (mass_dim, surface_dim, cluster_rg, primary_rg) |
-* | 46 | mass_surface_fractal_xy | (mass_dim, surface_dim, cluster_rg, primary_rg) |
-* | 47 | parallelepiped | (sld, solvent_sld, a_side, b_side, c_side) |
-* | 48 | parallelepiped_xy | (sld, solvent_sld, a_side, b_side, c_side, theta, phi, psi) |
-* | 49 | pearl_necklace | (radius, edge_separation, string_thickness, number_of_pearls, sld, string_sld, solvent_sld) |
-* | 50 | pearl_necklace_xy | (radius, edge_separation, string_thickness, number_of_pearls, sld, string_sld, solvent_sld) |
-* | 51 | sphere | (sld, solvent_sld, radius) |
-* | 52 | sphere_xy | (sld, solvent_sld, radius) |
-* | 53 | star_polymer | (radius2, arms) |
-* | 54 | star_polymer_xy | (radius2, arms) |
-* | 55 | stickyhardsphere | (effect_radius, volfraction, perturb, stickiness) |
-* | 56 | stickyhardsphere_xy | (effect_radius, volfraction, perturb, stickiness) |
-* | 57 | triaxial_ellipsoid | (sld, solvent_sld, req_minor, req_major, rpolar) |
-* | 58 | triaxial_ellipsoid_xy | (sld, solvent_sld, req_minor, req_major, rpolar, theta, phi, psi) |
-*
-*
-*
-*
-* Available SasView sasmodels - Extended parameters description
-*
-*
-* | sasmodels name |
-* Parameters |
-* Units |
-* Range |
-*
-*
-* | barbell |
-* { 4, 1, 40, 20, 400 } |
-* |
-* |
-*
-*
-* | barbell_xy |
-* { 4, 1, 40, 20, 400, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Barbell scattering length density |
-* 4e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Spherical bell radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylindrical bar radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder bar length |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | bcc |
-* { 220, 0.06, 40, 4, 1 } |
-* |
-* |
-*
-*
-* | bcc_xy |
-* { 220, 0.06, 40, 4, 1, 60, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Nearest neighbour distance |
-* Ang |
-* [-inf, inf] |
-*
-*
-* | |
-* Paracrystal distortion factor |
-* |
-* [-inf, inf] |
-*
-*
-* | |
-* Particle radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Particle scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | capped_cylinder |
-* { 4, 1, 20, 20, 400 } |
-* |
-* |
-*
-*
-* | capped_cylinder_xy |
-* { 4, 1, 20, 20, 400, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Cylinder scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Cylinder radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cap radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder length |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | core_shell_cylinder |
-* { 4, 4, 1, 20, 20, 400 } |
-* |
-* |
-*
-*
-* | core_shell_cylinder_xy |
-* { 4, 4, 1, 20, 20, 400, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Cylinder core scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Cylinder shell scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Cylinder core radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder shell thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder length |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | cylinder |
-* { 4, 1, 20, 400 } |
-* |
-* |
-*
-*
-* | cylinder_xy |
-* { 4, 1, 20, 400, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Cylinder scattering length density |
-* 4e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Cylinder radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder length |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | dab |
-* { 50.0 } |
-* |
-* |
-*
-*
-* | dab_xy |
-* { 50.0 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* correlation length |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | ellipsoid |
-* { 4, 1, 20, 400 } |
-* |
-* |
-*
-*
-* | ellipsoid_xy |
-* { 4, 1, 20, 400, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Ellipsoid scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Polar radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Equatorial radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | fcc |
-* { 220, 0.06, 40, 4, 1 } |
-* |
-* |
-*
-*
-* | fcc_xy |
-* { 220, 0.06, 40, 4, 1, 60, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Nearest neighbour distance |
-* Ang |
-* [-inf, inf] |
-*
-*
-* | |
-* Paracrystal distortion factor |
-* |
-* [-inf, inf] |
-*
-*
-* | |
-* Particle radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Particle scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | flexible_cylinder_ex |
-* { 1000.0, 100.0, 20.0, 1.5, 1.0, 6.3 } |
-* |
-* |
-*
-*
-* | flexible_cylinder_ex_xy |
-* { 1000.0, 100.0, 20.0, 1.5, 1.0, 6.3 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Length of the flexible cylinder |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Kuhn length of the flexible cylinder |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Radius of the flexible cylinder |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Axis_ratio (major_radius/radius |
-* |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | gaussian_peak |
-* { 0.05, 0.005 } |
-* |
-* |
-*
-*
-* | gaussian_peak_xy |
-* { 0.05, 0.005 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Peak position |
-* 1/Ang |
-* [-inf, inf] |
-*
-*
-* | |
-* Peak width (standard deviation) |
-* 1/Ang |
-* [0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | guinier |
-* { 60.0 } |
-* |
-* |
-*
-*
-* | guinier_xy |
-* { 60.0 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Radius of Gyration |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | hardsphere |
-* { 50.0, 0.2 } |
-* |
-* |
-*
-*
-* | hardsphere_xy |
-* { 50.0, 0.2 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* effective radius of hard sphere |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* volume fraction of hard spheres |
-* |
-* [0, 0.74] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | HayterMSAsq |
-* { 20.75, 19.0, 0.0192, 318.16, 0.0, 71.08 } |
-* |
-* |
-*
-*
-* | HayterMSAsq_xy |
-* { 20.75, 19.0, 0.0192, 318.16, 0.0, 71.08 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* effective radius of hard sphere |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* charge on sphere (in electrons) |
-* e |
-* [0, inf] |
-*
-*
-* | |
-* volume fraction of spheres |
-* |
-* [0, 0.74] |
-*
-*
-* | |
-* temperature, in Kelvin, for Debye length calculation |
-* K |
-* [0, inf] |
-*
-*
-* | |
-* conc of salt, 1:1 electolyte, for Debye length |
-* M |
-* [-inf, inf] |
-*
-*
-* | |
-* dielectric constant of solvent (default water), for Debye length |
-* |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | hollow_cylinder |
-* { 30.0, 20.0, 400.0, 6.3, 1 } |
-* |
-* |
-*
-*
-* | hollow_cylinder_xy |
-* { 30.0, 20.0, 400.0, 6.3, 1, 90, 0 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Cylinder radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Hollow core radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder length |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder sld |
-* 1/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent sld |
-* 1/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Theta angle |
-* degrees |
-* [-360, 360] |
-*
-*
-* | |
-* Phi angle |
-* degrees |
-* [-360, 360] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | lamellar |
-* { 1, 6, 50 } |
-* |
-* |
-*
-*
-* | lamellar_xy |
-* { 1, 6, 50 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Layer scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Bilayer thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | lamellarCaille |
-* { 30.0, 20, 400.0, 0.1, 6.3, 1.0 } |
-* |
-* |
-*
-*
-* | lamellarCaille_xy |
-* { 30.0, 20, 400.0, 0.1, 6.3, 1.0 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* sheet thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Number of layers |
-* |
-* [0, inf] |
-*
-*
-* | |
-* d-spacing of Caille S(Q) |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* Caille parameter |
-* 1/Ang^2 |
-* [0.0, 0.8] |
-*
-*
-* | |
-* layer scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | lamellarCailleHG |
-* { 10, 2, 30, 40.0, 0.001, 0.4, 2.0, 6 } |
-* |
-* |
-*
-*
-* | lamellarCailleHG_xy |
-* { 10, 2, 30, 40.0, 0.001, 0.4, 2.0, 6 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Tail thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* head thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Number of layers |
-* |
-* [0, inf] |
-*
-*
-* | |
-* d-spacing of Caille S(Q) |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* Caille parameter |
-* |
-* [0.0, 0.8] |
-*
-*
-* | |
-* Tail scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Head scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | lamellarFFHG |
-* { 15, 10, 0.4, 3.0, 6 } |
-* |
-* |
-*
-*
-* | lamellarFFHG_xy |
-* { 15, 10, 0.4, 3.0, 6 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Tail thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* head thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Tail scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Head scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | lamellarPC |
-* { 33.0, 20, 250.0, 0.0, 1.0, 6.34 } |
-* |
-* |
-*
-*
-* | lamellarPC_xy |
-* { 33.0, 20, 250.0, 0.0, 1.0, 6.34 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* sheet thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Number of layers |
-* |
-* [0, inf] |
-*
-*
-* | |
-* d-spacing of paracrystal stack |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* d-spacing polydispersity |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* layer scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | linear_pearls |
-* { 80.0, 350.0, 3.0, 1.0, 6.3 } |
-* |
-* |
-*
-*
-* | linear_pearls_xy |
-* { 80.0, 350.0, 3.0, 1.0, 6.3 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Radius of the pearls |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Length of the string segment - surface to surface |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Number of the pearls |
-* |
-* [0, inf] |
-*
-*
-* | |
-* SLD of the pearl spheres |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* SLD of the solvent |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | lorentz |
-* { 50.0 } |
-* |
-* |
-*
-*
-* | lorentz_xy |
-* { 50.0 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Screening length |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | mass_fractal |
-* { 10.0, 1.9, 100.0 } |
-* |
-* |
-*
-*
-* | mass_fractal_xy |
-* { 10.0, 1.9, 100.0 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Particle radius |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* Mass fractal dimension |
-* |
-* [1.0, 6.0] |
-*
-*
-* | |
-* Cut-off length |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | mass_surface_fractal |
-* { 1.8, 2.3, 86.7, 4000.0 } |
-* |
-* |
-*
-*
-* | mass_surface_fractal_xy |
-* { 1.8, 2.3, 86.7, 4000.0 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Mass fractal dimension |
-* |
-* [1e-16, 6.0] |
-*
-*
-* | |
-* Surface fractal dimension |
-* |
-* [1e-16, 6.0] |
-*
-*
-* | |
-* Cluster radius of gyration |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* Primary particle radius of gyration |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | parallelepiped |
-* { 4, 1, 35, 75, 400 } |
-* |
-* |
-*
-*
-* | parallelepiped_xy |
-* { 4, 1, 35, 75, 400, 60, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Parallelepiped scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Shorter side of the parallelepiped |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Second side of the parallelepiped |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Larger side of the parallelepiped |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Rotation angle around its own c axis against q plane |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | pearl_necklace |
-* { 80.0, 350.0, 2.5, 3, 1.0, 1.0, 6.3 } |
-* |
-* |
-*
-*
-* | pearl_necklace_xy |
-* { 80.0, 350.0, 2.5, 3, 1.0, 1.0, 6.3 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Mean radius of the chained spheres |
-* Angstrom |
-* [0, inf] |
-*
-*
-* | |
-* Mean separation of chained particles |
-* Angstrom |
-* [0, inf] |
-*
-*
-* | |
-* Thickness of the chain linkage |
-* Angstrom |
-* [0, inf] |
-*
-*
-* | |
-* Mean number of pearls in each necklace |
-* none |
-* [0, inf] |
-*
-*
-* | |
-* Scattering length density of the chained spheres |
-* Angstrom^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Scattering length density of the chain linkage |
-* Angstrom^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Scattering length density of the solvent |
-* Angstrom^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | sphere |
-* { 1, 6, 50 } |
-* |
-* |
-*
-*
-* | sphere_xy |
-* { 1, 6, 50 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Layer scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Sphere radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | star_polymer |
-* { 100.0, 3 } |
-* |
-* |
-*
-*
-* | star_polymer_xy |
-* { 100.0, 3 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Ensemble radius of gyration squared of an arm |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* Number of arms in the model |
-* |
-* [1.0, 6.0] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | stickyhardsphere |
-* { 50.0, 0.2, 0.05, 0.2 } |
-* |
-* |
-*
-*
-* | stickyhardsphere_xy |
-* { 50.0, 0.2, 0.05, 0.2 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* effective radius of hard sphere |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* volume fraction of hard spheres |
-* |
-* [0, 0.74] |
-*
-*
-* | |
-* perturbation parameter, epsilon |
-* |
-* [0.01, 0.1] |
-*
-*
-* | |
-* stickiness, tau |
-* |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | triaxial_ellipsoid |
-* { 4, 1, 20, 400, 10 } |
-* |
-* |
-*
-*
-* | triaxial_ellipsoid_xy |
-* { 4, 1, 20, 400, 10, 60, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Ellipsoid scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Minor equitorial radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Major equatorial radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Polar radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-*
-*
-* Name convention: SasView - sasmodels
-*
-*
-* | SasView name |
-* sasmodels name |
-* P(Q) |
-* S(Q) |
-* Multiply |
-* Multiplicity |
-*
-*
-* | BarBell |
-* barbell |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | BCCrystal |
-* bcc |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | CappedCylinder |
-* capped_cylinder |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | CoreShellCylinder |
-* core_shell_cylinder |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | Cylinder |
-* cylinder |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | DAB |
-* dab |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | Ellipsoid |
-* ellipsoid |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | FCCrystal |
-* fcc |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | FlexCylEllipX |
-* flexible_cylinder_ex |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | PeakGauss |
-* gaussian_peak |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | Guinier |
-* guinier |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | HardsphereStructure |
-* hardsphere |
-* - |
-* Y |
-* - |
-* - |
-*
-*
-* | HayterMSAStructure |
-* HayterMSAsq |
-* - |
-* Y |
-* - |
-* - |
-*
-*
-* | HollowCylinder |
-* hollow_cylinder |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | Lamellar |
-* lamellar |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | LamellarPS |
-* lamellarCaille |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | LamellarPSHG |
-* lamellarCailleHG |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | LamellarFFHG |
-* lamellarFFHG |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | LamellarPCrystal |
-* lamellarPC |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | LinearPearls |
-* linear_pearls |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | Lorentz |
-* lorentz |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | MassFractal |
-* mass_fractal |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | MassSurfaceFractal |
-* mass_surface_fractal |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | Parallelepiped |
-* parallelepiped |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | PearlNecklace |
-* pearl_necklace |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | Sphere |
-* sphere |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | StarPolymer |
-* star_polymer |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | StickyHSStructure |
-* stickyhardsphere |
-* - |
-* Y |
-* - |
-* - |
-*
-*
-* | TriaxialEllipsoid |
-* triaxial_ellipsoid |
-* - |
-* - |
-* - |
-* - |
-*
-*
-*
-*
-* MDOC_END
-*
-* %P
-* Definition parameters:
-*
-* model_index: [] Index of the applied sasview model. Recompile instrument for changes to take effect.
-* model_scale: [] Global scale factor for scattering kernel. For systems without inter-particle interference, the form factors can be related to the scattering intensity by the particle volume fraction.
-* model_pars: [] Model parameters are given as a set of comma-separated values enclosed by {}, e.g. {60} for the model index 21 (the guinier model). Consult the sasview docs for further info.
-* model_abs: [1/m] Absorption cross section density at 2200 m/s
-*
-* Input parameters:
-*
-* radius: [m] Outer radius of sample in (x,z) plane for cylinder/sphere
-* xwidth: [m] horiz. dimension of sample, as a width
-* yheight: [m] vert . dimension of sample, as a height for cylinder/box
-* zdepth: [m] depth of sample
-* target_index: [1] Relative index of component to focus at, e.g. next is +1
-* focus_xw: [m] horiz. dimension of a rectangular area
-* focus_yh: [m] vert. dimension of a rectangular area
-* focus_aw: [deg] horiz. angular dimension of a rectangular area
-* focus_ah: [deg] vert. angular dimension of a rectangular area
-* focus_r: [m] Detector (disk-shaped) radius
-*
-* Optional parameters:
-*
-* target_x: [m] relative focus target position
-* target_y: [m] relative focus target position
-* target_z: [m] relative focus target position
-*
-* CALCULATED PARAMETERS:
-*
-* my_s: Attenuation factor due to scattering [m^-1]
-*
-* %Link
-* http://www.sasview.org/sasview/user/models/model_functions.html
-*
-* %E
-*******************************************************************************/
-
-DEFINE COMPONENT SasView_model
-
-
-
-SETTING PARAMETERS (
- model_index=21,
- model_scale=1.0,
- vector model_pars={60,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
- model_abs=0.5,
- xwidth=0,
- yheight=0,
- zdepth=0,
- radius=0,
- target_x=0,
- target_y=0,
- target_z=6,
- int target_index=0,
- focus_xw=0,
- focus_yh=0,
- focus_aw=0,
- focus_ah=0,
- focus_r=0)
-
-
-/* Neutron parameters: (x,y,z,vx,vy,vz,t,sx,sy,sz,p) */
-
-
-
-SHARE %{
- %include "sasview_proxy.c"
-%}
-
-DECLARE
-%{
- double shape;
- double my_a_v;
- double modelpars[15];
-%}
-
-INITIALIZE
-%{
-
- int chosen = model_index;
- #ifndef SASmodel_index
- exit (fprintf (stderr,
- "SasView_model: %s: Your instrument was compiled without the define -DSASmodel_index \n"
- "ERROR Please recompile your instrument with -DSASmodel_index=%i to enable model_index=%i.\n",
- NAME_CURRENT_COMP, chosen, chosen));
- #else
- if (!(SASmodel_index == model_index)) {
- exit (fprintf (stderr,
- "SasView_model: %s: Your instrument was compiled with -DSASmodel_index=%i \n"
- "ERROR Please recompile your instrument with -DSASmodel_index=%i to enable model_index=%i\n",
- NAME_CURRENT_COMP, SASmodel_index, chosen, chosen));
-
- // int SASmodel_index=model_index;
- }
- #endif
-
- shape = -1; /* -1:no shape, 0:cyl, 1:box, 2:sphere */
- if (xwidth && yheight && zdepth)
- shape = 1;
- else if (radius > 0 && yheight)
- shape = 0;
- else if (radius > 0 && !yheight)
- shape = 2;
- if (shape < 0)
- exit (fprintf (stderr,
- "SasView_model: %s: sample has invalid dimensions.\n"
- "ERROR Please check parameter values.\n",
- NAME_CURRENT_COMP));
-
- /* now compute target coords if a component index is supplied */
- if (!target_index && !target_x && !target_y && !target_z)
- target_index = 1;
- if (target_index) {
- Coords ToTarget;
- ToTarget = coords_sub (POS_A_COMP_INDEX (INDEX_CURRENT_COMP + target_index), POS_A_CURRENT_COMP);
- ToTarget = rot_apply (ROT_A_CURRENT_COMP, ToTarget);
- coords_get (ToTarget, &target_x, &target_y, &target_z);
- }
-
- if (!(target_x || target_y || target_z)) {
- printf ("SasView_model: %s: The target is not defined. Using direct beam (Z-axis).\n", NAME_CURRENT_COMP);
- target_z = 1;
- }
-
- my_a_v = model_abs * 2200 * 100; /* Is not yet divided by v. 100: Convert barns -> fm^2 */
- int j;
- for (j = 0; j < 15; j++) {
- modelpars[j] = model_pars[j];
- }
-%}
-
-TRACE
-%{
- double t0, t1, v, l_full, l, l_1, dt, d_phi, theta, my_s;
- double aim_x = 0, aim_y = 0, aim_z = 1, axis_x, axis_y, axis_z;
- double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z;
- double f, solid_angle, vx_i, vy_i, vz_i, q, qx, qy, qz;
- char intersect = 0;
-
- /* Intersection neutron trajectory / sample (sample surface) */
- if (shape == 0)
- intersect = cylinder_intersect (&t0, &t1, x, y, z, vx, vy, vz, radius, yheight);
- else if (shape == 1)
- intersect = box_intersect (&t0, &t1, x, y, z, vx, vy, vz, xwidth, yheight, zdepth);
- else if (shape == 2)
- intersect = sphere_intersect (&t0, &t1, x, y, z, vx, vy, vz, radius);
- if (intersect) {
- if (t0 < 0)
- ABSORB;
-
- /* Neutron enters at t=t0. */
- v = sqrt (vx * vx + vy * vy + vz * vz);
- l_full = v * (t1 - t0); /* Length of full path through sample */
- dt = rand01 () * (t1 - t0) + t0; /* Time of scattering */
- PROP_DT (dt); /* Point of scattering */
- l = v * (dt - t0); /* Penetration in sample */
-
- vx_i = vx;
- vy_i = vy;
- vz_i = vz;
- if ((target_x || target_y || target_z)) {
- aim_x = target_x - x; /* Vector pointing at target (anal./det.) */
- aim_y = target_y - y;
- aim_z = target_z - z;
- }
- if (focus_aw && focus_ah) {
- randvec_target_rect_angular (&vx, &vy, &vz, &solid_angle, aim_x, aim_y, aim_z, focus_aw, focus_ah, ROT_A_CURRENT_COMP);
- } else if (focus_xw && focus_yh) {
- randvec_target_rect (&vx, &vy, &vz, &solid_angle, aim_x, aim_y, aim_z, focus_xw, focus_yh, ROT_A_CURRENT_COMP);
- } else {
- randvec_target_circle (&vx, &vy, &vz, &solid_angle, aim_x, aim_y, aim_z, focus_r);
- }
- NORM (vx, vy, vz);
- vx *= v;
- vy *= v;
- vz *= v;
- qx = V2K * (vx_i - vx);
- qy = V2K * (vy_i - vy);
- qz = V2K * (vz_i - vz);
- q = sqrt (qx * qx + qy * qy + qz * qz);
-
- float Iq_out;
- Iq_out = getIq (q, qx, qy, modelpars);
-
- float vol;
- vol = getFormVol (modelpars);
- // Scale by 1.0E2 [SasView: 1/cm -> McStas: 1/m]
- Iq_out = model_scale * Iq_out / vol * 1.0E2;
-
- l_1 = v * t1;
- p *= l_full * solid_angle / (4 * PI) * Iq_out * exp (-my_a_v * (l + l_1) / v);
-
- SCATTER;
- }
-%}
-
-MCDISPLAY
-%{
-
- if (shape == 0) { /* cylinder */
- circle ("xz", 0, yheight / 2.0, 0, radius);
- circle ("xz", 0, -yheight / 2.0, 0, radius);
- line (-radius, -yheight / 2.0, 0, -radius, +yheight / 2.0, 0);
- line (+radius, -yheight / 2.0, 0, +radius, +yheight / 2.0, 0);
- line (0, -yheight / 2.0, -radius, 0, +yheight / 2.0, -radius);
- line (0, -yheight / 2.0, +radius, 0, +yheight / 2.0, +radius);
- } else if (shape == 1) { /* box */
- double xmin = -0.5 * xwidth;
- double xmax = 0.5 * xwidth;
- double ymin = -0.5 * yheight;
- double ymax = 0.5 * yheight;
- double zmin = -0.5 * zdepth;
- double zmax = 0.5 * zdepth;
- multiline (5, xmin, ymin, zmin, xmax, ymin, zmin, xmax, ymax, zmin, xmin, ymax, zmin, xmin, ymin, zmin);
- multiline (5, xmin, ymin, zmax, xmax, ymin, zmax, xmax, ymax, zmax, xmin, ymax, zmax, xmin, ymin, zmax);
- line (xmin, ymin, zmin, xmin, ymin, zmax);
- line (xmax, ymin, zmin, xmax, ymin, zmax);
- line (xmin, ymax, zmin, xmin, ymax, zmax);
- line (xmax, ymax, zmin, xmax, ymax, zmax);
- } else if (shape == 2) { /* sphere */
- circle ("xy", 0, 0.0, 0, radius);
- circle ("xz", 0, 0.0, 0, radius);
- circle ("yz", 0, 0.0, 0, radius);
- }
-%}
-END
diff --git a/mcstas-comps/obsolete/SasView_model.comp.Template b/mcstas-comps/obsolete/SasView_model.comp.Template
deleted file mode 100644
index 467727fe89..0000000000
--- a/mcstas-comps/obsolete/SasView_model.comp.Template
+++ /dev/null
@@ -1,2338 +0,0 @@
-/*******************************************************************************
-*
-* Component: SasView_model
-*
-* %I
-* Written by: Jakob Garde, Torben Nielsen, Peter Willendrup
-* Date: 03.02.2016
-* Origin: SasView, DTU, European Spallation Source ERIC
-*
-* This SANS sample exposes SasView's scattering kernels to McStas. In this way SasView's monodisperse scattering kernels can be call from McStas.
-*
-* %D
-* OBSOLETE - we recommend using individual component models form the sasmodels
selection.
-* If you keep using this component, be aware that the URLs listed in the table below are broken, please refer to the
-* new revamped SasView model page.
-*
-* Sample for use in SANS instruments. The models describe mono disperse particles in thin solution. The sample geometry may have the shape:
-*
-* Shape: - A filled box with dimensions xwidth, yheight and zdepth.
-* - A cylinder with dimensions radius and yheight.
-* - A filled sphere given by radius.
-*
-* These parameters are mutually exclusive.
-*
-* Example using spheres in thin solution, with radius=200 AA and a delta_sld=0.6 fm/AA^3:
-* SasView_model(model_index=47, model_scale=1.0, model_pars={1, 7, 200}, model_abs=0.0, xwidth=0.01, yheight=0.01, zdepth=0.005,)
-*
-*
-* The algorithm of this component requires use of the ISO C standard c99, standard from McStas 2.7 and 3.0.
-*
-* The list of scattering models in SasView is called sasmodels. The list of McStas available SasView sasmodels are found in the table below.
-*
-* A few models may require manual documentation lookup using the above link to the SasView site.
-*
-* McStas does currently not support multiplication of formfactor models with structure factor models.
-*
-* The 2D scattering scattering kernels are denoted by modelname_xy. I.e. to evalulate scattering from aligned cylinders use model_index=10 to use cylinder_xy.
-*
-* MDOC
-*
-* | Model no. | SasView name | Parameters |
-* | 0 | None | None |
-* | 1 | barbell | (sld, solvent_sld, bell_radius, radius, length) |
-* | 2 | barbell_xy | (sld, solvent_sld, bell_radius, radius, length, theta, phi) |
-* | 3 | bcc_paracrystal | (dnn, d_factor, radius, sld, solvent_sld) |
-* | 4 | bcc_paracrystal_xy | (dnn, d_factor, radius, sld, solvent_sld, theta, phi, psi) |
-* | 5 | capped_cylinder | (sld, solvent_sld, radius, cap_radius, length) |
-* | 6 | capped_cylinder_xy | (sld, solvent_sld, radius, cap_radius, length, theta, phi) |
-* | 7 | core_shell_cylinder | (core_sld, shell_sld, solvent_sld, radius, thickness, length) |
-* | 8 | core_shell_cylinder_xy | (core_sld, shell_sld, solvent_sld, radius, thickness, length, theta, phi) |
-* | 9 | cylinder | (sld, solvent_sld, radius, length) |
-* | 10 | cylinder_xy | (sld, solvent_sld, radius, length, theta, phi) |
-* | 11 | dab | (length) |
-* | 12 | dab_xy | (length) |
-* | 13 | ellipsoid | (sld, solvent_sld, rpolar, requatorial) |
-* | 14 | ellipsoid_xy | (sld, solvent_sld, rpolar, requatorial, theta, phi) |
-* | 15 | fcc_paracrystal | (dnn, d_factor, radius, sld, solvent_sld) |
-* | 16 | fcc_paracrystal_xy | (dnn, d_factor, radius, sld, solvent_sld, theta, phi, psi) |
-* | 17 | flexible_cylinder_ex | (length, kuhn_length, radius, axis_ratio, sld, solvent_sld) |
-* | 18 | flexible_cylinder_ex_xy | (length, kuhn_length, radius, axis_ratio, sld, solvent_sld) |
-* | 19 | gaussian_peak | (q0, sigma) |
-* | 20 | gaussian_peak_xy | (q0, sigma) |
-* | 21 | guinier | (rg) |
-* | 22 | guinier_xy | (rg) |
-* | 23 | hardsphere | (effect_radius, volfraction) |
-* | 24 | hardsphere_xy | (effect_radius, volfraction) |
-* | 25 | HayterMSAsq | (effect_radius, zz, VolFrac, Temp, csalt, dialec) |
-* | 26 | HayterMSAsq_xy | (effect_radius, charge, volfraction, temperature, saltconc, dielectconst) |
-* | 27 | hollow_cylinder | (radius, core_radius, length, sld, solvent_sld) |
-* | 28 | hollow_cylinder_xy | (radius, core_radius, length, sld, solvent_sld, theta, phi) |
-* | 29 | lamellar | (sld, solvent_sld, thickness) |
-* | 30 | lamellar_xy | (sld, solvent_sld, thickness) |
-* | 31 | lamellar_FFHG | (tail_length, head_length, sld, head_sld, solvent_sld) |
-* | 32 | lamellar_FFHG_xy | (tail_length, head_length, sld, head_sld, solvent_sld) |
-* | 33 | lamellarCailleHG | (tail_length, head_length, Nlayers, dd, Cp, tail_sld, head_sld, solvent_sld) |
-* | 34 | lamellarCailleHG_xy | (tail_length, head_length, Nlayers, spacing, Caille_parameter, sld, head_sld, solvent_sld) |
-* | 35 | lamellarPC | (th, Nlayers, davg, pd, sld, solvent_sld) |
-* | 36 | lamellarPC_xy | (thickness, Nlayers, spacing, spacing_polydisp, sld, solvent_sld) |
-* | 37 | lamellarPS | (del, Nlayers, dd, Cp, sld, solvent_sld) |
-* | 38 | lamellarPS_xy | (thickness, Nlayers, spacing, Caille_parameter, sld, solvent_sld) |
-* | 39 | linear_pearls | (radius, edge_sep, num_pearls, pearl_sld, solvent_sld) |
-* | 40 | linear_pearls_xy | (radius, edge_sep, num_pearls, pearl_sld, solvent_sld) |
-* | 41 | lorentz | (cor_length) |
-* | 42 | lorentz_xy | (cor_length) |
-* | 43 | mass_fractal | (radius, mass_dim, cutoff_length) |
-* | 44 | mass_fractal_xy | (radius, mass_dim, cutoff_length) |
-* | 45 | mass_surface_fractal | (mass_dim, surface_dim, cluster_rg, primary_rg) |
-* | 46 | mass_surface_fractal_xy | (mass_dim, surface_dim, cluster_rg, primary_rg) |
-* | 47 | parallelepiped | (sld, solvent_sld, a_side, b_side, c_side) |
-* | 48 | parallelepiped_xy | (sld, solvent_sld, a_side, b_side, c_side, theta, phi, psi) |
-* | 49 | pearl_necklace | (radius, edge_separation, string_thickness, number_of_pearls, sld, string_sld, solvent_sld) |
-* | 50 | pearl_necklace_xy | (radius, edge_separation, string_thickness, number_of_pearls, sld, string_sld, solvent_sld) |
-* | 51 | sphere | (sld, solvent_sld, radius) |
-* | 52 | sphere_xy | (sld, solvent_sld, radius) |
-* | 53 | star_polymer | (radius2, arms) |
-* | 54 | star_polymer_xy | (radius2, arms) |
-* | 55 | stickyhardsphere | (effect_radius, volfraction, perturb, stickiness) |
-* | 56 | stickyhardsphere_xy | (effect_radius, volfraction, perturb, stickiness) |
-* | 57 | triaxial_ellipsoid | (sld, solvent_sld, req_minor, req_major, rpolar) |
-* | 58 | triaxial_ellipsoid_xy | (sld, solvent_sld, req_minor, req_major, rpolar, theta, phi, psi) |
-*
-*
-*
-*
-* Available SasView sasmodels - Extended parameters description
-*
-*
-* | sasmodels name |
-* Parameters |
-* Units |
-* Range |
-*
-*
-* | barbell |
-* { 4, 1, 40, 20, 400 } |
-* |
-* |
-*
-*
-* | barbell_xy |
-* { 4, 1, 40, 20, 400, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Barbell scattering length density |
-* 4e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Spherical bell radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylindrical bar radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder bar length |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | bcc |
-* { 220, 0.06, 40, 4, 1 } |
-* |
-* |
-*
-*
-* | bcc_xy |
-* { 220, 0.06, 40, 4, 1, 60, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Nearest neighbour distance |
-* Ang |
-* [-inf, inf] |
-*
-*
-* | |
-* Paracrystal distortion factor |
-* |
-* [-inf, inf] |
-*
-*
-* | |
-* Particle radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Particle scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | capped_cylinder |
-* { 4, 1, 20, 20, 400 } |
-* |
-* |
-*
-*
-* | capped_cylinder_xy |
-* { 4, 1, 20, 20, 400, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Cylinder scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Cylinder radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cap radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder length |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | core_shell_cylinder |
-* { 4, 4, 1, 20, 20, 400 } |
-* |
-* |
-*
-*
-* | core_shell_cylinder_xy |
-* { 4, 4, 1, 20, 20, 400, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Cylinder core scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Cylinder shell scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Cylinder core radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder shell thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder length |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | cylinder |
-* { 4, 1, 20, 400 } |
-* |
-* |
-*
-*
-* | cylinder_xy |
-* { 4, 1, 20, 400, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Cylinder scattering length density |
-* 4e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Cylinder radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder length |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | dab |
-* { 50.0 } |
-* |
-* |
-*
-*
-* | dab_xy |
-* { 50.0 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* correlation length |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | ellipsoid |
-* { 4, 1, 20, 400 } |
-* |
-* |
-*
-*
-* | ellipsoid_xy |
-* { 4, 1, 20, 400, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Ellipsoid scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Polar radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Equatorial radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | fcc |
-* { 220, 0.06, 40, 4, 1 } |
-* |
-* |
-*
-*
-* | fcc_xy |
-* { 220, 0.06, 40, 4, 1, 60, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Nearest neighbour distance |
-* Ang |
-* [-inf, inf] |
-*
-*
-* | |
-* Paracrystal distortion factor |
-* |
-* [-inf, inf] |
-*
-*
-* | |
-* Particle radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Particle scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | flexible_cylinder_ex |
-* { 1000.0, 100.0, 20.0, 1.5, 1.0, 6.3 } |
-* |
-* |
-*
-*
-* | flexible_cylinder_ex_xy |
-* { 1000.0, 100.0, 20.0, 1.5, 1.0, 6.3 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Length of the flexible cylinder |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Kuhn length of the flexible cylinder |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Radius of the flexible cylinder |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Axis_ratio (major_radius/radius |
-* |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | gaussian_peak |
-* { 0.05, 0.005 } |
-* |
-* |
-*
-*
-* | gaussian_peak_xy |
-* { 0.05, 0.005 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Peak position |
-* 1/Ang |
-* [-inf, inf] |
-*
-*
-* | |
-* Peak width (standard deviation) |
-* 1/Ang |
-* [0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | guinier |
-* { 60.0 } |
-* |
-* |
-*
-*
-* | guinier_xy |
-* { 60.0 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Radius of Gyration |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | hardsphere |
-* { 50.0, 0.2 } |
-* |
-* |
-*
-*
-* | hardsphere_xy |
-* { 50.0, 0.2 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* effective radius of hard sphere |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* volume fraction of hard spheres |
-* |
-* [0, 0.74] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | HayterMSAsq |
-* { 20.75, 19.0, 0.0192, 318.16, 0.0, 71.08 } |
-* |
-* |
-*
-*
-* | HayterMSAsq_xy |
-* { 20.75, 19.0, 0.0192, 318.16, 0.0, 71.08 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* effective radius of hard sphere |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* charge on sphere (in electrons) |
-* e |
-* [0, inf] |
-*
-*
-* | |
-* volume fraction of spheres |
-* |
-* [0, 0.74] |
-*
-*
-* | |
-* temperature, in Kelvin, for Debye length calculation |
-* K |
-* [0, inf] |
-*
-*
-* | |
-* conc of salt, 1:1 electolyte, for Debye length |
-* M |
-* [-inf, inf] |
-*
-*
-* | |
-* dielectric constant of solvent (default water), for Debye length |
-* |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | hollow_cylinder |
-* { 30.0, 20.0, 400.0, 6.3, 1 } |
-* |
-* |
-*
-*
-* | hollow_cylinder_xy |
-* { 30.0, 20.0, 400.0, 6.3, 1, 90, 0 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Cylinder radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Hollow core radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder length |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Cylinder sld |
-* 1/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent sld |
-* 1/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Theta angle |
-* degrees |
-* [-360, 360] |
-*
-*
-* | |
-* Phi angle |
-* degrees |
-* [-360, 360] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | lamellar |
-* { 1, 6, 50 } |
-* |
-* |
-*
-*
-* | lamellar_xy |
-* { 1, 6, 50 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Layer scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Bilayer thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | lamellarCaille |
-* { 30.0, 20, 400.0, 0.1, 6.3, 1.0 } |
-* |
-* |
-*
-*
-* | lamellarCaille_xy |
-* { 30.0, 20, 400.0, 0.1, 6.3, 1.0 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* sheet thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Number of layers |
-* |
-* [0, inf] |
-*
-*
-* | |
-* d-spacing of Caille S(Q) |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* Caille parameter |
-* 1/Ang^2 |
-* [0.0, 0.8] |
-*
-*
-* | |
-* layer scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | lamellarCailleHG |
-* { 10, 2, 30, 40.0, 0.001, 0.4, 2.0, 6 } |
-* |
-* |
-*
-*
-* | lamellarCailleHG_xy |
-* { 10, 2, 30, 40.0, 0.001, 0.4, 2.0, 6 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Tail thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* head thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Number of layers |
-* |
-* [0, inf] |
-*
-*
-* | |
-* d-spacing of Caille S(Q) |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* Caille parameter |
-* |
-* [0.0, 0.8] |
-*
-*
-* | |
-* Tail scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Head scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | lamellarFFHG |
-* { 15, 10, 0.4, 3.0, 6 } |
-* |
-* |
-*
-*
-* | lamellarFFHG_xy |
-* { 15, 10, 0.4, 3.0, 6 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Tail thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* head thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Tail scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Head scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | lamellarPC |
-* { 33.0, 20, 250.0, 0.0, 1.0, 6.34 } |
-* |
-* |
-*
-*
-* | lamellarPC_xy |
-* { 33.0, 20, 250.0, 0.0, 1.0, 6.34 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* sheet thickness |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Number of layers |
-* |
-* [0, inf] |
-*
-*
-* | |
-* d-spacing of paracrystal stack |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* d-spacing polydispersity |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* layer scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | linear_pearls |
-* { 80.0, 350.0, 3.0, 1.0, 6.3 } |
-* |
-* |
-*
-*
-* | linear_pearls_xy |
-* { 80.0, 350.0, 3.0, 1.0, 6.3 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Radius of the pearls |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Length of the string segment - surface to surface |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Number of the pearls |
-* |
-* [0, inf] |
-*
-*
-* | |
-* SLD of the pearl spheres |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* SLD of the solvent |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | lorentz |
-* { 50.0 } |
-* |
-* |
-*
-*
-* | lorentz_xy |
-* { 50.0 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Screening length |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | mass_fractal |
-* { 10.0, 1.9, 100.0 } |
-* |
-* |
-*
-*
-* | mass_fractal_xy |
-* { 10.0, 1.9, 100.0 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Particle radius |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* Mass fractal dimension |
-* |
-* [1.0, 6.0] |
-*
-*
-* | |
-* Cut-off length |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | mass_surface_fractal |
-* { 1.8, 2.3, 86.7, 4000.0 } |
-* |
-* |
-*
-*
-* | mass_surface_fractal_xy |
-* { 1.8, 2.3, 86.7, 4000.0 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Mass fractal dimension |
-* |
-* [1e-16, 6.0] |
-*
-*
-* | |
-* Surface fractal dimension |
-* |
-* [1e-16, 6.0] |
-*
-*
-* | |
-* Cluster radius of gyration |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* Primary particle radius of gyration |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | parallelepiped |
-* { 4, 1, 35, 75, 400 } |
-* |
-* |
-*
-*
-* | parallelepiped_xy |
-* { 4, 1, 35, 75, 400, 60, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Parallelepiped scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Shorter side of the parallelepiped |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Second side of the parallelepiped |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Larger side of the parallelepiped |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Rotation angle around its own c axis against q plane |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | pearl_necklace |
-* { 80.0, 350.0, 2.5, 3, 1.0, 1.0, 6.3 } |
-* |
-* |
-*
-*
-* | pearl_necklace_xy |
-* { 80.0, 350.0, 2.5, 3, 1.0, 1.0, 6.3 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Mean radius of the chained spheres |
-* Angstrom |
-* [0, inf] |
-*
-*
-* | |
-* Mean separation of chained particles |
-* Angstrom |
-* [0, inf] |
-*
-*
-* | |
-* Thickness of the chain linkage |
-* Angstrom |
-* [0, inf] |
-*
-*
-* | |
-* Mean number of pearls in each necklace |
-* none |
-* [0, inf] |
-*
-*
-* | |
-* Scattering length density of the chained spheres |
-* Angstrom^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Scattering length density of the chain linkage |
-* Angstrom^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Scattering length density of the solvent |
-* Angstrom^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | sphere |
-* { 1, 6, 50 } |
-* |
-* |
-*
-*
-* | sphere_xy |
-* { 1, 6, 50 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Layer scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Sphere radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | star_polymer |
-* { 100.0, 3 } |
-* |
-* |
-*
-*
-* | star_polymer_xy |
-* { 100.0, 3 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Ensemble radius of gyration squared of an arm |
-* Ang |
-* [0.0, inf] |
-*
-*
-* | |
-* Number of arms in the model |
-* |
-* [1.0, 6.0] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | stickyhardsphere |
-* { 50.0, 0.2, 0.05, 0.2 } |
-* |
-* |
-*
-*
-* | stickyhardsphere_xy |
-* { 50.0, 0.2, 0.05, 0.2 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* effective radius of hard sphere |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* volume fraction of hard spheres |
-* |
-* [0, 0.74] |
-*
-*
-* | |
-* perturbation parameter, epsilon |
-* |
-* [0.01, 0.1] |
-*
-*
-* | |
-* stickiness, tau |
-* |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | triaxial_ellipsoid |
-* { 4, 1, 20, 400, 10 } |
-* |
-* |
-*
-*
-* | triaxial_ellipsoid_xy |
-* { 4, 1, 20, 400, 10, 60, 60, 60 } |
-* |
-* |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-* | |
-* Parameters: |
-* |
-* |
-*
-*
-* | |
-* Ellipsoid scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Solvent scattering length density |
-* 1e-6/Ang^2 |
-* [-inf, inf] |
-*
-*
-* | |
-* Minor equitorial radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Major equatorial radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* Polar radius |
-* Ang |
-* [0, inf] |
-*
-*
-* | |
-* In plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* Out of plane angle |
-* degrees |
-* [-inf, inf] |
-*
-*
-* | |
-* |
-* |
-* |
-*
-*
-*
-*
-* Name convention: SasView - sasmodels
-*
-*
-* | SasView name |
-* sasmodels name |
-* P(Q) |
-* S(Q) |
-* Multiply |
-* Multiplicity |
-*
-*
-* | BarBell |
-* barbell |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | BCCrystal |
-* bcc |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | CappedCylinder |
-* capped_cylinder |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | CoreShellCylinder |
-* core_shell_cylinder |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | Cylinder |
-* cylinder |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | DAB |
-* dab |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | Ellipsoid |
-* ellipsoid |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | FCCrystal |
-* fcc |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | FlexCylEllipX |
-* flexible_cylinder_ex |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | PeakGauss |
-* gaussian_peak |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | Guinier |
-* guinier |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | HardsphereStructure |
-* hardsphere |
-* - |
-* Y |
-* - |
-* - |
-*
-*
-* | HayterMSAStructure |
-* HayterMSAsq |
-* - |
-* Y |
-* - |
-* - |
-*
-*
-* | HollowCylinder |
-* hollow_cylinder |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | Lamellar |
-* lamellar |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | LamellarPS |
-* lamellarCaille |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | LamellarPSHG |
-* lamellarCailleHG |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | LamellarFFHG |
-* lamellarFFHG |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | LamellarPCrystal |
-* lamellarPC |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | LinearPearls |
-* linear_pearls |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | Lorentz |
-* lorentz |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | MassFractal |
-* mass_fractal |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | MassSurfaceFractal |
-* mass_surface_fractal |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | Parallelepiped |
-* parallelepiped |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | PearlNecklace |
-* pearl_necklace |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | Sphere |
-* sphere |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | StarPolymer |
-* star_polymer |
-* - |
-* - |
-* - |
-* - |
-*
-*
-* | StickyHSStructure |
-* stickyhardsphere |
-* - |
-* Y |
-* - |
-* - |
-*
-*
-* | TriaxialEllipsoid |
-* triaxial_ellipsoid |
-* - |
-* - |
-* - |
-* - |
-*
-*
-*
-*
-* MDOC_END
-*
-* %P
-* Definition parameters:
-*
-* model_index: [] Index of the applied sasview model. Recompile instrument for changes to take effect.
-* model_scale: [] Global scale factor for scattering kernel. For systems without inter-particle interference, the form factors can be related to the scattering intensity by the particle volume fraction.
-* model_pars: [] Model parameters are given as a set of comma-separated values enclosed by {}, e.g. {60} for the model index 21 (the guinier model). Consult the sasview docs for further info.
-* model_abs: [1/m] Absorption cross section density at 2200 m/s
-*
-* Input parameters:
-*
-* radius: [m] Outer radius of sample in (x,z) plane for cylinder/sphere
-* xwidth: [m] horiz. dimension of sample, as a width
-* yheight: [m] vert . dimension of sample, as a height for cylinder/box
-* zdepth: [m] depth of sample
-* target_index: [1] Relative index of component to focus at, e.g. next is +1
-* focus_xw: [m] horiz. dimension of a rectangular area
-* focus_yh: [m] vert. dimension of a rectangular area
-* focus_aw: [deg] horiz. angular dimension of a rectangular area
-* focus_ah: [deg] vert. angular dimension of a rectangular area
-* focus_r: [m] Detector (disk-shaped) radius
-*
-* Optional parameters:
-*
-* target_x: [m] relative focus target position
-* target_y: [m] relative focus target position
-* target_z: [m] relative focus target position
-*
-* Variables calculated in the component:
-*
-* my_s: Attenuation factor due to scattering [m^-1]
-* my_a: Attenuation factor due to absorbtion [m^-1]
-*
-* %Link
-* http://www.sasview.org/sasview/user/models/model_functions.html
-*
-* %E
-*******************************************************************************/
-
-DEFINE COMPONENT SasView_model
-
-DEFINITION PARAMETERS ()
-
-SETTING PARAMETERS (
- model_index=21,
- model_scale=1.0,
- vector model_pars={60},
- model_abs=0.5,
- xwidth=0,
- yheight=0,
- zdepth=0,
- radius=0,
- target_x=0,
- target_y=0,
- target_z=6,
- int target_index=0,
- focus_xw=0,
- focus_yh=0,
- focus_aw=0,
- focus_ah=0,
- focus_r=0)
-
-OUTPUT PARAMETERS ()
-/* Neutron parameters: (x,y,z,vx,vy,vz,t,sx,sy,sz,p) */
-NOACC
-
-
-SHARE %{
- %include "sasview_proxy.c"
-%}
-
-DECLARE
-%{
- float *model_pars_ptr;
- double shape;
- double my_a_v;
-%}
-
-INITIALIZE
-%{
- model_pars_ptr = (float*)model_pars;
-shape=-1; /* -1:no shape, 0:cyl, 1:box, 2:sphere */
-if (xwidth && yheight && zdepth)
- shape=1;
- else if (radius > 0 && yheight)
- shape=0;
- else if (radius > 0 && !yheight)
- shape=2;
- if (shape < 0)
- exit(fprintf(stderr, "SasView_model: %s: sample has invalid dimensions.\n"
- "ERROR Please check parameter values.\n", NAME_CURRENT_COMP));
-
- /* now compute target coords if a component index is supplied */
- if (!target_index && !target_x && !target_y && !target_z) target_index=1;
- if (target_index)
- {
- Coords ToTarget;
- ToTarget = coords_sub(POS_A_COMP_INDEX(INDEX_CURRENT_COMP+target_index),POS_A_CURRENT_COMP);
- ToTarget = rot_apply(ROT_A_CURRENT_COMP, ToTarget);
- coords_get(ToTarget, &target_x, &target_y, &target_z);
- }
-
- if (!(target_x || target_y || target_z)) {
- printf("SasView_model: %s: The target is not defined. Using direct beam (Z-axis).\n",
- NAME_CURRENT_COMP);
- target_z=1;
- }
-
- my_a_v = model_abs*2200*100; /* Is not yet divided by v. 100: Convert barns -> fm^2 */
-%}
-
-TRACE
-%{
- double t0, t1, v, l_full, l, l_1, dt, d_phi, theta, my_s;
- double aim_x=0, aim_y=0, aim_z=1, axis_x, axis_y, axis_z;
- double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z;
- double f, solid_angle, vx_i, vy_i, vz_i, q, qx, qy, qz;
- char intersect=0;
-
- /* Intersection neutron trajectory / sample (sample surface) */
- if (shape == 0)
- intersect = cylinder_intersect(&t0, &t1, x, y, z, vx, vy, vz, radius, yheight);
- else if (shape == 1)
- intersect = box_intersect(&t0, &t1, x, y, z, vx, vy, vz, xwidth, yheight, zdepth);
- else if (shape == 2)
- intersect = sphere_intersect(&t0, &t1, x, y, z, vx, vy, vz, radius);
- if(intersect)
- {
- if(t0 < 0)
- ABSORB;
-
- /* Neutron enters at t=t0. */
- v = sqrt(vx*vx + vy*vy + vz*vz);
- l_full = v * (t1 - t0); /* Length of full path through sample */
- dt = rand01()*(t1 - t0) + t0; /* Time of scattering */
- PROP_DT(dt); /* Point of scattering */
- l = v*(dt-t0); /* Penetration in sample */
-
- vx_i=vx;
- vy_i=vy;
- vz_i=vz;
- if ((target_x || target_y || target_z)) {
- aim_x = target_x-x; /* Vector pointing at target (anal./det.) */
- aim_y = target_y-y;
- aim_z = target_z-z;
- }
- if(focus_aw && focus_ah) {
- randvec_target_rect_angular(&vx, &vy, &vz, &solid_angle,
- aim_x, aim_y, aim_z, focus_aw, focus_ah, ROT_A_CURRENT_COMP);
- } else if(focus_xw && focus_yh) {
- randvec_target_rect(&vx, &vy, &vz, &solid_angle,
- aim_x, aim_y, aim_z, focus_xw, focus_yh, ROT_A_CURRENT_COMP);
- } else {
- randvec_target_circle(&vx, &vy, &vz, &solid_angle, aim_x, aim_y, aim_z, focus_r);
- }
- NORM(vx, vy, vz);
- vx *= v;
- vy *= v;
- vz *= v;
- qx = V2K*(vx_i-vx);
- qy = V2K*(vy_i-vy);
- qz = V2K*(vz_i-vz);
- q = sqrt(qx*qx+qy*qy+qz*qz);
-
- float Iq_out;
- Iq_out = getIq(q, qx, qy, model_pars_ptr);
-
- float vol;
- vol=getFormVol(model_pars_ptr);
- // Scale by 1.0E2 [SasView: 1/cm -> McStas: 1/m]
- Iq_out = model_scale*Iq_out / vol * 1.0E2;
-
- l_1 = v*t1;
- p *= l_full*solid_angle/(4*PI)*Iq_out*exp(-my_a_v*(l+l_1)/v);
-
- SCATTER;
- }
-%}
-
-MCDISPLAY
-%{
-
- if (shape == 0) { /* cylinder */
- circle("xz", 0, yheight/2.0, 0, radius);
- circle("xz", 0, -yheight/2.0, 0, radius);
- line(-radius, -yheight/2.0, 0, -radius, +yheight/2.0, 0);
- line(+radius, -yheight/2.0, 0, +radius, +yheight/2.0, 0);
- line(0, -yheight/2.0, -radius, 0, +yheight/2.0, -radius);
- line(0, -yheight/2.0, +radius, 0, +yheight/2.0, +radius);
- }
- else if (shape == 1) { /* box */
- double xmin = -0.5*xwidth;
- double xmax = 0.5*xwidth;
- double ymin = -0.5*yheight;
- double ymax = 0.5*yheight;
- double zmin = -0.5*zdepth;
- double zmax = 0.5*zdepth;
- multiline(5, xmin, ymin, zmin,
- xmax, ymin, zmin,
- xmax, ymax, zmin,
- xmin, ymax, zmin,
- xmin, ymin, zmin);
- multiline(5, xmin, ymin, zmax,
- xmax, ymin, zmax,
- xmax, ymax, zmax,
- xmin, ymax, zmax,
- xmin, ymin, zmax);
- line(xmin, ymin, zmin, xmin, ymin, zmax);
- line(xmax, ymin, zmin, xmax, ymin, zmax);
- line(xmin, ymax, zmin, xmin, ymax, zmax);
- line(xmax, ymax, zmin, xmax, ymax, zmax);
- }
- else if (shape == 2) { /* sphere */
- circle("xy", 0, 0.0, 0, radius);
- circle("xz", 0, 0.0, 0, radius);
- circle("yz", 0, 0.0, 0, radius);
- }
-%}
-END
diff --git a/mcstas-comps/obsolete/Virtual_input.comp b/mcstas-comps/obsolete/Virtual_input.comp
index 543ced69fc..bbc22b0d19 100644
--- a/mcstas-comps/obsolete/Virtual_input.comp
+++ b/mcstas-comps/obsolete/Virtual_input.comp
@@ -17,6 +17,8 @@
* 'virtual source' filename.
*
* %D
+* NOTE: No longer supported - use MCPL_input instead. Any use exits with an error.
+*
* This component reads neutron events stored from a file, and sends them into
* the instrument. It thus replaces a Source component, using a previously
* computed neutron set. The 'source' file type is an ascii text file with the
@@ -44,8 +46,6 @@
* the component MySourceCreator. Put the new instrument source:
* COMPONENT Source = Virtual_input(filename="MySource.list")
* at the same position as 'MySourceCreator'.
-* A Vitess filename may be obtained from the 'Vitess_output' component or from a
-* Vitess simulation (104 bytes per neutron) and read with Vitess_input.
*
* %P
* INPUT PARAMETERS
@@ -128,6 +128,9 @@ DECLARE
INITIALIZE
%{
+ fprintf (stderr, "ERROR (%s): Virtual_input is no longer supported. Use MCPL_input instead.\n", NAME_CURRENT_COMP);
+ exit (-1);
+
repeat_number = 1;
pos = 0;
nrows = 0;
diff --git a/mcstas-comps/obsolete/Virtual_mcnp_input.comp b/mcstas-comps/obsolete/Virtual_mcnp_input.comp
deleted file mode 100644
index c4b2b4f0d7..0000000000
--- a/mcstas-comps/obsolete/Virtual_mcnp_input.comp
+++ /dev/null
@@ -1,616 +0,0 @@
-/*******************************************************************************
-*
-* McStas, neutron ray-tracing package
-* Copyright (C) 1997-2006, All rights reserved
-* Risoe National Laboratory, Roskilde, Denmark
-* Institut Laue Langevin, Grenoble, France
-*
-* Component: Virtual_mcnp_input.comp
-*
-* %I
-* Written by: Chama Hennane and E. Farhi
-* Date: June 28th, 2006
-* Origin: ILL
-* Modified by: EF, July 25th 2006: bug fixes.
-*
-* This component uses a filename of recorded neutrons from the reactor monte carlo
-* code MCNP as a source of particles.
-*
-* %D
-* This component generates neutron events from a filename created using the
-* MCNP Monte Carlo code for nuclear reactors. It is used to
-* calculate flux exiting from hot or cold neutron sources.
-* Neutron position and velocity is set from the filename. The neutron time is
-* left at zero.
-*
-* Note that axes orientation may be different between MCNP and McStas.
-* The component has the ability to center and orient the neutron beam to the Z-axis.
-* It also may change the coordinate system from the MCNP frame to the McStas one.
-* The verbose mode is highly recommended as it displays lots of useful informations.
-* To obtain absolute intensity, set 'intensity' and 'nps' parameters.
-* The source total intensity is 1.054e18 for LLB/Saclay (14 MW) and 4.28e18 for
-* ILL/Grenoble (58 MW).
-*
-* Format of MCNP events are :
-*
-* position_X position_Y position_Z dir_X dir_Y dir_Z Energy Weight Time
-*
-* energy is in Mega eV, time in shakes (1e-8 s),
-* positions are in cm and the direction vector is normalized to 1.
-*
-* %BUGS
-* We recommend NOT to use parallel execution (MPI) with this component. If you
-* need to, set parameter 'smooth=1'.
-*
-* EXAMPLE:
-* To generate PTRAC files using MCNP/MCNPX, add at the end of your input file:
-* f1:n 2001 // tally
-* (...)
-* ptrac filename = asc
-* max = -1000000 // number of neutrons to generate and stop
-* write = all
-* event = sur
-* filter = 2001,jsu // surface tally id
-* To create a 'source' from a MCNP simulation event file for the ILL:
-* COMPONENT source = Virtual_mcnp_input(
-* filename = "H10p", intensity=4.28e18, nps=11328982,
-* verbose = 1, autocenter="translate rotate rescale")
-*
-* %P
-* INPUT PARAMETERS
-* filename: [str] Name of the MCNP PTRAC neutron input file. Empty string "" unactivates component
-* repeat_count: [1] Number of times the source must be generated. 0 unactivates the component
-* verbose: [0|1] Displays additional informations if set to 1
-* intensity: [n/s] Intensity multiplication factor
-* nps: [1] Number of total events shot by MCNP to generate the PTRAC as indicated at the end of the MCNP 'o' file as 'source particle weight for summary table normalization' or alternatively 'nps = '.
-* autocenter: [str] String which may contain following keywords. "translate" or "center" to center the beam area AT (0,0,0) "rotate" or "orient" to center the beam velocity along Z "change axes" to change coordinate system definition "rescale" to adapt intensity to abs. units. with factor intensity/nps. Other words are ignored.
-* surface_id: [1] Index of the emitting MCNP surface to use. -1 for all.
-* MCNP_ANALYSE: [1] Number of neutron events to read for file pre-analysis. Use 0 to analyze them all.
-* smooth: [0/1] Smooth sparsed event files for file repetitions.
-*
-* OUTPUT PARAMETERS
-* nl: [long] nb of lines in header
-* mean_x: [m] source center coordinates
-* mean_y: [m] source center coordinates
-* mean_z: [m] source center coordinates
-* angle2z: [rad] rotation angle required to orient beam along Z axis
-*
-* %L
-* MCNP
-* %L
-* MCNP -- A General Monte Carlo N-Particle Transport Code, Version 5, Volume II: User's Guide, p177
-*
-* %E
-*
-*******************************************************************************/
-
-DEFINE COMPONENT Virtual_mcnp_input
-
-SETTING PARAMETERS (string filename=0, string autocenter=0, repeat_count=1, verbose=0, intensity=0,MCNP_ANALYSE=10000,
-int surface_id=-1,
-nps=0,smooth=1)
-
-/* Neutron parameters: (x,y,z,vx,vy,vz,t,sx,sy,sz,p) */
-
-SHARE
-%{
- #ifndef MCNP_INPUT_DEFS
- #define MCNP_INPUT_DEFS
- /* number of neutron events to read for file pre-analysis */
-
- #include
-
- /* mcnp_get_particle: read a neutron event from the MCNP PTRAC file */
- int
- mcnp_get_particle (FILE* hfile, float* tableau, int* old_surface, int* surface_id, int* informed_event, int* informed_surface) {
- char* c;
- int exit_flag = 0;
- float arg1 = -1;
- float arg2 = -1;
- float arg3 = -1;
- float arg4 = -1;
- float arg5 = -1;
- float arg6 = -1;
- float arg7 = -1;
- float arg8 = -1;
- float arg9 = -1;
- int count = -1;
- int new_surface = -1;
- char str[1024];
- int serr = 0;
- if (!tableau)
- exit (fprintf (stderr, "MCNP_input: Error in mem alloc (mcnp_get_particle).\n"));
-
- c = fgets (str, 1024, hfile);
-
- while (c != NULL) {
- count = sscanf (str, "%e %e %e %e %e %e %e %e %e", &arg1, &arg2, &arg3, &arg4, &arg5, &arg6, &arg7, &arg8, &arg9);
-
- if (count == 2) { /* test number of numerical values read from line */
- if (arg2 != 3000 && arg2 != 9000) {
- printf ("Warning: Unknown event %g in current file\n", arg2);
- } else if (informed_event)
- *informed_event = arg2;
- } else if (count == 7 || count == 6) {
- new_surface = arg3;
-
- if (new_surface != *surface_id && *surface_id != -1)
- serr = 1;
- else
- *informed_surface = new_surface;
-
- if (*old_surface != -1 && !*informed_surface && new_surface != *old_surface) {
- printf ("Warning: Different surface IDs in current file: previous=%i current=%i\n", *old_surface, new_surface);
- }
-
- *old_surface = new_surface;
-
- } else if (count == 9 && (!informed_surface || *informed_surface)
- && (!informed_event || (informed_event && (*informed_event == 3000 || *informed_event == 9000)))) {
- if (serr == 0) {
- tableau[0] = arg1;
- tableau[1] = arg2;
- tableau[2] = arg3;
- tableau[3] = arg4;
- tableau[4] = arg5;
- tableau[5] = arg6;
- tableau[6] = arg7;
- tableau[7] = arg8;
- tableau[8] = arg9;
- return (exit_flag);
- }
- serr = 0;
- } else {
- if (informed_event && *informed_event) {
- exit_flag = 1;
- printf ("MCNP_input: Warning: skip line %s\n", str);
- return (exit_flag);
- }
- }
- c = fgets (str, 1024, hfile);
- }
- exit_flag = 1;
- return (exit_flag);
- }
-
- /* mcnp_create_neutron:
- function that creates an event
- and assigns neutron parameters.
- Warning: mcnp Coord system (x y z) = (-x z y)
- */
- int
- mcnp_create_neutron (FILE* hfile, double* x, double* y, double* z, double* vx, double* vy, double* vz, double* t, double* sx, double* sy, double* sz, double* p,
- int* old_surface, int* surface_id, int* informed_event, int* informed_surface) {
- double Mev2Joule = 1.602e-13;
- double speed;
- int exit_flag = 0, ifield = 0;
- float field[9];
- if (mcnp_get_particle (hfile, field, old_surface, surface_id, informed_event, informed_surface)) {
- exit_flag = 1;
- } else {
- speed = sqrt (2. * field[6] * Mev2Joule / MNEUTRON);
- *x = field[0] / 100.0;
- *y = field[1] / 100.0;
- *z = field[2] / 100.0;
- *vx = field[3] * speed;
- *vy = field[4] * speed;
- *vz = field[5] * speed;
- *p = field[7];
- *sx = 1.;
- *sy = *sz = 0;
- *t = field[8] * 1e-8;
- // now change axis system
- double tx, ty, tz;
- tx = *x;
- ty = *y;
- tz = *z;
- *x = -ty;
- *y = -tz;
- *z = tx;
- tx = *vx;
- ty = *vy;
- tz = *vz;
- *vx = -ty;
- *vy = -tz;
- *vz = tx;
- }
- return (exit_flag);
- }
-
- /* mcnp_get_header:
- function that gets/allocate header lines until the MCNP start of data
- */
- char*
- mcnp_get_header (FILE* hfile) {
- int i;
- char* head = NULL;
- char buffer[1024];
- char* c = NULL;
-
- c = fgets (buffer, 1024, hfile);
- head = malloc (2 * 1024 + 1);
- if (!head)
- exit (fprintf (stderr, "MCNP_input: Error in mem alloc (mcnp_get_header).\n"));
- strcpy (head, "");
- c = fgets (buffer, 1024, hfile);
- strcat (head, buffer);
- c = fgets (buffer, 1024, hfile);
- strcat (head, buffer);
- /* skip 6 lines */
- for (i = 0; i <= 6; i++)
- c = fgets (buffer, 1024, hfile);
-
- return head;
- }
-
- #endif
-%}
-
-DECLARE
-%{
- int rep; /* Neutron repeat count */
- int repeat_cnt; /* Repeat count, MPI taken into account */
- FILE* hfile; /* Neutron input file handle */
-
- char do_rotate, do_translate;
- double mean_x, mean_y, mean_z;
- double bx, by, bz;
- double angle2z;
- long begin_neutrons;
- int old_surface;
- int surface;
- int informed_event;
- int informed_surface;
- double n_count_extrapolated;
- double min_x, min_y, min_z;
- double max_x, max_y, max_z;
- double min_vx, min_vy, min_vz;
- double max_vx, max_vy, max_vz;
- double mean_dx, mean_dy, mean_dz;
-%}
-
-INITIALIZE
-%{
- rep = 1;
- do_rotate = 0;
- do_translate = 0;
- mean_x = 0;
- mean_y = 0;
- mean_z = 0;
- angle2z = 0;
- begin_neutrons = 0;
- old_surface = -1;
- informed_event = 0;
- informed_surface = 0;
- n_count_extrapolated = 0;
- min_x = FLT_MAX;
- min_y = FLT_MAX;
- min_z = FLT_MAX;
- max_x = -FLT_MAX;
- max_y = -FLT_MAX;
- max_z = -FLT_MAX;
- min_vx = FLT_MAX;
- min_vy = FLT_MAX;
- min_vz = FLT_MAX;
- max_vx = -FLT_MAX;
- max_vy = -FLT_MAX;
- max_vz = -FLT_MAX;
- mean_dx = 0;
- mean_dy = 0;
- mean_dz = 0;
-
- char exit_flag = 0; /* set to 1 if end of simulation */
-
- double mean_vx = 0, mean_vy = 0, mean_vz = 0, mean_v = 0;
-
- double n_neutrons = 0;
- double n_neutrons_p = 0;
- long filesize = 0;
- char* head = NULL; /*MCNP header*/
-
- struct stat stfile;
- surface = surface_id;
- /* Open neutron input file. */
- /* (If empty file given, present warning in case of verbose, perform nothing) */
-
- if (!filename || !strcmp (filename, "") || !strcmp (filename, "0") || !strcmp (filename, "NULL"))
- exit (printf ("MCNP_input: %s: Empty file given, doing nothing!. Stop.\n", NAME_CURRENT_COMP));
-
- if (filename && strlen (filename) && strcmp (filename, "NULL") && strcmp (filename, "0")) {
- stat (filename, &stfile);
- filesize = stfile.st_size;
- hfile = fopen (filename, "r");
- }
-
- if (!hfile) {
- exit (printf ("MCNP_input: %s: Error: Cannot open input file %s.\n", NAME_CURRENT_COMP, filename));
- } else if (verbose)
- printf ("MCNP_input: %s: opening MCNP/PTRAC file '%s'\n", NAME_CURRENT_COMP, filename);
-
- head = mcnp_get_header (hfile); /* and reset to filename start */
-
- begin_neutrons = ftell (hfile);
-
- if (verbose)
- fprintf (stdout, "%s\n", head);
- if (head)
- free (head);
- head = NULL;
- if (verbose) {
- printf ("Analysing MCNP file %s (", filename);
- if (MCNP_ANALYSE)
- printf ("%g events)\n", MCNP_ANALYSE);
- else
- printf ("all events)\n");
- }
-
- /* analyse MCNP file: count neutrons, get beam center and mean speed
- * do that for the first 1e4 neutrons, and extrapolates to file size */
-
- while (!exit_flag && (n_neutrons <= MCNP_ANALYSE || !MCNP_ANALYSE)) {
- double x, y, z, vx, vy, vz, t, p, sx, sy, sz;
- if (mcnp_create_neutron (hfile, &x, &y, &z, &vx, &vy, &vz, &t, &sx, &sy, &sz, &p, &old_surface, &surface, &informed_event, &informed_surface)) {
- /*END OF FILE*/
- fprintf (stderr, "MCNP_input: %s: Cannot get neutron %g : Error or End of File reached .\n", NAME_CURRENT_COMP, n_neutrons + 1);
- exit_flag = 1;
- } else {
- double v;
- v = sqrt (vx * vx + vy * vy + vz * vz);
- mean_x += p * x;
- mean_y += p * y;
- mean_z += p * z;
- mean_vx += p * vx;
- mean_vy += p * vy;
- mean_vz += p * vz;
- mean_v += p * v;
- angle2z += p * vz / v;
- if (v) {
- mean_dx += p * fabs (vx / v);
- mean_dy += p * fabs (vy / v);
- mean_dz += p * fabs (vz / v);
- }
- if (x < min_x)
- min_x = x;
- if (y < min_y)
- min_y = y;
- if (z < min_z)
- min_z = z;
- if (vx < min_vx)
- min_vx = vx;
- if (vy < min_vy)
- min_vy = vy;
- if (vz < min_vz)
- min_vz = z;
- if (x > max_x)
- max_x = x;
- if (y > max_y)
- max_y = y;
- if (z > max_z)
- max_z = z;
- if (vx > max_vx)
- max_vx = vx;
- if (vy > max_vy)
- max_vy = vy;
- if (vz > max_vz)
- max_vz = z;
- n_neutrons++;
- n_neutrons_p += p;
- }
- } /* end while */
-
- if (n_neutrons) {
- long end_analyse = 0;
- double cx, cy, cz;
- end_analyse = ftell (hfile);
- mean_x /= n_neutrons_p;
- mean_y /= n_neutrons_p;
- mean_z /= n_neutrons_p;
- mean_vx /= n_neutrons_p;
- mean_vy /= n_neutrons_p;
- mean_vz /= n_neutrons_p;
- mean_dx /= n_neutrons_p;
- mean_dy /= n_neutrons_p;
- mean_dz /= n_neutrons_p;
- mean_v /= n_neutrons_p;
- angle2z /= n_neutrons_p;
- n_count_extrapolated = n_neutrons * (filesize - begin_neutrons) / (end_analyse - begin_neutrons);
- if (verbose) {
- double mean_k, mean_w = 0, mean_L = 0;
-
- mean_k = V2K * mean_v;
- if (mean_k)
- mean_L = 2 * PI / mean_k;
- mean_w = VS2E * mean_v * mean_v;
- printf ("MCNP file %s\nContains %s%g neutrons from surface %i with event %i\n", filename, MCNP_ANALYSE ? "about " : "", n_count_extrapolated,
- informed_surface, informed_event);
- if (n_count_extrapolated > mcget_ncount ())
- printf (" (will use only %.3g %% of file)\n", 100.0 * mcget_ncount () / n_count_extrapolated);
- else
- printf (" (limiting simulation to %g neutrons)\n", n_count_extrapolated * repeat_count);
- printf (" Source size (full width in [m]): ");
- printf (" dX=%g dY=%g dZ=%g\n", max_x - min_x, max_y - min_y, max_z - min_z);
- printf (" Source center (in [m]): ");
- printf (" X0=%g Y0=%g Z0=%g\n", mean_x, mean_y, mean_z);
- printf (" Beam divergence (full width in [deg]):");
- printf (" dVx=%g dVy=%g dVz=%g\n", atan (mean_dx) * RAD2DEG, atan (mean_dy) * RAD2DEG, atan (mean_dz) * RAD2DEG);
- printf (" Beam speed (in [m/s]): ");
- printf (" Vx=%g Vy=%g Vz=%g\n", mean_vx, mean_vy, mean_vz);
- printf (" Beam mean energy:\n");
- printf (" speed=%g [m/s] energy=%g [meV]\n wavelength=%g [Angs] wavevector=%g [Angs-1]\n", mean_v, mean_w, mean_L, mean_k);
- }
-
- if (autocenter) {
- if (strstr (autocenter, "rotate") || strstr (autocenter, "orient")) {
- do_rotate = 1;
- }
- if (strstr (autocenter, "translate") || strstr (autocenter, "center"))
- do_translate = 1;
- if (strstr (autocenter, "rescale") && intensity)
- printf ("* Automatic Normalisation factor Intensity/nps = %g [n/s]\n", intensity / nps);
- }
- /* compute the rotation matrix to make mean_v along the Z-axis */
- /* first normalize mean velocity (will be Z axis): c=v/|v| */
- cx = mean_vx / mean_v;
- cy = mean_vy / mean_v;
- cz = mean_vz / mean_v;
-
- /* compute angle to rotate in order to come back to Z axis */
- angle2z = acos (angle2z); /* in RAD */
- /* get rotation axis b=c x [0 0 1] */
- if (angle2z) {
- vec_prod (bx, by, bz, cx, cy, cz, 0, 0, 1);
- } else { /* already well oriented: nothing to do */
- do_rotate = 0;
- }
- if (verbose && (do_rotate || do_translate || smooth)) {
- printf ("* Beam will be ");
- if (do_translate)
- printf ("translated (in position) ");
- if (do_rotate)
- printf ("rotated (%.3g [deg] to Z-axis) ", angle2z * RAD2DEG);
- if (smooth)
- printf ("smoothed ");
- printf ("\n");
- }
-
- } else {
- exit (printf ("MCNP_input: %s: Error: file %s neutrons does not contain any neutron. \n", NAME_CURRENT_COMP, filename));
- }
-
- /* reposition at start of filename (data start) */
- if (fseek (hfile, begin_neutrons, SEEK_SET)) {
- fprintf (stderr, "MCNP_input: %s: Error: Can not reset MCNP file (fseek error at analyse). \n", NAME_CURRENT_COMP);
- exit_flag = 1;
- }
-
- #if defined (USE_MPI)
- if (!smooth && mpi_node_count > 1) {
- if (verbose)
- printf ("MCNP_input: %s: smoothing (smooth=1) is recommended when running MPI execution.\n", NAME_CURRENT_COMP);
- }
- #endif
-
- double min_dv = fabs (max_vx - min_vx);
- if (min_dv > fabs (max_vy - min_vy))
- min_dv = fabs (max_vy - min_vy);
- if (min_dv > fabs (max_vz - min_vz))
- min_dv = fabs (max_vz - min_vz);
- min_vx = min_dv;
-
- repeat_cnt = repeat_count;
- #if defined (USE_MPI)
- repeat_cnt = ceil (1.0 * repeat_cnt / mpi_node_count);
- #endif
-
- informed_event = informed_surface = 0; /* reset ids so that new search in TRACE starts from scratch */
-%}
-
-TRACE
-%{
- char exit_flag = 0; /* set to 1 if end of simulation */
- int result_read = 1;
-
- while (!exit_flag) {
- if (mcnp_create_neutron (hfile, &x, &y, &z, &vx, &vy, &vz, &t, &sx, &sy, &sz, &p, &old_surface, &surface, &informed_event, &informed_surface)) {
- result_read = EOF;
- exit_flag = 1;
- } else {
- if (do_translate) { /* translate the beam to origin */
- x -= mean_x;
- y -= mean_y;
- z -= mean_z;
- }
- if (do_rotate) { /* rotate the beam so that its main axis is along Z */
- double nvx, nvy, nvz;
- rotate (nvx, nvy, nvz, vx, vy, vz, angle2z, bx, by, bz);
- vx = nvx;
- vy = nvy;
- vz = nvz;
- rotate (nvx, nvy, nvz, x, y, z, angle2z, bx, by, bz);
- x = nvx;
- y = nvy;
- z = nvz;
- }
-
- if (intensity && nps)
- p *= intensity / nps / repeat_cnt;
- SCATTER;
- }
-
- #if defined (USE_MPI)
- if (smooth && n_count_extrapolated)
- #else
- if (smooth && rep > 1 && n_count_extrapolated)
- #endif
- {
- /* apply smmothing */
- x += randnorm () * (max_x - min_x) / n_count_extrapolated / 2;
- y += randnorm () * (max_y - min_y) / n_count_extrapolated / 2;
- z += randnorm () * (max_z - min_z) / n_count_extrapolated / 2;
- vx += randnorm () * min_vx / n_count_extrapolated / 2;
- vy += randnorm () * min_vx / n_count_extrapolated / 2;
- vx += randnorm () * min_vx / n_count_extrapolated / 2;
- }
-
- if (result_read == EOF) { /* normal end of file */
- rep++;
- if (rep <= repeat_cnt) {
- /* reposition at start of file (data start) */
- int ret = fseek (hfile, begin_neutrons, SEEK_SET);
- if (ret) {
- fprintf (stderr, "MCNP_input: %s: Error: Can not repeat MCNP file (fseek error at repeat %d). \n", NAME_CURRENT_COMP, rep);
- exit_flag = 1;
- } else {
- if (verbose)
- printf ("MCNP_input: %s: Start Neutron Number %ld (iteration %d)\n", NAME_CURRENT_COMP, begin_neutrons, rep);
- exit_flag = 0;
- }
- } else
- exit_flag = 1;
- }
-
- if (exit_flag) {
- if (verbose)
- printf (" Finishing simulation\n");
- mcset_ncount (mcget_run_num ());
- ABSORB;
- }
- SCATTER;
- break;
- #ifdef USE_MPI
- /* We always repeat by the number of nodes in an MPI run */
- p /= mpi_node_count;
- #endif
- } /* end while */
-%}
-
-FINALLY
-%{
- if (filename && strlen (filename) && strcmp (filename, "0") && strcmp (filename, "NULL")) {
- if (hfile)
- fclose (hfile);
- if (verbose) {
- printf ("MCNP_input: %s: file %s\n", NAME_CURRENT_COMP, filename);
- printf (" %g neutrons generated\n", (double)mcget_ncount ());
- }
- }
-%}
-
-MCDISPLAY
-%{
- /* a box and a line in the main beam direction */
- double nx = mean_x, ny = mean_y, nz = mean_z;
- double dx = mean_dx, dy = mean_dy, dz = mean_dz;
- if (do_translate)
- nx = ny = nz = 0;
- if (do_rotate) {
- dx = dy = 0;
- dz = .1;
- }
-
- box (nx, ny, nz, max_x - min_x, max_y - min_y, max_z - min_z, 0, 0, 1, 0);
- line (nx, ny, nz, dx, dy, dz);
-%}
-
-
-END
diff --git a/mcstas-comps/obsolete/Virtual_mcnp_output.comp b/mcstas-comps/obsolete/Virtual_mcnp_output.comp
deleted file mode 100644
index be0d5d9262..0000000000
--- a/mcstas-comps/obsolete/Virtual_mcnp_output.comp
+++ /dev/null
@@ -1,173 +0,0 @@
-/*******************************************************************************
-*
-* McStas, neutron ray-tracing package
-* Copyright (C) 1997-2006, All rights reserved
-* Risoe National Laboratory, Roskilde, Denmark
-* Institut Laue Langevin, Grenoble, France
-*
-* Component: Virtual_mcnp_output
-*
-* %I
-* Written by: Chama Hennane and E. Farhi
-* Date: July 7th, 2006
-* Origin: ILL
-*
-* Detector-like component that writes neutron state parameters into a
-* 'virtual source' neutron file with MCNP/PTRAC format.
-*
-* %D
-* Detector-like component writing neutron state parameters to a
-* virtual source neutron file with MCNP/PTRAC format.
-* The component geometry is the full plane, and saves the neutron state as
-* it exits from the previous component.
-* Format is the one used by MCNP 5 files :
-*
-* position_X position_Y position_Z dir_X dir_Y dir_Z energy weight time
-*
-* energy is in Mega eV
-* positions are in cm and the direction vector is normalized to 1.
-*
-* %BUGS
-* This component will NOT work with parallel execution (MPI).
-*
-* EXAMPLE:
-* To create a file collecting all neutron states with MCNP5 format
-* COMPONENT fichier_sortie = Virtual_mcnp_output(
-* filename = "exit_guide_result.dat")
-* at the position where will be the Virtual_mcnp_input.
-*
-* %P
-* INPUT PARAMETERS
-* filename: [str] name of the MCNP5 neutron output file,
-* or stdout if left to 0.
-*
-* %L
-* MCNP
-* %L
-* MCNP -- A General Monte Carlo N-Particle Transport Code, Version 5, Volume II: User's Guide, p177
-*
-* %E
-*******************************************************************************/
-
-
-DEFINE COMPONENT Virtual_mcnp_output
-
-SETTING PARAMETERS (string filename=0)
-
-DEPENDENCY "@MCCODE_LIB@/libs/neutronics/neutronics-subs.o -Wl,-rpath,@MCCODE_LIB@/miniconda3/lib -lgfortran -L@MCCODE_LIB@/miniconda3/lib -I@MCCODE_LIB@/miniconda3/include"
-/* Neutron parameters: (x,y,z,vx,vy,vz,t,sx,sy,sz,p) */
-
-SHARE
-%{
-
- #include
-
- /**************************************
- *Function that returns current time to*
- *include into the output file header *
- **************************************/
- char*
- get_current_time () {
- time_t tp;
- if (time (&tp) != -1) {
- return asctime (localtime (&tp));
- }
- return NULL;
- }
-%}
-DECLARE
-%{
- int n_neutron;
- FILE* hfile;
-%}
-
-INITIALIZE
-%{
- n_neutron = 1;
-
- int i;
- char** head;
- long nl;
-
- #if defined (USE_MPI)
- exit (printf ("MCNP_output: %s: ERROR: This component can not be used in parallel execution mode (MPI). Abort.\n", NAME_CURRENT_COMP));
- #endif
-
- /* Open neutron output file. */
- if (filename && strcmp (filename, "NULL") && strcmp (filename, "0") && strcmp (filename, "stdout"))
- hfile = fopen (filename, "w");
- else
- hfile = stdout;
- if (!hfile) {
- fprintf (stderr, "MCNP_output: %s: Error: Cannot open output file %s.\n", NAME_CURRENT_COMP,
- (filename && strcmp (filename, "NULL") && strcmp (filename, "0") && strcmp (filename, "stdout") ? filename : "stdout"));
- exit (1);
- }
-
- /* generates a default MCNP5 header */
- fprintf (hfile, "-1\n");
- char* tp = get_current_time ();
- if (tp == NULL) {
- fprintf (hfile, "mcnpx \n");
- } else {
- fprintf (hfile, "mcnpx %s\n", get_current_time ());
- }
- fprintf (hfile, "HFR05h: MCNP run (reaction rates ,capture, fission, total) HFR Grenoble\n");
- fprintf (hfile, " 1.3000E+01 1.0000E+00 1.0000E+02 0.0000E+00 1.0000E+00 3.0000E+00 1.0000E+00 1.0000E+00 3.0000E+00 4.0000E+01\n");
- fprintf (hfile, " 4.0000E+01 1.8000E+01 1.0000E+00 1.0000E+03 0.0000E+00 0.0000E+00 0.0000E+00 0.0000E+00 0.0000E+00 0.0000E+00\n");
- fprintf (hfile, " 1.0000E+00 2.0000E+00 0.0000E+00 0.0000E+00 0.0000E+00 0.0000E+00 0.0000E+00 0.0000E+00 0.0000E+00 0.0000E+00\n");
- fprintf (hfile, " 2 6 9 7 9 7 9 7 9 7 9 1 4 0 0 0 0 0 0 0\n");
- fprintf (hfile, " 1 2 7 8 9 17 18 19 20 21 22 23 24 25 26 27 28 7 8 10 11 17 18 19 20 21 22 23 24 25\n");
- fprintf (hfile, " 26 27 28 7 8 12 13 17 18 19 20 21 22 23 24 25 26 27 28 7 8 10 11 17 18 19 20 21 22 23\n");
- fprintf (hfile, " 24 25 26 27 28 7 8 14 15 17 18 19 20 21 22 23 24 25 26 27 28\n");
-%}
-
-TRACE
-%{
- double Mev2Joule = 1.602e-13;
- double Mneutron = 1.6749543e-27;
- long begin_filename = 0;
-
- double energy, speed, weight;
- double ux, uy, uz, pos_x, pos_y, pos_z;
-
- /* writes MCNP file line by line */
- speed = vx * vx + vy * vy + vz * vz;
- energy = speed / 2. * Mneutron / Mev2Joule;
-
- speed = sqrt (speed);
- ux = vx / speed;
- uy = vy / speed;
- uz = vz / speed;
-
- pos_x = x * 100.;
- pos_y = y * 100.;
- pos_z = z * 100.;
-
- weight = p;
- fprintf (hfile, "\t %d \t 1000 \n", n_neutron);
- fprintf (hfile, "\t 1000 \t 0 \t %d \t 0 \t 0 \t 0 \t 0 \n", INDEX_CURRENT_COMP);
- fprintf (hfile, "\t %e \t %e \t %e \t %e \t %e \t %e \t %e \t %e \n", pos_x, pos_y, pos_z, ux, uy, uz, weight, energy);
- n_neutron++;
-%}
-
-SAVE
-%{
- if (hfile) {
-
- fflush (hfile);
- }
-%}
-
-FINALLY
-%{
- if (hfile)
- fclose (hfile);
-%}
-
-MCDISPLAY
-%{
-
-%}
-
-END
diff --git a/mcstas-comps/obsolete/Virtual_mcnp_ss_Guide.comp b/mcstas-comps/obsolete/Virtual_mcnp_ss_Guide.comp
deleted file mode 100644
index 5406a01522..0000000000
--- a/mcstas-comps/obsolete/Virtual_mcnp_ss_Guide.comp
+++ /dev/null
@@ -1,252 +0,0 @@
-/*******************************************************************************
-*
-* McStas, neutron ray-tracing package
-* Copyright (C) 1997-2011, All rights reserved
-* Risoe National Laboratory, Roskilde, Denmark
-* Institut Laue Langevin, Grenoble, France
-*
-* Component: Virtual_mcnp_ss_Guide
-*
-* %I
-* Written by: Esben klinkby and Peter Willendrup
-* Date: Marts 2012
-* Origin: Risoe-DTU
-*
-* Neutron guide initiated using Virtual_mcnp_ss_input.comp, and replacing Virtual_mcnp_ss_output.comp - see examples//Test_SSR_SSW_Guide.instr
-*
-* %D
-* Based on Kristian Nielsens Guide.comp
-* Models a rectangular guide tube centered on the Z axis. The entrance lies
-* in the X-Y plane.
-* The component must be initiated after Virtual_mcnp_ss_input.comp,
-* and replaces Virtual_mcnp_ss_output.comp - see examples/Test_SSR_SSW_Guide.instr.
-* The basic idea is, that rather than discarding unreflected (i.e. absorbed)
-* neutrons at the guide mirrors, these neutron states are stored on disk.
-* Thus, after the McStas simulation a MCNP simulation can be performed based
-* on the un-reflected neutrons - intended for shielding studies.
-* (details: we don't deal with actual neutrons, so what is transferred between
-* simulations suites is neutron state parameters: pos,mom,time,weight. The latter is
-* whatever remains after reflection.
-*
-* For details on the geometry calculation see the description in the McStas
-* reference manual.
-* The reflectivity profile may either use an analytical mode (see Component
-* Manual) or a 2-columns reflectivity free text file with format
-* [q(Angs-1) R(0-1)].
-*
-* Example: Virtual_mcnp_ss_Guide(w1=0.1, h1=0.1, w2=0.1, h2=0.1, l=2.0,
-* R0=0.99, Qc=0.021, alpha=6.07, m=2, W=0.003
-*
-* %VALIDATION
-* Upcomming in 2012 based on ESS shielding
-* Validated by: D. Ene & E. Klinkby
-*
-* %BUGS
-* This component does not work with gravitation on. Use component Guide_gravity then
-* (doesn't work with SSR/SSW unfortunately)
-*
-* %P
-* INPUT PARAMETERS:
-*
-* w1: [m] Width at the guide entry
-* h1: [m] Height at the guide entry
-* w2: [m] Width at the guide exit
-* h2: [m] Height at the guide exit
-* l: [m] length of guide
-* R0: [1] Low-angle reflectivity
-* Qc: [AA^-1] Critical scattering vector
-* alpha: [AA] Slope of reflectivity
-* m: [1] m-value of material. Zero means completely absorbing.
-* W: [AA^-1] Width of supermirror cut-off
-* reflect: [str] Reflectivity file name. Format
-*
-* %D
-* Example values: m=4 Qc=0.0219 W=1/300 alpha=6.49 R0=1
-*
-* %E
-*******************************************************************************/
-
-DEFINE COMPONENT Virtual_mcnp_ss_Guide
-
-SETTING PARAMETERS (string reflect=0, w1, h1, w2, h2, l, R0=0.99, Qc=0.0219, alpha=6.07, m=2, W=0.003)
-
-NOACC
-
-SHARE
-%{
-%include "read_table-lib"
-%}
-
-DECLARE
-%{
- t_Table pTable;
- double from_mcstas[8];
- unsigned int ntrk;
- unsigned int nhis;
-%}
-
-INITIALIZE
-%{
- writeheader_ (&ntrk, &nhis); // Important that ntrk & nhis does not exceed actuall rssa file content
-
- if (mcgravitation)
- fprintf (stderr,
- "WARNING: Virtual_mcnp_ss_Guide: %s: "
- "This component produces wrong results with gravitation !\n"
- "Use Guide_gravity (doesn't work with SSR/SSW).\n",
- NAME_CURRENT_COMP);
-
- if (reflect && strlen (reflect)) {
- if (Table_Read (&pTable, reflect, 1) <= 0) /* read 1st block data from file into pTable */
- exit (fprintf (stderr, "Virtual_mcnp_ss_Guide: %s: can not read file %s\n", NAME_CURRENT_COMP, reflect));
- } else {
- if (W < 0 || R0 < 0 || Qc < 0 || m < 0) {
- fprintf (stderr, "Virtual_mcnp_ss_Guide: %s: W R0 Qc must be >0.\n", NAME_CURRENT_COMP);
- exit (-1);
- }
- if (m < 1 && m != 0)
- fprintf (stderr, "WARNING: Virtual_mcnp_ss_Guide: %s: m < 1 behaves as if m=1.\n", NAME_CURRENT_COMP);
- }
-%}
-
-TRACE
-%{
- double t1, t2; /* Intersection times. */
- double av, ah, bv, bh, cv1, cv2, ch1, ch2, d; /* Intermediate values */
- double weight; /* Internal probability weight */
- double vdotn_v1, vdotn_v2, vdotn_h1, vdotn_h2; /* Dot products. */
- int i; /* Which mirror hit? */
- double q; /* Q [1/AA] of reflection */
- double nlen2; /* Vector lengths squared */
-
- /* ToDo: These could be precalculated. */
- double ww = .5 * (w2 - w1), hh = .5 * (h2 - h1);
- double whalf = .5 * w1, hhalf = .5 * h1;
-
- double vx_org = 0., vy_org = 0., vz_org = 0.;
-
- /* Propagate neutron to guide entrance. */
- PROP_Z0;
- /* Scatter here to ensure that fully transmitted neutrons will not be
- absorbed in a GROUP construction, e.g. all neutrons - even the
- later absorbed ones are scattered at the guide entry. */
- SCATTER;
- if (x <= -whalf || x >= whalf || y <= -hhalf || y >= hhalf)
- ABSORB;
- for (;;) {
- vx_org = vx;
- vy_org = vy;
- vz_org = vz;
- /* Compute the dot products of v and n for the four mirrors. */
- av = l * vx;
- bv = ww * vz;
- ah = l * vy;
- bh = hh * vz;
- vdotn_v1 = bv + av; /* Left vertical */
- vdotn_v2 = bv - av; /* Right vertical */
- vdotn_h1 = bh + ah; /* Lower horizontal */
- vdotn_h2 = bh - ah; /* Upper horizontal */
- /* Compute the dot products of (O - r) and n as c1+c2 and c1-c2 */
- cv1 = -whalf * l - z * ww;
- cv2 = x * l;
- ch1 = -hhalf * l - z * hh;
- ch2 = y * l;
- /* Compute intersection times. */
- t1 = (l - z) / vz;
- i = 0;
- if (vdotn_v1 < 0 && (t2 = (cv1 - cv2) / vdotn_v1) < t1) {
- t1 = t2;
- i = 1;
- }
- if (vdotn_v2 < 0 && (t2 = (cv1 + cv2) / vdotn_v2) < t1) {
- t1 = t2;
- i = 2;
- }
- if (vdotn_h1 < 0 && (t2 = (ch1 - ch2) / vdotn_h1) < t1) {
- t1 = t2;
- i = 3;
- }
- if (vdotn_h2 < 0 && (t2 = (ch1 + ch2) / vdotn_h2) < t1) {
- t1 = t2;
- i = 4;
- }
- if (i == 0)
- break; /* Neutron left guide. */
- PROP_DT (t1);
- switch (i) {
- case 1: /* Left vertical mirror */
- nlen2 = l * l + ww * ww;
- q = V2Q * (-2) * vdotn_v1 / sqrt (nlen2);
- d = 2 * vdotn_v1 / nlen2;
- vx = vx - d * l;
- vz = vz - d * ww;
- break;
- case 2: /* Right vertical mirror */
- nlen2 = l * l + ww * ww;
- q = V2Q * (-2) * vdotn_v2 / sqrt (nlen2);
- d = 2 * vdotn_v2 / nlen2;
- vx = vx + d * l;
- vz = vz - d * ww;
- break;
- case 3: /* Lower horizontal mirror */
- nlen2 = l * l + hh * hh;
- q = V2Q * (-2) * vdotn_h1 / sqrt (nlen2);
- d = 2 * vdotn_h1 / nlen2;
- vy = vy - d * l;
- vz = vz - d * hh;
- break;
- case 4: /* Upper horizontal mirror */
- nlen2 = l * l + hh * hh;
- q = V2Q * (-2) * vdotn_h2 / sqrt (nlen2);
- d = 2 * vdotn_h2 / nlen2;
- vy = vy + d * l;
- vz = vz - d * hh;
- break;
- }
- /* Now compute reflectivity. */
- weight = 1.0; /* Initial internal weight factor */
- if (m == 0)
- ABSORB;
- if (reflect && strlen (reflect))
- weight = Table_Value (pTable, q, 1);
- else if (q > Qc) {
- double arg = (q - m * Qc) / W;
- // printf(" %e %e %e %e %e \n ", arg, q, m, Qc, W );
- if (arg < 10)
- weight = .5 * (1 - tanh (arg)) * (1 - alpha * (q - Qc));
- else
- ABSORB; /* Cutoff ~ 1E-10 */
- weight *= R0;
- } else { /* q <= Qc */
- weight *= R0;
- }
- p *= weight;
- SCATTER;
-
- from_mcstas[0] = x;
- from_mcstas[1] = y;
- from_mcstas[2] = z;
- from_mcstas[3] = vx_org;
- from_mcstas[4] = vy_org;
- from_mcstas[5] = vz_org;
- from_mcstas[6] = p * (1. - weight); // Hmm... assuming that weigths has the same meening in MCNP and McStas.
- from_mcstas[7] = t;
- writeneutron_ (&from_mcstas);
- // double v2=vx_org*vx_org+vy_org*vy_org+vz_org*vz_org;
- // printf("%e %e %e %e \n ", weight, 1-weight, from_mcstas[6], v2);
- }
-%}
-
-MCDISPLAY
-%{
-
- multiline (5, -w1 / 2.0, -h1 / 2.0, 0.0, w1 / 2.0, -h1 / 2.0, 0.0, w1 / 2.0, h1 / 2.0, 0.0, -w1 / 2.0, h1 / 2.0, 0.0, -w1 / 2.0, -h1 / 2.0, 0.0);
- multiline (5, -w2 / 2.0, -h2 / 2.0, (double)l, w2 / 2.0, -h2 / 2.0, (double)l, w2 / 2.0, h2 / 2.0, (double)l, -w2 / 2.0, h2 / 2.0, (double)l, -w2 / 2.0,
- -h2 / 2.0, (double)l);
- line (-w1 / 2.0, -h1 / 2.0, 0, -w2 / 2.0, -h2 / 2.0, (double)l);
- line (w1 / 2.0, -h1 / 2.0, 0, w2 / 2.0, -h2 / 2.0, (double)l);
- line (w1 / 2.0, h1 / 2.0, 0, w2 / 2.0, h2 / 2.0, (double)l);
- line (-w1 / 2.0, h1 / 2.0, 0, -w2 / 2.0, h2 / 2.0, (double)l);
-%}
-
-END
diff --git a/mcstas-comps/obsolete/Virtual_mcnp_ss_input.comp b/mcstas-comps/obsolete/Virtual_mcnp_ss_input.comp
deleted file mode 100644
index b594de4e6e..0000000000
--- a/mcstas-comps/obsolete/Virtual_mcnp_ss_input.comp
+++ /dev/null
@@ -1,187 +0,0 @@
-/*******************************************************************************
-*
-* McStas, neutron ray-tracing package
-* Copyright (C) 1997-2012, All rights reserved
-* Risoe National Laboratory, Roskilde, Denmark
-* Institut Laue Langevin, Grenoble, France
-*
-* Component: Virtual_mcnp_ss_input.comp
-*
-* %I
-* Written by: Esben Klinkby and Peter Willendrup
-* Date: January, 2012
-* Origin: DTU
-*
-* This component uses a Source Surface type file of recorded neutrons from the
-* reactor monte carlo code MCNP as a source of particles.
-*
-* %D
-* This component draws neutron events from a Source Surface file created using the
-* MCNP Monte Carlo code and converts them to make them suitable for a McStas simulation
-*
-* Note that axes orientation may be different between MCNP and McStas!
-* Note also that the conversion of between McStas and MCNP units and parameters
-* is done automatically by this component - but the user must ensure that
-* geometry description matches between the two Monte Carlo codes.
-*
-* The verbose mode is highly recommended as it displays lots of useful informations.
-*
-* This interface uses the MCNP Source Surface Read/Write format (SSW/SSR).
-* Infomation transfer from(to) SSW files proceeds via a set of Fortran modules
-* and subroutines collected in "subs.f"
-* For succesful compilation, it is required that these subroutines are compiled
-* and linked to the instrument file:
-*
-* mcstas dummy.instr -> generates dummy.c
-* gfortran -c subs.f -> generates subs.f
-* gcc -o runme.out dummy.c subs.o -lm -lgfortran -> generates runme.out
-*
-* Note that this requires a fortran compiler (here gfortran) and gcc.
-*
-* %BUGS
-* None known bugs so far. But surely this will change...
-* Caveat: when writing the header for the output wssa file, the number of histories and tracks are assumed to be that of the
-* input MNCP run. This is generally not the case, due to losses in the McStas simulation step.
-* In case of losses any subsequel MCNP run based on the McStas output, can be confused by inconsistency between
-* header and file content. To resolve, either ensure that NPS is lower than the actual number of events in the McStas output.
-* Or hardcode values of nhis & ntrk in either subs.f or Virtual_mcnp_ss_output.comp.
-*
-* EXAMPLE of usage:
-* first a MCNP simulation is run
-* and at a relevant surface, a Source Surface Write card is given (e.g. for MCNP surface #1, add the line:
-* SSW 1
-* to the end of the input file.
-* By this a ".w" file is produced, which then serves as input to the McStas simulation.
-* Present version: rename *.w to rssa, and make sure to put it in the dir from which McStas is run
-*
-* %P
-* file: [str] Name of the MCNP SSW neutron input file. Not active: Name assumed to be 'rssa'
-* verbose: [1] Toggles debugging info on/off
-*
-* %L
-* MCNP
-* %L
-* MCNP -- A General Monte Carlo N-Particle Transport Code, Version 5, Volume II: User's Guide, p177
-*
-* %E
-*
-*******************************************************************************/
-
-DEFINE COMPONENT Virtual_mcnp_ss_input
-
-SETTING PARAMETERS (string file="rssa", verbose=1)
-
-DEPENDENCY "-L@MCCODE_LIB@/libs/neutronics/ -lneutronics -lgfortran"
-NOACC
-
-SHARE
-%{
- #ifndef MCNP_INPUT_DEFS
- #define MCNP_INPUT_DEFS
- /* number of neutron events to read for file pre-analysis */
-
- #include
-
- #endif
-%}
-
-DECLARE
-%{
- FILE* hfile; /* Neutron input file handle */
-
- double to_mcstas[8];
- double from_mcstas[8];
- unsigned int ntrk;
- unsigned int nhis;
- unsigned int counter;
-%}
-
-INITIALIZE
-%{
- ntrk = 0;
- nhis = 0;
- counter = 0;
-
- char exit_flag = 0; /* set to 1 if end of simulation */
- long filesize = 0;
-
- struct stat stfile;
- /* Open neutron input file. */
- /* (If empty filename given, present warning in case of verbose, perform nothing) */
-
- if (strcmp (file, "rssa")) {
- printf ("MCNP_input: %s. Given filename is %s, please rename to 'rssa' and rerun!\n", NAME_CURRENT_COMP, file);
- } else {
- if (file) {
- stat (file, &stfile);
- filesize = stfile.st_size;
- hfile = fopen (file, "r");
- }
- if (!hfile) {
- fprintf (stderr, "MCNP_input: %s: Error: Cannot open input file %s.\n", NAME_CURRENT_COMP, file);
- } else if (verbose)
- printf ("MCNP_input: %s: opening MCNP SSW file '%s' )\n", NAME_CURRENT_COMP, file);
-
- readheader_ (&ntrk, &nhis);
- if (verbose)
- printf ("Number of histories in input MCNP SSW file: %d \n ", nhis);
- if (verbose)
- printf ("Number of tracks in input MCNP SSW file: %d \n ", ntrk);
- if (verbose)
- printf ("Analysing MCNP file %s (", file);
- if (verbose)
- printf (")\n");
-
- } /* non-empty filename */
-%}
-
-TRACE
-%{
- char exit_flag = 0; /* set to 1 if end of simulation */
- int result_read = 1;
-
- while (1) {
- readneutron_ (&to_mcstas);
-
- x = to_mcstas[0];
- y = to_mcstas[1];
- z = to_mcstas[2];
-
- vx = to_mcstas[3];
- vy = to_mcstas[4];
- vz = to_mcstas[5];
-
- p = to_mcstas[6];
- t = to_mcstas[7];
- sx = 1.;
- sy = sz = 0;
-
- if (counter >= (nhis - 1)) {
- result_read = EOF;
- exit_flag = 1;
- }
- counter++;
-
- if (exit_flag) {
- if (verbose)
- printf (" Finishing simulation\n");
- mcset_ncount (mcget_run_num ());
- ABSORB;
- }
- SCATTER;
- break;
- /* end while */
- }
-%}
-
-FINALLY
-%{
- closefiles_ ();
-%}
-
-MCDISPLAY
-%{
-
-%}
-
-END
diff --git a/mcstas-comps/obsolete/Virtual_mcnp_ss_output.comp b/mcstas-comps/obsolete/Virtual_mcnp_ss_output.comp
deleted file mode 100644
index 34ff52ab46..0000000000
--- a/mcstas-comps/obsolete/Virtual_mcnp_ss_output.comp
+++ /dev/null
@@ -1,198 +0,0 @@
-/*******************************************************************************
-*
-* McStas, neutron ray-tracing package
-* Copyright (C) 1997-2012, All rights reserved
-* Risoe National Laboratory, Roskilde, Denmark
-* Institut Laue Langevin, Grenoble, France
-*
-* Component: Virtual_mcnp_ss_output.comp
-* %I
-* Written by: Esben Klinkby and Peter Willendrup
-* Date: January, 2012
-* Origin: DTU
-*
-* This component uses a Source Surface type file of recorded neutrons from the
-* reactor monte carlo code MCNP as a source of particles.
-*
-* %D
-* This component draws neutron events from a Source Surface file created using the
-* MCNP Monte Carlo code and converts them to make them suitable for a McStas simulation
-*
-* Note that axes orientation may be different between MCNP and McStas!
-* Note also that the conversion of between McStas and MCNP units and parameters
-* is done automatically by this component - but the user must ensure that
-* geometry description matches between the two Monte Carlo codes.
-*
-* The verbose mode is highly recommended as it displays lots of useful informations.
-*
-* This interface uses the MCNP Source Surface Read/Write format (SSW/SSR).
-* Infomation transfer from(to) SSW files proceeds via a set of Fortran modules
-* and subroutines collected in "subs.f"
-* For succesful compilation, it is required that these subroutines are compiled
-* and linked to the instrument file:
-*
-* mcstas dummy.instr -> generates dummy.c
-* gfortran -c subs.f -> generates subs.f
-* gcc -o runme.out dummy.c subs.o -lm -lgfortran -> generates runme.out
-*
-* Note that this requires a fortran compiler (here gfortran) and gcc.
-*
-* %BUGS
-* None known bugs so far. But surely this will change...
-* Caveat: when writing the header for the output wssa file, the number of histories and tracks are assumed to be that of the
-* input MNCP run. This is generally not the case, due to losses in the McStas simulation step.
-* In case of losses any subsequel MCNP run based on the McStas output, can be confused by inconsistency between
-* header and file content. To resolve, either ensure that NPS is lower than the actual number of events in the McStas output.
-* Or hardcode values of nhis & ntrk in either subs.f or Virtual_mcnp_ss_output.comp.
-*
-* EXAMPLE of usage:
-* first a MCNP simulation is run
-* and at a relevant surface, a Source Surface Write card is given (e.g. for MCNP surface #1, add the line:
-* SSW 1
-* to the end of the input file.
-* By this a ".w" file is produced, which then serves as input to the McStas simulation.
-* Present version: rename *.w to rssa, and make sure to put it in the dir from which McStas is run (or use symbolic links)
-*
-* %P
-* INPUT PARAMETERS
-* file: [str] Name of the MCNP SSW neutron input file. Not active: Name assumed to be 'rssa'
-* verbose: [1] Toggles debugging info on/off
-*
-* %L
-* MCNP
-* %L
-* MCNP -- A General Monte Carlo N-Particle Transport Code, Version 5, Volume II: User's Guide, p177
-*
-* %E
-*
-*******************************************************************************/
-
-DEFINE COMPONENT Virtual_mcnp_ss_output
-
-SETTING PARAMETERS (string file="rssa", verbose=1)
-
-DEPENDENCY "-L@MCCODE_LIB@/libs/neutronics/ -lneutronics -lgfortran"
-NOACC
-
-SHARE
-%{
- #ifndef MCNP_INPUT_DEFS
- #define MCNP_INPUT_DEFS
- /* number of neutron events to read for file pre-analysis */
-
- #include
-
- #endif
-%}
-
-DECLARE
-%{
- FILE* hfile; /* Neutron input file handle */
-
- double to_mcstas[8];
- double from_mcstas[8];
- unsigned int counterout;
- unsigned int ntrk;
- unsigned int nhis;
-%}
-
-INITIALIZE
-%{
-
- char exit_flag = 0; /* set to 1 if end of simulation */
- long filesize = 0;
-
- counterout = 0;
-
- struct stat stfile;
- /* Open neutron input file. */
- /* (If empty filename given, present warning in case of verbose, perform nothing) */
-
- if (strcmp (file, "rssa")) {
- printf ("MCNP_input: %s: Given filename is %s, please rename to 'rssa' and rerun!\n", NAME_CURRENT_COMP, file);
- } else {
- if (file) {
- stat (file, &stfile);
- filesize = stfile.st_size;
- hfile = fopen (file, "r");
- }
- if (!hfile) {
- fprintf (stderr, "MCNP_input: %s: Error: Cannot open input file %s.\n", NAME_CURRENT_COMP, file);
- } else if (verbose)
- printf ("MCNP_input: %s: opening MCNP SSW file '%s'\n", NAME_CURRENT_COMP, file);
-
- // put hardcoded nhis and ntrk values here
- // ntrk=10;
- // nhis=10;
- ntrk = 10;
- nhis = 10; // Number of histories in MCNP SSW file
- writeheader_ (&ntrk, &nhis);
-
- if (verbose)
- printf ("Number of histories in MCNP SSW file: %d \n ", nhis);
- if (verbose)
- printf ("WARNING: #histories & #tracks are copied from orginal MCNP run \n");
- if (verbose)
- printf ("WARNING: Generally there is a loss of events in the McStas step, \n");
- if (verbose)
- printf ("WARNING: causing ntrk and nhis to be wrong in subsequent MCNP running. \n");
- if (verbose)
- printf ("WARNING: MCNP cannot handle this (crashes). \n");
- if (verbose)
- printf ("WARNING: To resolve, reduce ntrk & nhis by hardcoding numbers in either: \n");
- if (verbose)
- printf ("WARNING: Virtual_mcnp_ss_output.comp or subs.f \n");
- if (verbose)
- printf ("WARNING: sorry for the inconvience. \n");
- if (verbose)
- printf ("Analysing MCNP file: %s \n", file);
-
- } /* non-empty filename */
-%}
-
-TRACE
-%{
- char exit_flag = 0; /* set to 1 if end of simulation */
- int result_read = 1;
-
- while (1) {
- from_mcstas[0] = x;
- from_mcstas[1] = y;
- from_mcstas[2] = z;
- from_mcstas[3] = vx;
- from_mcstas[4] = vy;
- from_mcstas[5] = vz;
- from_mcstas[6] = p;
- from_mcstas[7] = t;
-
- writeneutron_ (&from_mcstas);
-
- if (counterout >= (nhis - 1)) {
- result_read = EOF;
- exit_flag = 1;
- }
- counterout++;
-
- if (exit_flag) {
- if (verbose)
- printf (" Finishing simulation\n");
- mcset_ncount (mcget_run_num ());
- ABSORB;
- }
- SCATTER;
- break;
- /* end while */
- }
-%}
-
-FINALLY
-%{
- closefiles_ ();
-%}
-
-MCDISPLAY
-%{
-
-%}
-
-END
diff --git a/mcstas-comps/obsolete/Virtual_output.comp b/mcstas-comps/obsolete/Virtual_output.comp
index 505e1bf4bc..0f64af196f 100644
--- a/mcstas-comps/obsolete/Virtual_output.comp
+++ b/mcstas-comps/obsolete/Virtual_output.comp
@@ -16,6 +16,8 @@
* 'virtual source' neutron file.
*
* %D
+* NOTE: No longer supported - use MCPL_output instead. Any use exits with an error.
+*
* Detector-like component writing neutron state parameters to a
* virtual source neutron filename. The component geometry is the full
* plane, and saves the neutron state as it exits from the previous
@@ -36,9 +38,6 @@
* Moreover, using the 'bufsize' parameter will often lead to wrong intensities.
* Both methods will generate huge files.
*
-* A Vitess file may be obtained from the 'Vitess_output' component or from a
-* Vitess simulation (104 bytes per neutron) and read with Vitess_input.
-*
* Example: Virtual_output(filename="MySource.dat")
* will generate a 9 Mo text file for 1e5 events stored.
*
@@ -76,6 +75,8 @@ DECLARE
INITIALIZE
%{
+ fprintf (stderr, "ERROR (%s): Virtual_output is no longer supported. Use MCPL_output instead.\n", NAME_CURRENT_COMP);
+ exit (-1);
long element_size = 85; /* mean size per neutron for ascii storing */
diff --git a/mcstas-comps/obsolete/Virtual_tripoli4_input.comp b/mcstas-comps/obsolete/Virtual_tripoli4_input.comp
deleted file mode 100644
index b2aa28c914..0000000000
--- a/mcstas-comps/obsolete/Virtual_tripoli4_input.comp
+++ /dev/null
@@ -1,667 +0,0 @@
-/*******************************************************************************
-*
-* McStas, neutron ray-tracing package
-* Copyright (C) 1997-2006, All rights reserved
-* Risoe National Laboratory, Roskilde, Denmark
-* Institut Laue Langevin, Grenoble, France
-*
-* Component: Virtual_tripoli4_input.comp
-* %I
-* Written by: Guillaume Campioni
-* Date: Sep 28th, 2001
-* Origin: SERMA
-* Modified by: E. Farhi: Added automatic orientation+beam info+intensity norm
-*
-* This component reads a file of recorded neutrons from the reactor Monte Carlo
-* code TRIPOLI4.4 as a source of particles.
-*
-* %D
-* This component generates neutron events from a file created using the
-* TRIPOLI4 Monte Carlo code for nuclear reactors (as MCNP). It is used to
-* calculate flux exiting from hot or cold neutron sources.
-* Neutron position and velocity is set from the file. The neutron time is
-* left at zero.
-* Storage files from TRIPOLI4.4 contain several batches of particules, all
-* of them having the same statictical weight.
-*
-* Note that axes orientation may be different between TRIPOLI4.4 and McStas.
-* The component has the ability to center and orient the neutron beam to the Z-axis.
-* It also changes the coordinate system from the Tripoli frame to the McStas one.
-* The verbose mode is highly recommended as it displays lots of useful informations,
-* including the absolute intensity normalisation factor. All neutron fluxes in the
-* instrument should be multiplied by this factor. Such a renormalization is done
-* when 'autocenter' contains the word 'rescale'.
-* The source total intensity is 1.054e18 for LLB/Saclay (14 MW) and 4.28e18 for
-* ILL/Grenoble (58 MW).
-*
-* Format of TRIPOLI4.4 event files is :
-*
-* NEUTRON energy position_X position_Y position_Z dir_X dir_Y dir_Z weight
-*
-* energy is in Mega eV
-* positions are in cm and the direction vector is normalized to 1.
-*
-* %BUGS
-* We recommend NOT to use parallel execution (MPI) with this component. If you
-* need to, set parameter 'smooth=1'.
-*
-* EXAMPLE:
-* To create a 'source' from a Tripoli4 simulation event file for the ILL:
-* COMPONENT source = Virtual_tripoli4_input(
-* filename = "ILL_SFH.dat", intensity=4.28e18,
-* verbose = 1, autocenter="translate rotate rescale")
-*
-* %P
-* INPUT PARAMETERS
-* filename: [str] Name of the Tripoli4.4 neutron input file. Empty string "" unactivates component
-* repeat_count: [1] Number of times the source must be generated. 0 unactivates the component
-* verbose: [0|1] Displays additional informations if set to 1
-* intensity: [n/s] Initial total Source integrated intensity
-* autocenter: [str] String which may contain following keywords. "translate" or "center" to center the beam area AT (0,0,0) "rotate" or "orient" to center the beam velocity along Z "rescale" to adapt intensity to abs. units. Other words are ignored.
-* T4_ANALYSE: [1] Number of neutron events to read for file pre-analysis. Use 0 to analyze them all.
-* T4_ANALYSE_EMIN: [meV] Minimal energy to use for file pre-analysis
-* T4_ANALYSE_EMAX: [meV] Maximal energy to use for file pre-analysis
-* radius: [m] In the case the Tripoli4 batch file is a point, you may specify a disk emission area for the source.
-* smooth: [0/1] Smooth sparsed event files for file repetitions.
-*
-* OUTPUT PARAMETERS
-* head: [char] header buffer
-* nl: [long] nb of lines in header
-* mean_x: [m] source center coordinate
-* mean_y: [m] source center coordinate
-* mean_z: [m] source center coordinate
-* angle2z: [rad] rotation angle required to orient beam along Z axis
-* nbatch: [long] number of read neutron batches
-*
-* %L
-* Tripoli
-* %L
-* Virtual_tripoli4_output
-* %L
-* CAMPIONI Guillaume, Etude et Modelisation des Sources Froides de Neutrons, These de Doctorat, CEA Saclay/UJF (2004)
-*
-* %E
-*
-*******************************************************************************/
-
-DEFINE COMPONENT Virtual_tripoli4_input
-
-SETTING PARAMETERS (string filename=0, string autocenter=0, repeat_count=1, verbose=0, intensity=1,
-T4_ANALYSE=10000, radius=0, T4_ANALYSE_EMIN=0, T4_ANALYSE_EMAX=0,smooth=1)
-
-/* Neutron parameters: (x,y,z,vx,vy,vz,t,sx,sy,sz,p) */
-
-SHARE
-%{
- #ifndef TRIPOLI4_INPUT_DEFS
- #define TRIPOLI4_INPUT_DEFS
- /* define Tripoli File parsing functions */
- #define T4_WORDSIZE 256
-
- #include
-
- /* functions to identify Tripoli keywords */
- int
- begin_of_batch (const char* word) {
- return strcmp (word, "BEGIN_OF_BATCH") == 0 ? 1 : 0;
- }
- int
- end_of_batch (const char* word) {
- return strcmp (word, "END_OF_BATCH") == 0 ? 1 : 0;
- }
- int
- is_neutron (const char* word) {
- return strcmp (word, "NEUTRON") == 0 ? 1 : 0;
- }
-
- /* tripoli_read_word:
- function that reads iteratively words in the file
- returns EOF or last character
- word[0..l-1]
- */
- int
- tripoli_read_word (FILE* hfile, char* word) {
- char c;
- int i = 0;
-
- while ((c = fgetc (hfile)) != EOF && isspace (c)) { /* skip spaces */
- }
-
- if (c != EOF) {
- word[i++] = c;
- while ((c = fgetc (hfile)) != EOF && i < T4_WORDSIZE) {
- if (isspace (c))
- break;
- word[i++] = c;
- }
- }
- word[i] = '\0';
- return c;
- }
-
- /* tripoli_create_neutron:
- function that reads values following the NEUTRON keyword
- and assigns neutron parameters.
- Warning: Tripoli Coord system (x y z) = (-x z y)
- */
- int
- tripoli_create_neutron (FILE* hfile, double* x, double* y, double* z, double* vx, double* vy, double* vz, double* t, double* sx, double* sy, double* sz,
- double* p) {
- double Mev2Joule = 1.602e-13;
- double speed;
- int exit_flag = 0, ifield = 0;
- char word[T4_WORDSIZE];
- double field[8];
-
- while (ifield < 8) {
- if (tripoli_read_word (hfile, word) == EOF) {
- exit_flag = 1;
- break;
- };
- field[ifield++] = strtod (word, NULL);
- }
- if (field[0] < 0 || exit_flag) {
- exit_flag = 1;
- } else {
- speed = sqrt (2. * field[0] * Mev2Joule / MNEUTRON);
- *x = field[1] / 100.0;
- *y = field[2] / 100.0;
- *z = field[3] / 100.0;
- *vx = field[4] * speed;
- *vy = field[5] * speed;
- *vz = field[6] * speed;
- *p = field[7];
- *sx = 1.;
- *sy = *sz = 0;
- *t = 0;
- // now change axis system
- double tx, ty, tz;
- tx = *x;
- ty = *y;
- tz = *z;
- *x = -ty;
- *y = -tz;
- *z = tx;
- tx = *vx;
- ty = *vy;
- tz = *vz;
- *vx = -ty;
- *vy = -tz;
- *vz = tx;
- }
- return (exit_flag);
- }
- /* tripoli_get_header:
- function that gets header lines until the Tripoli start of a batch
- */
- char**
- tripoli_get_header (FILE* hfile, long* nl) {
- int i;
- char **head, *s;
- char word[T4_WORDSIZE];
-
- *nl = 0;
- s = fgets (word, T4_WORDSIZE, hfile);
- while (strncmp (word, "BEGIN_OF_BATCH", 14) != 0) {
- s = fgets (word, T4_WORDSIZE, hfile);
- (*nl)++;
- }
- rewind (hfile);
- head = (char**)calloc (*nl, sizeof (char*));
- for (i = 0; i < *nl; ++i) {
- s = fgets (word, T4_WORDSIZE, hfile);
- head[i] = (char*)malloc (T4_WORDSIZE);
- strcpy (head[i], word);
- }
- rewind (hfile);
- return head;
- }
-
- #endif
-%}
-
-DECLARE
-%{
- int rep; /* Neutron repeat count */
- int repeat_cnt; /* Repeat count, MPI taken into account */
- FILE* hfile; /* Neutron input file handle */
- char** head; /* Tripol4 header*/
- long nl; /* Number of lines in header*/
- long first_batch; /* position in file of first batch */
- long begin_batch, end_batch; /* current batch numbers */
- char do_rotate, do_translate;
- double mean_x, mean_y, mean_z;
- double bx, by, bz;
- double angle2z;
- long nbatch;
- long nsize;
- double intensity_extrapolated;
-
- double min_x, min_y, min_z;
- double max_x, max_y, max_z;
- double min_vx, min_vy, min_vz;
- double max_vx, max_vy, max_vz;
- double n_count_extrapolated;
-%}
-
-INITIALIZE
-%{
- rep = 1;
- first_batch = 0;
- begin_batch = 0;
- end_batch = 0;
- do_rotate = 0;
- do_translate = 0;
- mean_x = 0;
- mean_y = 0;
- mean_z = 0;
- angle2z = 0;
- nbatch = 0;
- nsize = 0;
- intensity_extrapolated = 0;
- min_x = FLT_MAX;
- min_y = FLT_MAX;
- min_z = FLT_MAX;
- max_x = -FLT_MAX;
- max_y = -FLT_MAX;
- max_z = -FLT_MAX;
- min_vx = FLT_MAX;
- min_vy = FLT_MAX;
- min_vz = FLT_MAX;
- max_vx = -FLT_MAX;
- max_vy = -FLT_MAX;
- max_vz = -FLT_MAX;
- n_count_extrapolated = 0;
-
- char word[T4_WORDSIZE];
- char exit_flag = 0; /* set to 1 if end of simulation */
- int result_read;
-
- double mean_vx = 0, mean_vy = 0, mean_vz = 0, mean_v = 0;
- double mean_dx = 0, mean_dy = 0, mean_dz = 0;
-
- double n_neutrons = 0;
- double n_neutrons_p = 0;
- long filesize = 0;
-
- struct stat stfile;
-
- /* Open neutron input file. */
- /* (If empty file given, present warning in case of verbose, perform nothing) */
-
- if (!strcmp (filename, "")) {
- if (verbose)
- printf ("Tripoli4_input: %s: Empty file given, doing nothing!\n", NAME_CURRENT_COMP);
- } else {
- printf ("non-empty file given\n");
- if (filename) {
- stat (filename, &stfile);
- filesize = stfile.st_size;
- hfile = fopen (filename, "r");
- }
-
- if (!hfile) {
- fprintf (stderr, "Tripoli4_input: %s: Error: Cannot open input file %s.\n", NAME_CURRENT_COMP, filename);
- exit (1);
- } else if (verbose)
- printf ("Tripoli4_input: %s: opening Tripoli4 file '%s'\n", NAME_CURRENT_COMP, filename);
-
- head = tripoli_get_header (hfile, &nl); /* and reset to file start */
-
- while (tripoli_read_word (hfile, word) != EOF) {
- /* store position of first batch in file for repeat */
- first_batch = ftell (hfile);
- if (begin_of_batch (word)) {
- if (tripoli_read_word (hfile, word) != EOF) {
- begin_batch = strtol (word, NULL, 0);
- break;
- }
- }
- if (!strcmp (word, "SIZE") || !strcmp (word, "TAILLE")) {
- if (tripoli_read_word (hfile, word) != EOF)
- nsize = strtol (word, NULL, 0);
- }
- }
-
- if (verbose) {
- printf ("Analysing Tripoli4 file %s (", filename);
- if (T4_ANALYSE)
- printf ("%g events)\n", T4_ANALYSE);
- else
- printf ("all events)\n");
- }
-
- /* analyse Tripoli file: count neutrons, get beam center and mean speed
- * do that for the first 1e4 neutrons, and extrapolates to file size */
- while (!exit_flag && (n_neutrons <= T4_ANALYSE || !T4_ANALYSE)) {
- result_read = tripoli_read_word (hfile, word);
-
- if (is_neutron (word)) { /* if key word NEUTRON is found */
- double x, y, z, vx, vy, vz, t, p, sx, sy, sz;
- if (tripoli_create_neutron (hfile, &x, &y, &z, &vx, &vy, &vz, &t, &sx, &sy, &sz, &p)) {
- fprintf (stderr, "Tripoli4_input: %s: Error: Cannot get neutron %g in batch %ld.\n", NAME_CURRENT_COMP, n_neutrons, begin_batch);
- exit_flag = 1;
- } else {
- double v, w;
- /* if an energy filter is set, use it */
- v = sqrt (vx * vx + vy * vy + vz * vz);
- w = VS2E * v * v;
- if ((!T4_ANALYSE_EMIN && !T4_ANALYSE_EMAX) || (T4_ANALYSE_EMIN <= w && w <= T4_ANALYSE_EMAX)) {
- mean_x += p * x;
- mean_y += p * y;
- mean_z += p * z;
- mean_vx += p * vx;
- mean_vy += p * vy;
- mean_vz += p * vz;
- mean_v += p * v;
- angle2z += p * vz / v;
-
- if (v) {
- mean_dx += p * fabs (vx / v);
- mean_dy += p * fabs (vy / v);
- mean_dz += p * fabs (vz / v);
- }
- if (x < min_x)
- min_x = x;
- if (y < min_y)
- min_y = y;
- if (z < min_z)
- min_z = z;
- if (vx < min_vx)
- min_vx = vx;
- if (vy < min_vy)
- min_vy = vy;
- if (vz < min_vz)
- min_vz = z;
- if (x > max_x)
- max_x = x;
- if (y > max_y)
- max_y = y;
- if (z > max_z)
- max_z = z;
- if (vx > max_vx)
- max_vx = vx;
- if (vy > max_vy)
- max_vy = vy;
- if (vz > max_vz)
- max_vz = z;
- n_neutrons_p += p;
- }
- n_neutrons++;
- }
- }
-
- if (begin_of_batch (word)) { /* if key word BEGIN_OF_BATCH is found */
- if (tripoli_read_word (hfile, word) != EOF) {
- begin_batch = strtol (word, NULL, 0);
- nbatch++;
- }
- }
-
- if (result_read == EOF) { /* normal end of file */
- exit_flag = 1;
- }
- } /* end while */
-
- if (n_neutrons) {
- long end_analyse = 0;
- double cx, cy, cz;
- double nbatch_extrapolated = 0;
- end_analyse = ftell (hfile);
- mean_x /= n_neutrons_p;
- mean_y /= n_neutrons_p;
- mean_z /= n_neutrons_p;
- mean_vx /= n_neutrons_p;
- mean_vy /= n_neutrons_p;
- mean_vz /= n_neutrons_p;
- mean_dx /= n_neutrons_p;
- mean_dy /= n_neutrons_p;
- mean_dz /= n_neutrons_p;
- mean_v /= n_neutrons_p;
- angle2z /= n_neutrons_p;
- /* now estimates total ncount */
- if (T4_ANALYSE > 0) {
- n_count_extrapolated = n_neutrons * fabs (filesize - first_batch) / (end_analyse - first_batch);
- nbatch_extrapolated = nbatch * fabs (filesize - first_batch) / (end_analyse - first_batch);
- } else {
- n_count_extrapolated = n_neutrons;
- nbatch_extrapolated = nbatch;
- }
- if (verbose) {
- double mean_k, mean_w = 0, mean_L = 0;
-
- mean_k = V2K * mean_v;
- if (mean_k)
- mean_L = 2 * PI / mean_k;
- mean_w = VS2E * mean_v * mean_v;
- printf ("Tripoli4 file %s\nContains %s%g neutrons in %ld batches of size %ld\n", filename, T4_ANALYSE ? "about " : "", n_count_extrapolated,
- (long)nbatch_extrapolated, nsize);
- if (n_count_extrapolated > mcget_ncount ())
- printf (" (will use only %.3g %% of file)\n", 100.0 * mcget_ncount () / n_count_extrapolated);
- else
- printf (" (limiting simulation to %g neutrons)\n", n_count_extrapolated * repeat_count);
- printf (" Source size (full width in [m]): ");
- printf (" dX=%g dY=%g dZ=%g\n", max_x - min_x, max_y - min_y, max_z - min_z);
- if (fabs ((max_x - min_x) * (max_y - min_y)) < 1e-6 && radius <= 0)
- printf ("WARNING: source area is a point. Use radius > 0 to make it a disk\n");
- printf (" Source center (in [m]): ");
- printf (" X0=%g Y0=%g Z0=%g\n", mean_x, mean_y, mean_z);
- printf (" Beam velocity divergence (half width in [deg]):");
- printf (" dVx=%g dVy=%g dVz=%g\n", atan (mean_dx) * RAD2DEG, atan (mean_dy) * RAD2DEG, atan (mean_dz) * RAD2DEG);
- printf (" Beam speed (in [m/s]): ");
- printf (" Vx=%g Vy=%g Vz=%g\n", mean_vx, mean_vy, mean_vz);
- printf (" Beam mean energy:\n");
- printf (" speed=%g [m/s] energy=%g [meV]\n wavelength=%g [Angs] wavevector=%g [Angs-1]\n", mean_v, mean_w, mean_L, mean_k);
- }
- if (autocenter) {
- if (strstr (autocenter, "rotate") || strstr (autocenter, "orient")) {
- do_rotate = 1;
- }
- if (strstr (autocenter, "translate") || strstr (autocenter, "center"))
- do_translate = 1;
- if (strstr (autocenter, "rescale") && intensity && nbatch_extrapolated && nsize) {
- intensity_extrapolated = fabs (intensity / nbatch_extrapolated / nsize);
- printf ("* Automatic Normalisation factor Intensity/N/B = %g [n/s]\n", intensity_extrapolated);
- }
- }
- /* compute the rotation matrix to make mean_v along the Z-axis */
- /* first normalize mean velocity (will be Z axis): c=v/|v| */
- cx = mean_vx / mean_v;
- cy = mean_vy / mean_v;
- cz = mean_vz / mean_v;
-
- /* compute angle to rotate in order to come back to Z axis */
- // angle2z = acos(cz); /* in RAD */
- angle2z = acos (angle2z);
- /* get rotation axis b=c x [0 0 1] */
- if (angle2z) {
- vec_prod (bx, by, bz, cx, cy, cz, 0, 0, 1);
- } else { /* already well oriented: nothing to do */
- do_rotate = 0;
- }
- if (verbose && (do_rotate || do_translate || smooth)) {
- printf ("* Beam will be ");
- if (do_translate)
- printf ("translated (in position) ");
- if (do_rotate)
- printf ("rotated (%.3g [deg] to Z-axis) ", angle2z * RAD2DEG);
- if (smooth)
- printf ("smoothed ");
- printf ("\n");
- }
-
- } else {
- fprintf (stderr, "Tripoli4_input: %s: Error: file %s neutrons does not contains any neutron. \n", NAME_CURRENT_COMP, filename);
- exit (-1);
- }
- begin_batch = 0;
- nbatch = 0;
- /* reposition at start of file (batch start) */
- if (fseek (hfile, first_batch, SEEK_SET)) {
- fprintf (stderr, "Tripoli4_input: %s: Error: Can not reset Tripoli4 file (fseek error at analyse). \n", NAME_CURRENT_COMP);
- exit_flag = 1;
- }
-
- #if defined (USE_MPI)
- if (!smooth && mpi_node_count > 1) {
- if (verbose)
- printf ("Tripoli4_input: %s: smoothing (smooth=1) is recommended when running MPI execution\n", NAME_CURRENT_COMP);
- }
- #endif
-
- double min_dv = fabs (max_vx - min_vx);
- if (min_dv > fabs (max_vy - min_vy))
- min_dv = fabs (max_vy - min_vy);
- if (min_dv > fabs (max_vz - min_vz))
- min_dv = fabs (max_vz - min_vz);
- min_vx = min_dv;
- } /* non-empty file */
-
- repeat_cnt = repeat_count;
- #if defined (USE_MPI)
- repeat_cnt = ceil (1.0 * repeat_cnt / mpi_node_count);
- #endif
-%}
-
-TRACE
-%{
- char exit_flag = 0; /* set to 1 if end of simulation */
- int result_read;
- char word[T4_WORDSIZE];
-
- while (1) {
-
- result_read = tripoli_read_word (hfile, word);
-
- if (is_neutron (word)) { /* if key word NEUTRON is found */
- if (tripoli_create_neutron (hfile, &x, &y, &z, &vx, &vy, &vz, &t, &sx, &sy, &sz, &p)) {
- fprintf (stderr, "Virtual_tripoli4_input: %s: Error: Cannot create neutron in batch %ld.\n", NAME_CURRENT_COMP, begin_batch);
- fprintf (stderr, " Finishing simulation\n");
- exit_flag = 1;
- } else {
- if (do_translate) { /* translate the beam to origin */
- x -= mean_x;
- y -= mean_y;
- z -= mean_z;
- }
- if (radius > 0) /* force a disk source area */
- {
- double chi, r;
- chi = 2 * PI * rand01 (); /* Choose point on source */
- r = sqrt (rand01 ()) * radius; /* with uniform distribution. */
- x = r * cos (chi);
- y = r * sin (chi);
- }
- if (do_rotate) { /* rotate the beam so that its main axis is along Z */
- double nvx, nvy, nvz;
- rotate (nvx, nvy, nvz, vx, vy, vz, angle2z, bx, by, bz);
- vx = nvx;
- vy = nvy;
- vz = nvz;
- rotate (nvx, nvy, nvz, x, y, z, angle2z, bx, by, bz);
- x = nvx;
- y = nvy;
- z = nvz;
- }
- }
- if (intensity_extrapolated)
- p *= fabs (intensity_extrapolated / repeat_cnt);
- SCATTER;
- break;
- }
-
- if (end_of_batch (word)) { /* if key word END_OF_BATCH is found */
- if (tripoli_read_word (hfile, word) != EOF) {
- /* this is the number of finishing batch */
- end_batch = strtol (word, NULL, 0);
- if (end_batch != begin_batch && begin_batch) {
- /* finishing batch does not match the one we were reading ! */
- fprintf (stderr, "Tripoli4_input: %s: Warning: inconsistent batch numbers between END(%ld) and BEGIN(%ld).\n", NAME_CURRENT_COMP, end_batch,
- begin_batch);
- } else
- nbatch++;
- } else {
- fprintf (stderr, "Tripoli4_input: %s: Expect 'END_OF_BATCH', found '%s' (after batch %ld).", NAME_CURRENT_COMP, word, begin_batch);
- exit_flag = 1;
- }
- }
-
- if (begin_of_batch (word)) { /* if key word BEGIN_OF_BATCH is found */
- if (tripoli_read_word (hfile, word) != EOF) {
- begin_batch = strtol (word, NULL, 0);
- } else {
- fprintf (stderr, "Tripoli4_input: %s: Expect 'BEGIN_OF_BATCH', found '%s' (after batch %ld).", NAME_CURRENT_COMP, word, begin_batch);
- exit_flag = 1;
- }
- }
-
- #if defined (USE_MPI)
- if (smooth && n_count_extrapolated)
- #else
- if (smooth && rep > 1 && n_count_extrapolated)
- #endif
- {
- /* apply smmothing */
- x += randnorm () * (max_x - min_x) / n_count_extrapolated / 2;
- y += randnorm () * (max_y - min_y) / n_count_extrapolated / 2;
- z += randnorm () * (max_z - min_z) / n_count_extrapolated / 2;
- vx += randnorm () * min_vx / n_count_extrapolated / 2;
- vy += randnorm () * min_vx / n_count_extrapolated / 2;
- vx += randnorm () * min_vx / n_count_extrapolated / 2;
- }
-
- if (result_read == EOF) { /* normal end of file */
- rep++;
- if (rep <= repeat_cnt) {
- /* reposition at start of file (batch start) */
- int ret = fseek (hfile, first_batch, SEEK_SET);
- if (ret) {
- fprintf (stderr, "Tripoli4_input: %s: Error: Can not repeat Tripoli4 file (fseek error at repeat %d). \n", NAME_CURRENT_COMP, rep);
- exit_flag = 1;
- }
- result_read = tripoli_read_word (hfile, word); /* should be batch start */
- begin_batch = strtol (word, NULL, 0);
- if (verbose)
- printf ("Tripoli4_input: %s: Start Batch Number %ld (iteration %d)\n", NAME_CURRENT_COMP, begin_batch, rep);
- } else
- exit_flag = 1;
- }
- #ifdef USE_MPI
- /* We always repeat by the number of nodes in an MPI run */
- p /= mpi_node_count;
- #endif
- if (exit_flag) {
- mcset_ncount (mcget_run_num ());
- ABSORB;
- }
-
- } /* end while */
-%}
-
-FINALLY
-%{
- if (strcmp (filename, "")) {
- if (head)
- free (head);
- if (hfile)
- fclose (hfile);
- if (verbose) {
- printf ("Tripoli4_input: %s: \n", NAME_CURRENT_COMP);
- printf (" %g neutrons generated\n", (double)mcget_ncount ());
- printf (" %ld read batch (B) of intial %ld neutrons (N)\n", nbatch, nsize);
- if (nbatch && nsize && intensity && !intensity_extrapolated)
- printf ("* Normalisation factor Intensity/N/B = %g [n/s]\n", intensity / nbatch / nsize);
- }
- }
-%}
-
-MCDISPLAY
-%{
-
- double width = (max_x - min_x) / 2;
- double height = (max_y - min_y) / 2;
- multiline (5, -width / 2.0, -height / 2.0, 0.0, width / 2.0, -height / 2.0, 0.0, width / 2.0, height / 2.0, 0.0, -width / 2.0, height / 2.0, 0.0, -width / 2.0,
- -height / 2.0, 0.0);
-%}
-
-END
diff --git a/mcstas-comps/obsolete/Virtual_tripoli4_output.comp b/mcstas-comps/obsolete/Virtual_tripoli4_output.comp
deleted file mode 100644
index d6bb8be4e7..0000000000
--- a/mcstas-comps/obsolete/Virtual_tripoli4_output.comp
+++ /dev/null
@@ -1,167 +0,0 @@
-/*******************************************************************************
-*
-* McStas, neutron ray-tracing package
-* Copyright 1997-2002, All rights reserved
-* Risoe National Laboratory, Roskilde, Denmark
-* Institut Laue Langevin, Grenoble, France
-*
-* Component: Virtual_tripoli4_output
-*
-* %I
-* Written by: Guillaume Campioni
-* Date: Sep 28th, 2001
-* Origin: LLB
-*
-* Detector-like component that writes neutron state parameters into a
-* 'virtual source' neutron file when neutrons come from the source :
-* Virtual_tripoli4_input.comp
-*
-* %D
-* Detector-like component writing neutron state parameters to a
-* virtual source neutron file when neutron are coming from a
-* Virtual_tripoli4_input.comp.
-* The component geometry is the full plane, and saves the neutron state as
-* it exits from the previous component.
-* Format is the one used by TRIPOLI4.4 stock files :
-*
-* NEUTRON energy position_X position_Y position_Z dir_X dir_Y dir_Z weight
-*
-* energy is in [Mega eV]
-* positions are in [cm] and the direction vector is normalized to 1.
-*
-* %BUGS
-* This component will NOT work with parallel execution (MPI/GPU).
-*
-* EXAMPLE:
-* To create a file collecting all neutron states with TRIPOLI4 format
-* COMPONENT T4output = Virtual_tripoli4_output(
-* filename = "exit_guide_result.dat", batch = 1 )
-* at the position where will be the Virtual_tripoli4_input when reading the file.
-*
-* %P
-* INPUT PARAMETERS
-* filename: [str] Name of the Tripoli4 neutron output file,
-* or stdout if left to 0.
-* batch: [1] Index of the Tripoli batch to generate, when no
-* Tripoli4_input component is available in instrument.
-*
-* %L
-* Tripoli
-* Virtual_tripoli4_input
-*
-* %E
-*******************************************************************************/
-
-DEFINE COMPONENT Virtual_tripoli4_output
-SETTING PARAMETERS (string filename=0, batch=1)
-
-/* Neutron parameters: (x,y,z,vx,vy,vz,t,sx,sy,sz,p) */
-
-DECLARE
-%{
- long previous_batch;
- FILE* hfile;
-%}
-
-INITIALIZE
-%{
- previous_batch = 0;
- int i;
- char** head;
- long nl;
-
- #if defined (USE_MPI) || defined(OPENACC)
- exit (printf ("Tripoli4_output: %s: ERROR: "
- "This component can not be used in parallel execution mode (MPI/GPU). Abort.\n",
- NAME_CURRENT_COMP));
- #endif
-
- /* Open neutron output file. */
- if (filename && strcmp (filename, "NULL") && strcmp (filename, "0") && strcmp (filename, "stdout"))
- hfile = fopen (filename, "w");
- else
- hfile = stdout;
- if (!hfile) {
- fprintf (stderr, "Tripoli4_output: %s: Error: Cannot open output file %s.\n", NAME_CURRENT_COMP,
- (filename && strcmp (filename, "NULL") && strcmp (filename, "0") && strcmp (filename, "stdout") ? filename : "stdout"));
- exit (1);
- }
- fprintf (hfile, "# Tripoli4 batch file %s written by %s\n",
- (filename && strcmp (filename, "NULL") && strcmp (filename, "0") && strcmp (filename, "stdout") ? filename : "stdout"), MCCODE_STRING);
- fprintf (hfile, "# Generated by component %s in instrument %s (%s)\n", NAME_CURRENT_COMP, instrument_name, instrument_source);
- fprintf (hfile, "# Format: Tripoli4 data text file with header\n");
-
- if (batch <= 0) {
- fprintf (stderr, "Tripoli4_output: %s: Error: Negative batch number (%d). Using 1.\n", NAME_CURRENT_COMP, (long)batch);
- batch = 1;
- }
- /* generates a default Tripoli 4 header */
- fprintf (hfile, "# Data on the original simulation which generates this file : \n");
- fprintf (hfile, "NB_BATCH 1\n");
- fprintf (hfile, "TAILLE Unknown\n");
- fprintf (hfile, "PARTICULE NEUTRON\n");
- fprintf (hfile, "INTENSITE %g\n", (double)mcget_ncount ());
- fprintf (hfile, "SIMULATION PROTECTION\n");
- fprintf (hfile, "Following lines are: type, energy in MeV, position = (x,y,z) in cm, direction = (u,v,w), statistical weight\n");
-%}
-
-TRACE
-%{
- double Mev2Joule = 1.602e-13;
- double Mneutron = 1.6749543e-27;
- long current_batch = 0;
-
- double energy, speed, weight;
- double ux, uy, uz, pos_x, pos_y, pos_z;
-
- current_batch = batch;
-
- if (current_batch != previous_batch) {
- if (previous_batch == 0) {
- /* write 1st batch header */
- fprintf (hfile, "------------------------------------------------------------------------------------------------------------\n");
- fprintf (hfile, "BEGIN_OF_BATCH %d\n\n", current_batch);
- } else {
- fprintf (hfile, "\nEND_OF_BATCH %d\n", previous_batch);
- fprintf (hfile, "------------------------------------------------------------------------------------------------------------\n");
- fprintf (hfile, "------------------------------------------------------------------------------------------------------------\n");
- fprintf (hfile, "BEGIN_OF_BATCH %d\n\n", current_batch);
- }
- previous_batch = current_batch;
- }
- /* writes Tripoli file line by line */
- speed = vx * vx + vy * vy + vz * vz;
- energy = speed / 2. * Mneutron / Mev2Joule;
-
- speed = sqrt (speed);
- ux = vx / speed;
- uy = vy / speed;
- uz = vz / speed;
-
- pos_x = x * 100.;
- pos_y = y * 100.;
- pos_z = z * 100.;
-
- weight = p;
- // printf("NEUTRON FINAL MC\t%f %f %f %f %f %f %f %f %f %f %e \n",x,y,z,vx,vy,vz,t,sx,sy,sz,p);
- // printf("NEUTRON FINAL TR\t%e \t%f \t%f \t%f \t%f \t%f \t%f \t%e \n", energy, pos_x, pos_y, pos_z, ux, uy, uz, weight);
-
- fprintf (hfile, "NEUTRON \t%e \t%f \t%f \t%f \t%f \t%f \t%f \t%e \n", energy, pos_x, pos_y, pos_z, ux, uy, uz, weight);
-%}
-
-SAVE
-%{
- if (hfile) {
- fprintf (hfile, "\nEND_OF_BATCH %d\n", previous_batch);
- fprintf (hfile, "------------------------------------------------------------------------------------------------------------\n");
- fflush (hfile);
- }
-%}
-
-FINALLY
-%{
- if (hfile)
- fclose (hfile);
-%}
-
-END
diff --git a/mcstas-comps/obsolete/Vitess_input.comp b/mcstas-comps/obsolete/Vitess_input.comp
deleted file mode 100644
index 3481efa799..0000000000
--- a/mcstas-comps/obsolete/Vitess_input.comp
+++ /dev/null
@@ -1,151 +0,0 @@
-/*******************************************************************************
-*
-* McStas, the neutron ray-tracing package: Vitess_input.comp
-* Copyright 1997-2001 Risoe National Laboratory, Roskilde, Denmark
-*
-* Component: Vitess_input
-*
-* %I
-* Written by: Kristian Nielsen
-* Date: June 6, 2000
-* Origin: Risoe/ILL
-* Modified by: E. Farhi, Sep 28th, 2001: added spin
-*
-* Read neutron state parameters from VITESS neutron filename.
-*
-* %D
-* Source-like component reading neutron state parameters from a
-* VITESS neutron filename. Used to interface McStas components or
-* simulations into VITESS. Each neutron is 104 bytes.
-*
-* Example: Vitess_input(filename="MySource.vit", bufsize = 10000, repeat_count = 2)
-*
-* %BUGS
-* We recommend NOT to use parallel execution (MPI) with this component.
-*
-* %P
-* INPUT PARAMETERS
-*
-* filename: [string] Filename of neutron file to read. Default (NULL) is standard input. Empty string "" unactivates component
-* bufsize: [records] Size of neutron input buffer
-* repeat_count: [1] Number of times to repeat each neutron read
-*
-* OUTPUT PARAMETERS
-*
-* finished: [int] Set to 1 when the last neutron has been read
-*
-* %E
-*******************************************************************************/
-
-
-DEFINE COMPONENT Vitess_input
-
-SETTING PARAMETERS (string filename = 0, int bufsize = 10000, repeat_count = 1)
-
-/* Neutron parameters: (x,y,z,vx,vy,vz,t,sx,sy,sz,p) */
-SHARE
-%{
-%include "general"
-%include "vitess-lib"
-%}
-
-DECLARE
-%{
- char* file; /* path + filename */
- FILE* hfile; /* Neutron input filename handle */
- Neutron* ibuf; /* Neutron input buffer */
- int size; /* Number of neutrons currently in buffer */
- int pos; /* Current position in buffer */
- int rep; /* Neutron repeat count */
- int finished; /* Set to 1 when last neutron read */
-%}
-
-INITIALIZE
-%{
- file = NULL;
- hfile = NULL;
- ibuf = NULL;
- size = 0;
- pos = 0;
- rep = 0;
- finished = 0;
-
- /* Open neutron input filename. */
- if (!filename || !strcmp (filename, "NULL") || !strcmp (filename, "0") || !strcmp (filename, "stdin")) {
- hfile = stdin;
- } else if (!strlen (filename)) {
- hfile = NULL;
- } else {
- hfile = fopen ((file = FullParName (filename)), "rb");
- if (!hfile) {
- fprintf (stderr, "Vitess_input: Error: Cannot open input file %s.\n", file);
- exit (1);
- }
- }
- #ifdef WIN32
- if (hfile == stdin) {
- if (_setmode (_fileno (stdin), _O_BINARY) == -1) {
- fprintf (stderr, "Can't set stdin to binary mode\n");
- exit (1);
- }
- }
- #endif
- if (hfile) {
- /* Allocate neutron input buffer. */
- ibuf = calloc (bufsize, sizeof (Neutron));
- if (!ibuf) {
- fprintf (stderr, "Vitess_input: Error: Cannot allocate neutron buffer.\n");
- exit (1);
- }
- }
-%}
-
-TRACE
-%{
- if (hfile && ibuf) {
- if (pos >= size) {
- /* Buffer is empty. */
- size = fread (ibuf, sizeof (Neutron), bufsize, hfile);
- if (size <= 0) {
- if (ferror (hfile))
- fprintf (stderr, "Vitess_input: Error during read of neutron file %s.\n", file);
- if (feof (hfile) || ferror (hfile))
- finished = 1; /* End of filename or error reached */
- } else {
- pos = 0; /* Reposition at start of buffer */
- }
- }
- /* When no more neutron records are available in the neutron filename,
- any remaining iterations are skipped by immediately ABSORB'ing
- the neutron. */
- if (finished)
- ABSORB;
- vitess2mcstas (ibuf[pos], &x, &y, &z, &vx, &vy, &vz, &t, &sx, &sy, &sz, &p);
- /* The following three lines have references to things that are no longer
- in the McStas vitess libs */
- /* vitess_col = ibuf[pos].Color;
- vitess_ID.IDNo = ibuf[pos].ID.IDNo;
- memcpy(vitess_ID.IDGrp, ibuf[pos].ID.IDGrp, 2); */
-
- /* Repeat the same neutron state parameters the required number of
- times. */
- ++rep;
- if (rep >= repeat_count) {
- rep = 0;
- ++pos;
- }
- }
-%}
-FINALLY
-%{
- if (hfile && ibuf)
- free (ibuf);
- if (hfile && filename)
- fclose (hfile);
-%}
-MCDISPLAY
-%{
- /* Invisible component. */
-%}
-
-END
diff --git a/mcstas-comps/obsolete/Vitess_output.comp b/mcstas-comps/obsolete/Vitess_output.comp
deleted file mode 100644
index 986228a8a1..0000000000
--- a/mcstas-comps/obsolete/Vitess_output.comp
+++ /dev/null
@@ -1,158 +0,0 @@
-/*******************************************************************************
-*
-* McStas, the neutron ray-tracing package: Vitess_output.comp
-* Copyright 1997-2001 Risoe National Laboratory, Roskilde, Denmark
-*
-* Component: Vitess_output
-*
-* %I
-* Written by: Kristian Nielsen
-* Date: June 6, 2000
-* Origin: Risoe/ILL
-* Modified by: E. Farhi, Sep 28th, 2001: added spin
-*
-* Write neutron state parameters to VITESS neutron filename.
-*
-* %D
-* Detector-like component writing neutron state parameters to a
-* VITESS neutron filename. Used to interface McStas components or
-* simulations into VITESS. Each neutron is 104 bytes.
-*
-* Note that when standard output is used, as is the default, no
-* monitors or other components that produce terminal output must be
-* used, or the neutron output from this component will become
-* corrupted.
-*
-* Example: Vitess_output(filename="MySource.vit", bufsize = 10000, progress = 1)
-*
-* %BUGS
-* This component will NOT work with parallel execution (MPI).
-*
-* %P
-* INPUT PARAMETERS
-*
-* filename: [string] Filename of neutron file to write. Default is standard output
-* bufsize: [records] Size of neutron output buffer
-* progress: [flag] If not zero, output dots as progress indicator
-*
-* %E
-*******************************************************************************/
-
-
-DEFINE COMPONENT Vitess_output
-
-SETTING PARAMETERS (string filename = 0, int bufsize = 10000, int progress = 0)
-
-/* Neutron parameters: (x,y,z,vx,vy,vz,t,sx,sy,sz,p) */
-SHARE
-%{
-%include "general"
-%include "vitess-lib"
-%}
-
-DECLARE
-%{
- char* file; /* path + filename */
- FILE* hfile; /* Neutron output filename handle */
- Neutron* obuf; /* Neutron output buffer */
- int pos; /* Current position in buffer */
- double p_out; /* sum of output weight */
- double p2_out; /* square sum of output weight */
-%}
-
-INITIALIZE
-%{
- file = NULL;
- hfile = NULL;
-
- #if defined (USE_MPI)
- if (mpi_node_count > 1) {
- exit (printf ("Vitess_output: %s: ERROR: This component can not be used in parallel execution mode (MPI). Abort.\n", NAME_CURRENT_COMP));
- }
- #endif
-
- /* Open neutron output filename. */
- if (!filename || !strcmp (filename, "NULL") || !strcmp (filename, "0") || !strcmp (filename, "stdout")) {
- hfile = stdout;
- } else if (!strlen (filename) || !strcmp (filename, "no_filename")) {
- hfile = NULL;
- } else {
- hfile = fopen ((file = FullParName (filename)), "wb");
- if (!hfile) {
- fprintf (stderr, "Vitess_output: Error: Cannot open output filename %s.\n", file);
- exit (1);
- }
- }
- #ifdef WIN32
- if (hfile == stdout) {
- if (_setmode (_fileno (stdout), _O_BINARY) == -1) {
- fprintf (stderr, "Can't set stdout to binary mode\n");
- exit (1);
- }
- }
- #endif
-
- /* Allocate neutron output buffer. */
- obuf = calloc (bufsize, sizeof (Neutron));
- if (!obuf) {
- fprintf (stderr, "Vitess_output: Error: Cannot allocate neutron buffer.\n");
- exit (1);
- }
- /* Initialize buffer. */
- pos = 0;
-%}
-
-TRACE
-%{
- int count;
-
- /* Flush output buffer if full. */
- if (hfile && pos >= bufsize) {
- count = fwrite (obuf, sizeof (Neutron), bufsize, hfile);
- if (progress) {
- fputc ('.', stderr); /* Output progress indicator. */
- fflush (stderr);
- }
- if (count != bufsize) {
- fprintf (stderr, "Vitess_output: Error during write of neutron filename.\n");
- exit (1);
- } else {
- pos = 0; /* Reposition at start of buffer */
- }
- }
- obuf[pos] = mcstas2vitess (x, y, z, vx, vy, vz, t, sx, sy, sz, p);
- /* The following three lines have references to things that are no longer
- in the McStas vitess libs */
- /* obuf[pos].Color = vitess_col;
- obuf[pos].ID.IDNo = vitess_ID.IDNo;
- memcpy(obuf[pos].ID.IDGrp, vitess_ID.IDGrp, 2); */
-
- p_out += p;
- p2_out += p * p;
- ++pos;
-%}
-FINALLY
-%{
- int count;
-
- /* Flush output buffer if necessary. */
- if (hfile && pos > 0) {
- count = fwrite (obuf, sizeof (Neutron), pos, hfile);
- if (count != pos) {
- fprintf (stderr, "Vitess_output: Error during write of neutron file %s.\n", file);
- exit (1);
- }
- }
- if (progress)
- fprintf (stderr, ".\n"); /* Output final progress indicator. */
- if (obuf)
- free (obuf);
- if (hfile && filename)
- fclose (hfile);
-%}
-MCDISPLAY
-%{
- /* Invisible component. */
-%}
-
-END
diff --git a/mcstas-comps/obsolete/obsolete_examples.txt b/mcstas-comps/obsolete/obsolete_examples.txt
index d2e817dc6e..d009775317 100644
--- a/mcstas-comps/obsolete/obsolete_examples.txt
+++ b/mcstas-comps/obsolete/obsolete_examples.txt
@@ -2,7 +2,7 @@
List of obsolete comps and the
example instruments that include them
---------------------------------------
-Beam_spy is used in 0 example(s):
+ESS_moderator is used in 0 example(s):
---------------------------------------
ESS_moderator_short is used in 3 example(s):
- Mezei_SNS_decoupled_poisoned.instr
@@ -15,8 +15,6 @@ MCPL_input_once is used in 2 example(s):
- ESS_MCPL_generate_filtered.instr
- Test_MCPL_input_once.instr
---------------------------------------
-SasView_model is used in 0 example(s):
----------------------------------------
V_sample is used in 6 example(s):
- BNL_H8.instr
- BNL_H8_simple.instr
@@ -25,29 +23,7 @@ V_sample is used in 6 example(s):
- SE_example2.instr
- Test_Pol_TripleAxis.instr
---------------------------------------
-Virtual_input is used in 3 example(s):
-- Vin_test.instr
-- Histogrammer.instr
-- vinput2mcpl.instr
----------------------------------------
-Virtual_mcnp_input is used in 0 example(s):
----------------------------------------
-Virtual_mcnp_output is used in 0 example(s):
----------------------------------------
-Virtual_mcnp_ss_Guide is used in 0 example(s):
----------------------------------------
-Virtual_mcnp_ss_input is used in 0 example(s):
----------------------------------------
-Virtual_mcnp_ss_output is used in 0 example(s):
----------------------------------------
-Virtual_output is used in 1 example(s):
-- Vout_test.instr
----------------------------------------
-Virtual_tripoli4_input is used in 0 example(s):
----------------------------------------
-Virtual_tripoli4_output is used in 0 example(s):
----------------------------------------
-Vitess_input is used in 0 example(s):
+Virtual_input is used in 0 example(s):
---------------------------------------
-Vitess_output is used in 0 example(s):
+Virtual_output is used in 0 example(s):
---------------------------------------
diff --git a/mcstas-comps/obsolete/sasview_generator.py b/mcstas-comps/obsolete/sasview_generator.py
deleted file mode 100755
index 853e4c7027..0000000000
--- a/mcstas-comps/obsolete/sasview_generator.py
+++ /dev/null
@@ -1,362 +0,0 @@
-#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-'''
-SasView_generator.py analyzes C-files prefixed "sas_" in the specified directory.
-It the C-files contain valid sasmodels, it generates a file bassed on these - "sasview_proxy.c".
-This file is written to the same directory as the C-files (and thus may overwrite any previous version of the file).
-It also generates rudimentary, but necessary, documentation and inserts it into the mcstas component.
-The modified component template (suffix .Template) is output as a new file. The input component template must contain
-MCDOC and MCDOC_END flags in the header.
-The new component file has the same base name, except that the .Template suffix is removed.
-'''
-import os
-import logging
-import re
-import argparse
-
-class SasViewModelFileInfo():
- '''
- Takes a sas_.c file and parses include, function call and doc hint (non-q model parameter names).
- Construct and then use the objects string properties to construct the desired C code or docs.
- '''
- def __init__(self, model_file_fulpath, pars_array_name):
- # check input
- # TODO: implement: throw exception on fail (user should use try-catch)
-
- # generate static info
- self.input_str = model_file_fulpath
- self.text = open(model_file_fulpath).read()
- self.pars_array_name = pars_array_name
- self.model_name = re.search(r'sas_(.*).c', os.path.basename(model_file_fulpath)).group(1)
- self.model_name_xy = self.model_name + '_xy'
-
- self.percent_include = '%%include "%s"' % os.path.basename(model_file_fulpath)
- self.hash_include = '#include <%s>' % os.path.basename(model_file_fulpath)
-
- self.sign_non_q = self.__getSignNonQ(self.text, False)
- self.sign_xy_non_q = self.__getSignNonQ(self.text, True)
- self.sign_form_vol = self.__getFormVolumeSign(self.text)
-
- self.__num_model_pars = self.__getNumPars(self.sign_non_q)
- self.__num_model_pars_xy = self.__getNumPars(self.sign_xy_non_q)
- self.__num_form_vol_pars = self.__getNumPars(self.sign_form_vol)
-
- self.Iq_hint = self.__getHint(self.sign_non_q)
- self.Iq_xy_hint = self.__getHint(self.sign_xy_non_q)
- self.form_volume_hint = self.__getHint(self.sign_form_vol)
-
- self.Iq_call = self.__getIqCall(pars_array_name, self.__num_model_pars, xy=False)
- self.Iqxy_call = self.__getIqCall(pars_array_name, self.__num_model_pars_xy, xy=True)
- self.form_volume_call = self.__getFormVolCall(pars_array_name, self.__num_form_vol_pars, self.sign_non_q, self.sign_form_vol)
-
- def printMe(self):
- text = 'input: %s\ntext: %s\npars_name: %s\nmodel_name: %s\n%s\n%s\nsign_non_q: %s\nsign_xy_non_q: %s\nsign_form_vol: %s\nIq_hint: %s\nIq_xy_hint: %s\nIq_call: %s\nIqxy_call: %s\nform_volume_call: %s\n' % (
- self.input_str, '(not shown)', self.pars_array_name,
- self.model_name, self.percent_include, self.hash_include,
- self.sign_non_q, self.sign_xy_non_q, self.sign_form_vol,
- self.Iq_hint, self.Iq_xy_hint,
- self.Iq_call, self.Iqxy_call, self.form_volume_call)
- return '#####\n' + text + '#####\n'
-
- @staticmethod
- def __getNumPars(sign):
- c = 1
- for comma in re.finditer(',', sign):
- c += 1
- return c
-
- @staticmethod
- def __getSignNonQ(text, xy=False):
- # get all cases covered
- define_str = r'#define\s+IQ_PARAMETER_DECLARATIONS\s+([\w\s,]*\n)'
- if xy:
- define_str = r'#define\s+IQXY_PARAMETER_DECLARATIONS\s+([\w\s,]*)\n'
-
- sign_str = r'float\s+Iq\(\s*float\s+q\s*,([\w\s,]*)\)'
- sign_str_2 = r'float\s+Iq\(\s*float\s+qval\s*,([\w\s,]*)\)'
- sign_str_3 = r'float\s+Iq\(\s*float\s+QQ\s*,([\w\s,]*)\)'
- if xy:
- sign_str = r'float\s+Iqxy\(\s*float\s+qx\s*,\s*float\s+qy\s*,([\w\s,]*)\)'
- # LOOK UP IN FILES:
- sign_str_2 = r'float\s+Iqxy\(\s*float\s+qx\s*,\s*float\s+qy\s*,([\w\s,]*)\)'
- sign_str_3 = r'float\s+Iqxy\(\s*float\s+qx\s*,\s*float\s+qy\s*,([\w\s,]*)\)'
-
- # logics to extract signature
- m = re.search(define_str, text)
- if m:
- # entire non-q sign is contained in the define
- sign = re.sub('\s+', ' ', m.group(1))
- sign = sign.strip(' ')
- return sign
- else:
- # entire sign is contained in the function declaration
- m = re.search(sign_str, text)
- if not m:
- m = re.search(sign_str_2, text)
- if not m:
- m = re.search(sign_str_3, text)
- if m:
- sign = re.sub('\s+', ' ', m.group(1))
- sign = sign.strip(' ')
- return sign
- else:
- raise Exception('no "float Iq(...)" or "float Iqxy(...)" function signature found')
-
- @staticmethod
- def __getFormVolumeSign(text):
- # get all cases covered
- define_str_ver1 = r'#define\s+VOLUME_PARAMETER_DECLARATIONS\s+([\w\s,]*\n)'
- define_str_ver2 = r'#define\s+VOLUME_PARAMETERS\s+([\w\s,]*\n)'
-
- sign_str = r'float\s+form_volume\(([\w\s,]*)\)'
- sign_str_2 = r'float\s+form_volume\(([\w\s,]*)\)'
-
- # NOTE: sometimes VOLUME_PARAMETER_DECLARATIONS turns out "void"
-
- # logics to extract signature
- m = re.search(define_str_ver1, text)
- if m:
- # entire non-q sign is contained in the define
- sign = re.sub('\s+', ' ', m.group(1))
- sign = sign.strip(' ')
- return sign
- else:
- # entire sign is contained in the function declaration
- m = re.search(sign_str, text)
- if not m:
- m = re.search(sign_str_2, text)
- if m:
- sign = re.sub('\s+', ' ', m.group(1))
- sign = sign.strip(' ')
- return sign
- else:
- return ''
- #raise Exception('float "form_volume(...)" function signature found')
-
- @staticmethod
- def __getHint(sign):
- sign = re.sub('float', '', sign)
- sign = re.sub('\s+', ' ', sign)
- return '(' + sign.strip(' ') + ')'
-
- @staticmethod
- def __getIqCall(pars_array_name, numpars, xy=False):
- # Iq(...) function begins with "float q" and Iqxy begins with "float qx, float qy"
- sign = 'q'
- if xy:
- sign = 'qx, qy'
- for i in range(numpars):
- sign += ', %s[%i]' % (pars_array_name, i)
- if xy:
- return 'Iqxy(%s)' % sign
- return 'Iq(%s)' % sign
-
- @staticmethod
- def __getFormVolCall(pars_array_name, num_form_vol_pars, real_iq_sign, form_vol_sign):
-
- # special case: form_volume signature is "void"
- if re.search('void', form_vol_sign):
- return 'form_volume()'
-
- # assemble form_volume call string as we go
- call_str = 'form_volume('
-
- # remove excess whitespace and "float"
- real_iq_sign = SasViewModelFileInfo.__getHint(real_iq_sign)
- form_vol_sign = SasViewModelFileInfo.__getHint(form_vol_sign)
-
- pars_iq = []
- m = re.finditer('(\w*)[,)]', real_iq_sign)
- for par in m:
- pars_iq.append(par.group(1))
-
- pars_fv = []
- m = re.finditer('(\w*)[,)]', form_vol_sign)
- for par in m:
- pars_fv.append(par.group(1))
-
- right_par_idcs = []
- for i in range(len(pars_fv)):
- for j in range(len(pars_iq)):
- if re.match(pars_fv[i], pars_iq[j]) and re.match(pars_iq[j], pars_fv[i]):
- right_par_idcs.append(j)
-
- # error case: no match found for this form_volume parameter - exit (function returns unity)
- if len(right_par_idcs) == i:
- return '1'
-
- i += 1
-
- for idx in range(len(pars_fv)):
- call_str = call_str + 'pars[%d]' % right_par_idcs[idx]
- if idx != len(pars_fv)-1:
- call_str = call_str + ', '
- else:
- call_str = call_str + ')'
-
- return call_str
-
-
-def getFiles(look_dir, extension):
- file_list = []
- for (dirpath, dirnames, filenames) in os.walk(look_dir):
- for f in filenames:
- if os.path.splitext(f)[1] == '.' + extension:
- if re.match(r'sas_', os.path.basename(f)):
- file_list.append(os.path.abspath(os.path.join(dirpath,f)))
- break
- return sorted(file_list, key=lambda item: (int(item.lower().partition(' ')[0])
- if item.lower()[0].isdigit() else float('inf'), item.lower()))
-
-def mod_comp_file_docs(comp_file, docs_section):
- text = open(comp_file).read()
-
- pos_D = text.find("MDOC")
- pos_end_D = text.find('MDOC_END')
-
- if pos_D == -1 or pos_end_D == -1:
- logging.exception('MDOC or MDOC_END flag error. positions: %d, %d' % (pos_D, pos_end_D))
-
- return text[:pos_D+4] + '\n' + docs_section + text[pos_end_D-2:]
-
-def get_formatted_docs_text(info_lst, left_padding = 4, log_num_models = 2):
- # padding (asterisk-plus-whitespace indentation)
- pad_format_str = '{:<' + str(left_padding) + '}' # e.g. '{:<16}'
-
- # width of index count (1's 10's or 100's?)
- index_format_str = '{:>' + str(log_num_models) + '}' # e.g. '{:>2}'
-
- # width of model name
- max_len = 0
- for info in info_lst:
- if len(info.model_name) > max_len:
- max_len = len(info.model_name)
- if len(info.model_name_xy) > max_len:
- max_len = len(info.model_name_xy)
- name_format_str = '{:<' + str(max_len + 1) + '}' # e.g. '{:<35}'
-
- # make and return the doc lines
- text = pad_format_str.format('* ')
- text += '\n* \n'
-
- # Include sasmodel parameter descriptions - exclude html header etc.
- sasdoc = open( os.path.join(args.cdir[0], "docs_sasmodels.html") )
- html_list = ['','','', '','']
- for line in iter(sasdoc):
- if line not in html_list:
- text += "* " + line
-
- return text
-
-def get_proxy_file_text(info_lst):
- include_section = ''
- i = 1
- for info in info_lst:
- include_section += ' #if model_index == %d\n' % i
- include_section += ' %s\n' % info.percent_include
- include_section += ' #endif\n'
- i += 1
- include_section += ' #if model_index == %d\n' % i
- include_section += ' %s\n' % info.percent_include
- include_section += ' #endif\n'
- i += 1
-
- # Iq interface
- Iq_call_section = ' float getIq(float q, float qx, float qy, float pars[])\n'
- Iq_call_section += ' {\n'
- Iq_call_section += ' float Iq_out = 1;\n'
- i = 1
- for info in info_lst:
- Iq_call_section += ' #if model_index == %d\n' % i
- Iq_call_section += ' Iq_out = %s;\n' % info.Iq_call
- Iq_call_section += ' #endif\n'
- i+=1
- Iq_call_section += ' #if model_index == %d\n' % i
- Iq_call_section += ' Iq_out = %s;\n' % info.Iqxy_call
- Iq_call_section += ' #endif\n'
- i+=1
- Iq_call_section += ' return Iq_out;\n'
- Iq_call_section += ' }\n'
-
- # form_volume interface
- form_vol_call_section = ' float getFormVol(float pars[])\n'
- form_vol_call_section += ' {\n'
- form_vol_call_section += ' float form_vol;\n'
- i = 1
- for info in info_lst:
- form_vol_call_section += ' #if model_index == %d\n' % i
- form_vol_call_section += ' form_vol = %s;\n' % info.form_volume_call
- form_vol_call_section += ' #endif\n'
- i+=1
- form_vol_call_section += ' #if model_index == %d\n' % i
- form_vol_call_section += ' form_vol = %s;\n' % info.form_volume_call
- form_vol_call_section += ' #endif\n'
- i+=1
- form_vol_call_section += ' return form_vol;\n'
- form_vol_call_section += ' }\n'
-
-
- return include_section + '\n' + Iq_call_section + '\n' + form_vol_call_section
-
-def main(args):
- logging.basicConfig(level=logging.INFO)
-
- logging.info('input comp file: %s', args.compfile[0])
- logging.info('model source dir: %s', args.cdir[0])
-
-
- # get model file info
- info_lst = []
- for f in getFiles(args.cdir[0].rstrip('/'), "c") :
- logging.info('integrating: %s', f)
- info_lst.append(SasViewModelFileInfo(f, 'pars'))
-
- # enable to print debug info
- if False:
- text = ''
- for info in info_lst:
- text = text + info.printMe()
- print(info.printMe())
-
- for info in info_lst:
- print(info.sign_form_vol)
-
- debug_file = os.path.splitext(os.path.basename(args.compfile[0]))[0] + '_modelinfo.txt'
- logging.info('output comp file: %s' % debug_file)
- f = open(debug_file, 'w')
- f.write(text)
- f.close()
- exit()
-
- # assemble proxy file
-
- # save proxy file
- f = open(os.path.join(os.path.abspath(args.cdir[0]), 'sasview_proxy.c'), 'w')
- f.write(get_proxy_file_text(info_lst))
- f.close()
-
- # get docs section for .comp file
- docs_section_text = get_formatted_docs_text(info_lst)
-
- # mod .comp file
- f = open(os.path.splitext(os.path.basename(args.compfile[0]))[0] , 'w')
- f.write(mod_comp_file_docs(args.compfile[0], docs_section_text))
- f.close()
-
-if __name__ == '__main__':
- parser = argparse.ArgumentParser(description=__doc__)
- parser.add_argument('compfile', nargs=1, help='the SasView model component')
- parser.add_argument('cdir', nargs=1, help='directory containing sasmodel C-files, prefixed by "sas_"')
-
- args = parser.parse_args()
-
- main(args)
diff --git a/mcstas-comps/optics/FermiChopper.comp b/mcstas-comps/optics/FermiChopper.comp
index ff79129d19..093ad3eb13 100644
--- a/mcstas-comps/optics/FermiChopper.comp
+++ b/mcstas-comps/optics/FermiChopper.comp
@@ -75,10 +75,6 @@
* CALCULATED PARAMETERS:
* FCVars : [] structure
*
-* %L
-* Vitess_ChopperFermi component by
-* G. Zsigmond, imported from Vitess by K. Lieutenant.
-*
* %End
*****************************************************************************/
@@ -199,7 +195,7 @@ SHARE
FC_xzbrent (double x, double z, double vx, double vz, double t, double dt, char type, double d, struct FermiChopper_struct FCs) {
int iter;
double a = 0, b = dt;
- double c, dd, e, min1, min2;
+ double c = dt, dd, e, min1, min2;
double tol = FermiChopper_TimeAccuracy;
double EPS = FermiChopper_TimeAccuracy;
double fa = FC_xzrot_dt (x, z, vx, vz, t, a, type, FCs) - d;
diff --git a/mcstas-comps/optics/Pol_bender.comp b/mcstas-comps/optics/Pol_bender.comp
index 759c3cad43..b57a51dd5e 100644
--- a/mcstas-comps/optics/Pol_bender.comp
+++ b/mcstas-comps/optics/Pol_bender.comp
@@ -32,11 +32,9 @@
* <------> xwidth/nslit (nslit=3)
* <> d
*
-* The reflection functions and parameters defaults as follows:
-* Bot defaults to Top, Left defaults to Top, Right defaults to left.
-* Down defaults to down and up defaults to up for all functions and
-* Top(Up and Down) defaults to StdReflecFunc and {0.99,0.0219,6.07,2.0,0.003}
-* which stands for {R0, Qc, alpha, m, W}.
+* Each mirror and spin state uses StdReflecFunc with its own parameter vector
+* {R0, Qc, alpha, m, W}, unless a reflectivity file is given.
+* All parameter vectors default to {0.99,0.0219,6.07,2.0,0.003}.
*
* Example:
* Pol_bender(xwidth = 0.08, yheight = 0.08, length = 1.0, radius= 10.0,
@@ -229,10 +227,10 @@ INITIALIZE
TRACE
%{
- const double whalf = 0.5 * xwidth; /* half width of guide */
- const double hhalf = 0.5 * yheight; /* half height of guide */
- const double z_off = radius * sin (length / radius); /* z-comp of guide length */
- const double dThreshold = 1e-10; /* distance threshold */
+ const double whalf = 0.5 * xwidth; /* half width of guide */
+ const double hhalf = 0.5 * yheight; /* half height of guide */
+ const double z_off = radius * sin (length / radius); /* z-comp of guide length */
+ const double dThreshold = 1e-10 * (1 + fabs (radius)); /* distance threshold, scaled for rounding at large radius */
const double tThreshold = dThreshold / sqrt (vx * vx + vy * vy + vz * vz);
double angle_z_vout; /* angle between z-axis and v_out */
diff --git a/mcstas-comps/optics/Vitess_ChopperFermi.comp b/mcstas-comps/optics/Vitess_ChopperFermi.comp
deleted file mode 100644
index 2e71dce334..0000000000
--- a/mcstas-comps/optics/Vitess_ChopperFermi.comp
+++ /dev/null
@@ -1,242 +0,0 @@
-/*******************************************************************************
-*
-* VITESS and McStas, neutron ray-tracing packages
-* Copyright 1997-2005, All rights reserved
-* Hahn-Meitner-Institut Berlin, Germany
-* Risoe National Laboratory, Roskilde, Denmark
-* Institut Laue Langevin, Grenoble, France
-*
-* Component: Vitess_ChopperFermi
-*
-* %I
-* Written by: Geza Zsigmond
-* Date: Sep 2004
-* Origin: VITESS module 'chopper_fermi'
-* Modified by: adapted for McStas by K. Lieutenant, Mar 2005;
-*
-* Fermi chopper with absorbing walls using the VITESS module 'chopper_fermi'
-*
-* %D
-* This component simulates a Fermi chopper with absorbing walls. The rotation axis is
-* vertical (y-axis), i.e. the path length through the channels is given by the length
-* 'depth' along the z-axis.
-* The shape of the channels can be straight, curved with circular, or curved with ideal
-* (i.e. close to a parabolic) shape. This is determined by the parameter 'GeomOption'.
-*
-* Geometry for straight and circular channels:
-* The geometry of the chopper consists of a rectangular shaped object with a channel
-* system. In transmission position, there are 'Nchannels' slits along the x-axis,
-* separated by absorbing walls of thickness 'wallwidth' giving a total width 'width'.
-* The rectangular channel system is surrounded by a so-called shadowing cylinder
-* (cf component manual).
-*
-* Geometry for parabolic channels:
-* In this case, the Fermi chopper is supposed to be a full cylinder, i.e. the central
-* channels are longer than those on the edges (cf. figure in the component manual).
-* The other features are the same as for the other options.
-*
-* Apart from the frequency of rotation, the phase of the chopper at t=0 has to be given;
-* phase = 0 means transmission orientation.
-*
-* The option 'zerotime' may be used to reset the time at the chopper position. The
-* consequence is that only 1 pulse is generated instead of several.
-*
-* NOTE: This component must NOT be located at the same position as the previous one.
-* This also stands for monitors and Arms. A non zero distance must be defined.
-*
-* Examples:
-* straight Fermi chopper, 18000 rpm, 20 channels a 0.9 mm separated by 0.1 mm walls,
-* 16 mm channel length, minimal shadowing cylinder, phased to be open at 1 ms,
-* generation of only 1 pulse, normal precision (for short wavelength neutrons)
-* Vitess_ChopperFermi(GeomOption=0, zerotime=1, Nchannels=20, Ngates=4,
-* freq=300.0, height=0.06, width=0.0201,
-* depth=0.016, r_curv=0.0, diameter=0.025691, Phase=-108.0,
-* wallwidth=0.0001, sGeomFileName="FC_geom_str.dat")
-*
-* Fermi chopper with circular channels, 12000 rpm, optimized for 6 Ang, several pulses,
-* highest accuracy (because of long wavelength neutrons used), rest as above
-* Vitess_ChopperFermi(GeomOption=2, zerotime=0, Nchannels=20, Ngates=8,
-* freq=200.0, height=0.06, width=0.0201,
-* depth=0.016, r_curv=0.2623, diameter=0.025691, Phase=-72.0,
-* wallwidth=0.0001, sGeomFileName="FC_geom_circ.dat")
-*
-* %VALIDATION
-* Apr 2005: extensive external test, most problems solved (cf. 'Bugs' and source header)
-* Validated by: K. Lieutenant
-*
-* limitations: slow (10 times slower than FermiChopper), especially for a high number of channels
-*
-* %BUGS
-* reduction of transmission by a large shadowing cylinder underestimated
-*
-* %P
-* GeomOption: [1] option: 0:straight 1:parabolic 2:circular
-* zerotime: [1] option: 1:'set time to zero' 0: 'do not'
-* Nchannels: [1] number of channels of the Fermi chopper
-* Ngates: [1] number of gates defining the channel: 4=default, 6 or 8 for long wavelengths
-* freq: [Hz] number of rotations per second
-* height: [m] height of the Fermi chopper
-* width: [m] total width of the Fermi chopper
-* depth: [m] channel length of the Fermi chopper
-* r_curv: [m] radius of curvature of the curved Fermi chopper
-* diameter: [m] diameter of the shadowing cylinder
-* Phase: [deg] dephasing angle at zero time
-* wallwidth: [m] thickness of walls separating the channels
-* sGeomFileName: [str] name of output file for geometry information
-*
-* CALCULATED PARAMETERS:
-* Option: [-] 1: straight FC, 2: curved FC
-* CurvGeomOption: [-] 1: ideal shape (nearly parabolic) 2: circular
-* TOF: [ms] TOF of neutron under consideration
-* WL: [AA] wavelength of neutron
-* radius_of_curv: [cm] radius of curvature (curved FC)
-* main_depth: [cm] max. channel length due to diameter and total_width
-* shift_y: [cm] shift to channel actually written to geometry file
-* angle_channel: [rad] half of the curvature of a curved Fermi chopper
-* phase0: [rad] chopper phase at TOF of neutron to chopper centre
-* y_ch: [cm] position of gates perpendicular to flight direction
-* x_ch: [cm] position of gates along flight direction
-* coef_pi: [-] number of half-rotation to reach identical state
-* GeomFilePtr: [-] pointer to geometry file name
-* Pos: [cm] position of neutron
-* Dir: [-] flight direction of neutron
-* Neutrons: [-] neutron parameter set at end of chopper
-* pos_ch: [cm] centre position of the Fermi chopper
-* omega: [1/s] angular frequency of the chopper
-* optimal_wl: [AA] wavelength of highest transmission of curved FC
-*
-*
-* %Link
-* straight VITESS Fermi chopper
-* %Link
-* curved VITESS Fermi chopper
-*
-* %E
-*******************************************************************************/
-
-DEFINE COMPONENT Vitess_ChopperFermi
-
-SETTING PARAMETERS (string sGeomFileName=0, int GeomOption=0, int zerotime=0,
- int Nchannels=20, int Ngates=4,
- freq=300.0, height=0.05, width=0.04,
- depth=0.03, r_curv=0.5, diameter=0.071, Phase=0.0,
- wallwidth=0.0002)
-
-/* Neutron parameters: (x,y,z,vx,vy,vz,t,sx,sy,sz,p) */
-
-SHARE
-%{
- %include "general.c"
- %include "intersection.c"
- %include "vitess-lib"
- %include "chopper_fermi"
-%}
-
-DECLARE
-%{
-
- double omega; /* rotation frequency */
- double optimal_wl; /* optimal wavelength */
- VectorType pos_ch; /* centre pos. of the FC in the frame of the exit of the prev. comp. [cm] */
-%}
-
-INITIALIZE
-%{
- omega = 0.0;
- optimal_wl = 0.0;
-
- double x, y, z;
- coords_get (POS_R_COMP_INDEX (INDEX_CURRENT_COMP), &x, &y, &z);
- pos_ch[0] = -100.0 * z;
- pos_ch[1] = -100.0 * x;
- pos_ch[2] = -100.0 * y;
-
- McInitVt ();
-
- /* transformation of units */
- height *= 100.0; /* m -> cm */
- width *= 100.0;
- depth *= 100.0;
- diameter *= 100.0;
- r_curv *= 100.0;
- wallwidth *= 100.0;
- omega = freq * 2 * PI / 1000.0; /* 1/s -> 2pi/ms */
- Phase *= DEG2RAD;
-
- /* checks and completion of input data */
- CurvGeomOption = (int)GeomOption;
- if (GeomOption > 0 && omega * r_curv == 0) {
- printf ("Error: 'omega*r_curv' must not be zero for curved Fermi chopper");
- exit (-1);
- }
- switch (GeomOption) {
- case 0:
- Option = 1;
- optimal_wl = 0.0;
- break;
- case 1:
- Option = 2;
- optimal_wl = LAMBDA_FROM_V (2.0 * omega * r_curv);
- break;
- case 2:
- Option = 2;
- optimal_wl = LAMBDA_FROM_V (2.0 * omega * r_curv);
- break;
- default:
- printf ("Wrong option! Good options: 0-straight, 1-parabolic, 2-circular");
- }
-
- ChopperFermiInit (0, NULL);
-%}
-
-TRACE
-%{
- int i = 0;
- InputNeutrons[i] = mcstas2vitess (x, y, z, vx, vy, vz, t, sx, sy, sz, p);
- #define MCSTAS_TRACE
- %include "chopper_fermi.c"
- #undef MCSTAS_TRACE
- vitess2mcstas (Neutrons, &x, &y, &z, &vx, &vy, &vz, &t, &sx, &sy, &sz, &p);
-%}
-
-FINALLY
-%{
- ChopperFermiCleanup ();
- McCleanupVt ();
-%}
-
-MCDISPLAY
-%{
- double index = 0;
- double xpos, zpos, ymin, ymax, rad, w_ch;
- Nchannels = (Nchannels > 11 ? 11 : Nchannels);
- w_ch = (width - (Nchannels + 1) * wallwidth) / Nchannels / 100;
- rad = diameter / 2.0 / 100;
- ymin = -height / 2.0 / 100;
- ymax = height / 2.0 / 100;
-
- /* cylinder top/center/bottom */
- circle ("xz", 0, ymax, 0, rad);
- circle ("xz", 0, 0, 0, rad);
- circle ("xz", 0, ymin, 0, rad);
- /* vertical lines to make a kind of volume */
- line (0, ymin, -rad, 0, ymax, -rad);
- line (0, ymin, rad, 0, ymax, rad);
- line (-rad, ymin, 0, -rad, ymax, 0);
- line (rad, ymin, 0, rad, ymax, 0);
- /* slit package */
- index = -Nchannels / 2;
- zpos = depth / 2 / 100;
- for (index = -Nchannels / 2; index < Nchannels / 2; index++) {
- xpos = index * w_ch;
- multiline (5, xpos, ymin, -zpos, xpos, ymax, -zpos, xpos, ymax, +zpos, xpos, ymin, +zpos, xpos, ymin, -zpos);
- }
- /* cylinder inner sides containing slit package */
- xpos = Nchannels * w_ch / 2;
- zpos = sqrt (rad * rad - xpos * xpos);
- multiline (5, xpos, ymin, -zpos, xpos, ymax, -zpos, xpos, ymax, +zpos, xpos, ymin, +zpos, xpos, ymin, -zpos);
- xpos *= -1;
- multiline (5, xpos, ymin, -zpos, xpos, ymax, -zpos, xpos, ymax, +zpos, xpos, ymin, +zpos, xpos, ymin, -zpos);
-%}
-
-END
diff --git a/mcstas-comps/optics/optics_examples.txt b/mcstas-comps/optics/optics_examples.txt
index b2fa3821b9..445d5a6ec9 100644
--- a/mcstas-comps/optics/optics_examples.txt
+++ b/mcstas-comps/optics/optics_examples.txt
@@ -2,10 +2,11 @@
List of optics comps and the
example instruments that include them
---------------------------------------
-Absorber is used in 1 example(s):
+Absorber is used in 2 example(s):
- RITA-II.instr
+- Test_Mask.instr
---------------------------------------
-Arm is used in 252 example(s):
+Arm is used in 284 example(s):
- BNL_H8.instr
- BNL_H8_simple.instr
- h8_test_legacy.instr
@@ -91,7 +92,9 @@ Arm is used in 252 example(s):
- PSI_DMC.instr
- PSI_DMC_simple.instr
- PSI_Focus.instr
-- PSI_ICON.instr
+- PSI_ICON_beamline.instr
+- PSI_ICON_camera.instr
+- PSI_ICON_foils.instr
- PSI_source.instr
- RITA-II.instr
- TAS1_C1.instr
@@ -101,6 +104,7 @@ Arm is used in 252 example(s):
- TAS1_Diff_Vana.instr
- TAS1_Powder.instr
- TAS1_Vana.instr
+- FlipChop_Hyspec.instr
- SNS_ARCS.instr
- SNS_BASIS.instr
- RTP_DIF.instr
@@ -143,6 +147,7 @@ Arm is used in 252 example(s):
- Test_Cyl_monitors.instr
- Test_Monitor_nD.instr
- Test_Monitor_nD_list_MPI.instr
+- Test_Monitor_nD_noacc.instr
- Test_TOF_PSDmonitor_toQ.instr
- Test_DiskChoppers.instr
- Test_DiskChoppers2.instr
@@ -157,7 +162,9 @@ Arm is used in 252 example(s):
- Test_Monochromators.instr
- Test_NMO.instr
- Test_PSD_Detector.instr
+- Test_PerfectCrystal.instr
- Test_Pol_Bender_Vs_Guide_Curved.instr
+- Test_Pol_bender_tapering.instr
- Test_Vertical_Bender.instr
- Test_focus.instr
- Test_NeXus_comp_par_runtime.instr
@@ -187,6 +194,7 @@ Arm is used in 252 example(s):
- Test_Incoherent_MS.instr
- Test_MCViNE_DGSSXRes.instr
- Test_Magnon_bcc_TAS.instr
+- Test_Phonon_BvK_PG.instr
- Test_PowderN.instr
- Test_PowderN_Res.instr
- Test_PowderN_concentric.instr
@@ -194,6 +202,7 @@ Arm is used in 252 example(s):
- Test_SANS.instr
- Test_SX.instr
- Test_Sans_spheres.instr
+- Test_SiC.instr
- Test_Sqw.instr
- Test_Sqw_monitor.instr
- Test_TOFRes_sample.instr
@@ -207,11 +216,13 @@ Arm is used in 252 example(s):
- IncoherentPhonon_test.instr
- Logger_test.instr
- Many_meshes.instr
+- Test_AF_HB_1D.instr
- Test_abs_logger_1D_space.instr
- Test_abs_logger_1D_space_event.instr
- Test_abs_logger_1D_space_t.instr
- Test_abs_logger_1D_space_t_lam.instr
- Test_abs_logger_1D_t.instr
+- Test_abs_logger_1D_time.instr
- Test_abs_logger_2D_space.instr
- Test_abs_logger_event.instr
- Test_abs_logger_nD.instr
@@ -258,6 +269,28 @@ Arm is used in 252 example(s):
- Reflectometer.instr
- SANSsimple.instr
- SANSsimpleSpheres.instr
+- Test_lib_ESS_butterfly_lib.instr
+- Test_lib_adapt_tree_lib.instr
+- Test_lib_conic.instr
+- Test_lib_cov_lib.instr
+- Test_lib_ess_source_lib.instr
+- Test_lib_general.instr
+- Test_lib_geometry_mesh_lib.instr
+- Test_lib_interoff_lib.instr
+- Test_lib_interpolation_lib.instr
+- Test_lib_mccode_complex_lib.instr
+- Test_lib_metadata.instr
+- Test_lib_monitor_nd_lib.instr
+- Test_lib_nanodiscs.instr
+- Test_lib_plane.instr
+- Test_lib_pol_lib.instr
+- Test_lib_polyhedron.instr
+- Test_lib_read_table.instr
+- Test_lib_ref_lib.instr
+- Test_lib_sans_J1.instr
+- Test_lib_supermirror_lib.instr
+- Test_lib_tinyexpr.instr
+- Test_lib_union_lib.instr
---------------------------------------
Beamstop is used in 19 example(s):
- FRMII_SPODI.instr
@@ -288,7 +321,7 @@ Bender is used in 6 example(s):
- PSI_Focus.instr
- Test_Guides_Curved.instr
---------------------------------------
-Collimator_linear is used in 25 example(s):
+Collimator_linear is used in 26 example(s):
- FRMII_SPODI_MULTI.instr
- ILL_BRISP.instr
- ILL_D2B.instr
@@ -312,6 +345,7 @@ Collimator_linear is used in 25 example(s):
- Samples_SpinWave_BCO.instr
- Samples_vanadium.instr
- Test_Magnon_bcc_TAS.instr
+- Test_Phonon_BvK_PG.instr
- Test_TasReso.instr
- SimplePowderDiffractometer.instr
---------------------------------------
@@ -350,22 +384,24 @@ DiskChopper is used in 16 example(s):
- Test_DiskChoppers2.instr
- Test_TOFRes_sample.instr
---------------------------------------
-Elliptic_guide_gravity is used in 4 example(s):
+Elliptic_guide_gravity is used in 5 example(s):
- BTsimple.instr
- TOF_Reflectometer.instr
+- Test_Guide_four_side.instr
- Test_Guides.instr
- Test_Guides_Curved.instr
---------------------------------------
FZP_simple is used in 1 example(s):
- Test_FZP_simple.instr
---------------------------------------
-FermiChopper is used in 7 example(s):
+FermiChopper is used in 8 example(s):
- ILL_BRISP.instr
- ILL_IN4.instr
- ILL_IN6.instr
- ISIS_HET.instr
- ISIS_MERLIN.instr
- PSI_Focus.instr
+- FlipChop_Hyspec.instr
- Test_Fermi.instr
---------------------------------------
Filter_gen is used in 3 example(s):
@@ -373,7 +409,7 @@ Filter_gen is used in 3 example(s):
- RITA-II.instr
- Test_filters.instr
---------------------------------------
-Guide is used in 32 example(s):
+Guide is used in 33 example(s):
- BNL_H8.instr
- h8_test_legacy.instr
- ESS_IN5_reprate.instr
@@ -400,6 +436,7 @@ Guide is used in 32 example(s):
- RTP_Laue.instr
- RTP_NeutronRadiography.instr
- RTP_SANS.instr
+- Test_Guide_four_side.instr
- Test_Guides.instr
- Test_mcdisplay_shapes.instr
- Test_Pol_Guide_Vmirror.instr
@@ -475,16 +512,18 @@ Guide_wavy is used in 1 example(s):
He3_cell is used in 1 example(s):
- He3_spin_filter.instr
---------------------------------------
-Mask is used in 0 example(s):
+Mask is used in 1 example(s):
+- Test_Mask.instr
---------------------------------------
-Mirror is used in 5 example(s):
+Mirror is used in 6 example(s):
- TOF_Reflectometer.instr
+- Test_Bispectral_mirrors.instr
- Test_Mirror_FlatEllipse.instr
- Test_Mirror_conic.instr
- Mirror_validation.instr
- Reflectometer.instr
---------------------------------------
-Monochromator_curved is used in 30 example(s):
+Monochromator_curved is used in 31 example(s):
- FRMII_SPODI.instr
- FRMII_SPODI_MULTI.instr
- HZB_FLEX.instr
@@ -508,6 +547,7 @@ Monochromator_curved is used in 30 example(s):
- LLB_6T2.instr
- ISIS_TOSCA_preupgrade_Mantid.instr
- RITA-II.instr
+- FlipChop_Hyspec.instr
- RTP_DIF.instr
- RTP_SANS.instr
- templateDIFF.instr
@@ -516,7 +556,7 @@ Monochromator_curved is used in 30 example(s):
- Test_focus.instr
- Test_TasReso.instr
---------------------------------------
-Monochromator_flat is used in 18 example(s):
+Monochromator_flat is used in 19 example(s):
- BNL_H8.instr
- BNL_H8_simple.instr
- h8_test_legacy.instr
@@ -535,18 +575,21 @@ Monochromator_flat is used in 18 example(s):
- Samples_SpinWave_BCO.instr
- Test_Dispersion_relation_TAS.instr
- Test_Magnon_bcc_TAS.instr
+- Test_Phonon_BvK_PG.instr
---------------------------------------
Monochromator_pol is used in 3 example(s):
- ISIS_OSIRIS.instr
- Test_Monochromators.instr
- Test_Pol_TripleAxis.instr
---------------------------------------
-NCrystal_filter is used in 1 example(s):
+NCrystal_filter is used in 2 example(s):
- NCrystal_filter_example.instr
+- Test_Sapphire_filter.instr
---------------------------------------
Place is used in 0 example(s):
---------------------------------------
-PolAnalyser_ideal is used in 4 example(s):
+PolAnalyser_ideal is used in 5 example(s):
+- FlipChop_Hyspec.instr
- SEMSANS_Delft.instr
- SEMSANS_instrument.instr
- SESANS_Delft.instr
@@ -574,9 +617,10 @@ Pol_FieldBox is used in 3 example(s):
Pol_SF_ideal is used in 1 example(s):
- Test_Pol_SF_ideal.instr
---------------------------------------
-Pol_bender is used in 3 example(s):
+Pol_bender is used in 4 example(s):
- Test_Guides_Curved.instr
- Test_Pol_Bender_Vs_Guide_Curved.instr
+- Test_Pol_bender_tapering.instr
- Test_Pol_Bender.instr
---------------------------------------
Pol_constBfield is used in 3 example(s):
@@ -604,7 +648,7 @@ Pol_tabled_field is used in 1 example(s):
- Test_Pol_Tabled.instr
---------------------------------------
Refractor is used in 1 example(s):
-- PSI_ICON.instr
+- PSI_ICON_foils.instr
---------------------------------------
Rotator is used in 2 example(s):
- Test_DiskChoppers2.instr
@@ -615,8 +659,9 @@ Selector is used in 3 example(s):
- ILL_H15_SAM.instr
- Test_Selectors.instr
---------------------------------------
-Set_pol is used in 16 example(s):
+Set_pol is used in 17 example(s):
- FZJ_BenchmarkSfin2.instr
+- FlipChop_Hyspec.instr
- SEMSANS_Delft.instr
- SEMSANS_instrument.instr
- SESANS_Delft.instr
@@ -633,7 +678,7 @@ Set_pol is used in 16 example(s):
- Test_pol_ideal.instr
- Test_single_magnetic_crystal.instr
---------------------------------------
-Slit is used in 89 example(s):
+Slit is used in 91 example(s):
- BNL_H8.instr
- BNL_H8_simple.instr
- h8_test_legacy.instr
@@ -674,7 +719,7 @@ Slit is used in 89 example(s):
- PSI_DMC.instr
- PSI_DMC_simple.instr
- PSI_Focus.instr
-- PSI_ICON.instr
+- PSI_ICON_beamline.instr
- RITA-II.instr
- TAS1_C1.instr
- TAS1_C1_Tilt.instr
@@ -711,11 +756,13 @@ Slit is used in 89 example(s):
- SE_example2.instr
- Samples_SpinWave_BCO.instr
- Test_Magnon_bcc_TAS.instr
+- Test_Phonon_BvK_PG.instr
- Test_PowderN_Res.instr
- Test_SANS.instr
- Test_Sans_spheres.instr
- Test_TOFRes_sample.instr
- Unittest_SANS_benchmark2.instr
+- Test_Source_adapt.instr
- Laue_camera.instr
- Single_crystal_validation.instr
- Radiography_Lithium_Battery.instr
@@ -733,5 +780,3 @@ V_selector is used in 7 example(s):
- ILL_H5_new.instr
- Test_Selectors.instr
---------------------------------------
-Vitess_ChopperFermi is used in 0 example(s):
----------------------------------------
diff --git a/mcstas-comps/parked/shellguides/Test_shellguides.instr b/mcstas-comps/parked/shellguides/Test_shellguides.instr
index 6ff0c71b88..9ab1bde7b0 100644
--- a/mcstas-comps/parked/shellguides/Test_shellguides.instr
+++ b/mcstas-comps/parked/shellguides/Test_shellguides.instr
@@ -4,7 +4,7 @@
* Instrument: Test_shellguides
*
* %Identification
-* Written by: Tobias Panzner, Uwe Filges
+* Written by: Tobias Panzner, Uwe Filges
*
* Date: 10.07.2010
* Origin: PSI
@@ -27,7 +27,7 @@
*
*
*
-* Example: mcrun test.instr
+* Example: mcrun test.instr [parameters=values]
*
* %Parameters
* Lambda_source: [AA] central wavelength of the used wavelength spectra
diff --git a/mcstas-comps/samples/samples_examples.txt b/mcstas-comps/samples/samples_examples.txt
index 5869fb47d2..b62f8a9420 100644
--- a/mcstas-comps/samples/samples_examples.txt
+++ b/mcstas-comps/samples/samples_examples.txt
@@ -2,7 +2,7 @@
List of samples comps and the
example instruments that include them
---------------------------------------
-Incoherent is used in 31 example(s):
+Incoherent is used in 32 example(s):
- ESS_KVASIR.instr
- ILL_H15_SAM.instr
- ILL_H5.instr
@@ -22,6 +22,7 @@ Incoherent is used in 31 example(s):
- Tomography.instr
- Unittest_SPLIT_sample.instr
- Test_Cyl_monitors.instr
+- Test_Monitors_cyl.instr
- Test_TOF_PSDmonitor_toQ.instr
- Test_Pol_Set.instr
- Samples_Incoherent.instr
@@ -66,10 +67,11 @@ Magnon_bcc is used in 2 example(s):
- Test_Magnon_bcc_2D.instr
- Test_Magnon_bcc_TAS.instr
---------------------------------------
-NCrystal_sample is used in 5 example(s):
+NCrystal_sample is used in 6 example(s):
- NCrystal_example.instr
- Test_Al_windows.instr
- Test_Monochromators.instr
+- Test_PerfectCrystal.instr
- Test_filters.instr
- Test_Powders.instr
---------------------------------------
diff --git a/mcstas-comps/share/chopper_fermi.c b/mcstas-comps/share/chopper_fermi.c
deleted file mode 100644
index b7d0c44d29..0000000000
--- a/mcstas-comps/share/chopper_fermi.c
+++ /dev/null
@@ -1,699 +0,0 @@
-/********************************************************************************************************************************************************/
-/* VITESS module 'chopper_fermi'
-/*
-/* The free non-commercial use of these routines is granted providing due credit is given to
-/* the authors.
-/*
-/* 1.00 Jul 2002 G. Zsigmond initial version
-/* 1.01 Aug 2002 G. Zsigmond forward all coordinates
-/* 1.02 Sep 2002 G. Zsigmond included more channel windows
-/* 1.03 Apr 2003 G. Zsigmond sign correction
-/* 1.04 May 2003 G. Zsigmond info changed
-/* 1.05 Jun 2003 G. Zsigmond modulo function included for safety
-/* 1.06 Jul 2003 G. Zsigmond generalised for optional number of pulses; warnings included
-/* 1.07 Oct 2003 G. Zsigmond superfluous modulo function cancelled
-/* 1.08 Nov 2003 G. Zsigmond put 2 more windows representing channels, now 6 windows
-/* in the big IF loop ">=" changed to ">"
-/* 1.09 Jan 2004 K. Lieutenant changes for 'instrument.dat'
-/* 1.10 Jan 2004 G. Zsigmond back to 4 windows representing channels
-/* 1.11 Apr 2004 G. Zsigmond negative time of flight defined
-/* 1.12 Apr 2004 G. Zsigmond negative time of flight - corrections, set zero time
-/* 1.13 May 2004 G. Zsigmond circular geom option and channel length included in curved fc
-/* 1.14 JUL 2004 G. Zsigmond small change in Init to adapt to new GUI
-/* 1.15 OCT 2004 G. Zsigmond changed to use both even or odd number of channels
-/* 1.16 MAY 2005 G. Zsigmond output changed to give trajectory coordinates at a plane crossing the center of the chopper (to be compatible with zero time option)
-/* zero time option fixed to get one peak
-/* shadowing cylinder opening activated
-/* 1.17 MAY 2005 G. Zsigmond new option choice of 4, 6(better,slower) or 8(much better, very slow) gates, 4 gates option adjusted
-/* 1.18 MAY 2005 K. Lieutenant changes to use this module in McStas as well
-/********************************************************************************************************************************************************/
-
-#if defined VITESS
-
-#include
-#include
-#include
-#include
-#include "general.h"
-#include "init.h"
-#include "intersection.h"
-#include "softabort.h"
-
-/* START HEADER STORY */
-
-/* input parameters */
-int Ngates=4, /* Number of gates forming the channel: 4 (default), 6 or 8 */
- zerotime=0; /* option: set time (close to) zero -z */
-long Nchannels; /* number of channels of the Fermi chopper -l */
-double omega, /* frequency of rotation [1/s] -n */
- height, /* height of the Fermi chopper [cm] -a */
- width, /* width of the Fermi chopper [cm] -b */
- depth, /* channel length of the Fermi chopper [cm] -c */
- optimal_wl, /* wavelength of highest transmission [Ang] -L */
- diameter, /* diameter of the shadowing cylinder [cm] -r */
- Phase, /* dephasing angle at zero time [deg] -l */
- wallwidth; /* thickness of walls separating the channels -m */
-char sGeomFileName[512];/* name of output file for geometry information -G */
-VectorType pos_ch; /* centre position of the Fermi chopper [cm] X,Y,V */
-
-/* other global parameters */
-#include "chopper_fermi.h"
-
-/* prototypes and small functions */
-void OutputTransformations(double *tof, double *wl, double *prob, VectorType Pos, VectorType Dir, VectorType SpinVector);
-void ReadParameterFile();
-void ChopperFermiInit(int argc, char *argv[]);
-void ChopperFermiCleanup();
-double asinplus(double val);
-double asinminus(double val);
-
-double asin2PI(double val)
-{ double result;
- if (val>=0) result = (double)asin(val);
- else result = 2*M_PI + (double)asin(val);
- return result;
-}
-
-/* FINISH HEADER STORY */
-
-
-int main(int argc, char **argv)
-{
- long i; /* index of trajectory */
-
- /* Initialize the program according to the parameters given */
-
- Init(argc, argv, VT_CHOP_FERMI);
- print_module_name("Fermi-Chopper 1.17m");
- ChopperFermiInit(argc, argv);
-
-
- /* Get the neutrons from the file */
- DECLARE_ABORT;
-
- while((ReadNeutrons())!= 0)
- {
- CHECK; /* here is what happens to the neutron */
-
- for(i=0;i=height/2.)||(pos[2]<= - height/2.)||(pos[1]>=diameter/2.)||(pos[1]<= - diameter/2.)) ABSORB;
- }
- else ABSORB;
-
- if((PlaneLineIntersect(Pos, Dir, n, diameter/2., pos))==1)
- {
- if((pos[2]>=height/2.)||(pos[2]<= - height/2.)||(pos[1]>=diameter/2.)||(pos[1]<= - diameter/2.)) ABSORB;
- }
- else ABSORB;
-
-
- /* translates neutron variables for X'= - diameter/2. */
-
- {
- VectorType Path;
-
- TOF = TOF + (- diameter/2. - Pos[0]) / fabs(Dir[0]) / V_FROM_LAMBDA(WL);
-
- if((TOF<0)&&(Nchannels==1)){fprintf(LogFilePtr,"\nERROR: Single-slit Fermi chopper needs positive flight time at the chopper position! \n"); exit(-1); }
-
- CopyVector(Dir, Path);
-
- MultiplyByScalar(Path, (- diameter/2. - Pos[0])/ Dir[0] );
-
- AddVector(Pos, Path);
- } /* Path = displacement vector */
-
-
- /* calculate time entering-edge and exiting-edge of 4 windows along the channels */
-
- { long j, k, m;
- double sq_D_0_1, sq_term, omega_fact, dirpos, vz_pos, phase[10][2000];
-
- sq_D_0_1 = sq(Dir[0]) + sq(Dir[1]);
- dirpos = Dir[0]*Pos[1] - Dir[1]*Pos[0];
- sq_term = sq(dirpos) / sq_D_0_1;
- omega_fact = omega / (V_FROM_LAMBDA(WL) * Dir[0]);
- vz_pos = Pos[1] > 0.0 ? 1.0 : -1.0;
-
- phase0 = fmod(Phase + omega*TOF, coef_pi*M_PI);
-
- for(k=0; k 1.) {
- Arg_k = vz_pos;
- y_ch_new_k_j = Arg_k * sqrt(sq_term - sq_x_ch_k_j);
- } else
- y_ch_new_k_j = y_ch_k_j; /* no intersection with trajectory */
-
- Denom_k = sqrt( sq_D_0_1 * (sq_x_ch_k_j + sq(y_ch_new_k_j)) );
-
- arg_k = (Dir[0]*y_ch_new_k_j - Dir[1]*x_ch_k_j) / Denom_k;
-
- if (fabs(arg_k) > 1.) {
- phase[k][j] = 777;}
-
- else {
- pha_k_j = asin(Arg_k) - asin(arg_k);
-
- if(x_ch_k_j < 0.) pha_k_j = - pha_k_j;
-
- phase[k][j] = pha_k_j - omega_fact * (x_ch_k_j * cos(pha_k_j) - y_ch_new_k_j * sin(pha_k_j) - Pos[0]);
- }
- }
- }
-
- if(Ngates==4){
- m = -1;
-
- for(j=0;j<2*Nchannels+1; j++)
- {
- if((m == 1)&&(phase[0][j] < phase0 )&&(phase0 < phase[0][j+1])
- &&(phase[1][j] < phase0 )&&(phase0 < phase[1][j+1])
- &&(phase[2][j] > phase0 )&&(phase0 > phase[2][j+1])
- &&(phase[3][j] > phase0 )&&(phase0 > phase[3][j+1]))
- {/*fprintf(LogFilePtr, "j %d phases %f %f %f\n", j, 57.296*phase[0][j], 57.296*phase[0][j+1], 57.296*phase0);*/
- goto happyend;}
-
- m = m * (-1);
- }
-
-
- /* also tries one turn earlier */
-
- if((phase0 > 0)&&(omega > 0)) phase0 += - coef_pi*M_PI;
- if((phase0 < 0)&&(omega < 0)) phase0 += coef_pi*M_PI;
-
- m = -1;
-
- for(j=0;j<2*Nchannels+1; j++)
- {
- if((m == 1)&&(phase[0][j] < phase0 )&&(phase0 < phase[0][j+1])
- &&(phase[1][j] < phase0 )&&(phase0 < phase[1][j+1])
- &&(phase[2][j] > phase0 )&&(phase0 > phase[2][j+1])
- &&(phase[3][j] > phase0 )&&(phase0 > phase[3][j+1]))
- {/*fprintf(LogFilePtr, "j %d phases %f %f %f\n", j, 57.296*phase[0][j], 57.296*phase[0][j+1], 57.296*phase0);*/
- goto happyend;}
-
- m = m * (-1);
- }
- }
-
- if(Ngates==6){
- m = -1;
-
- for(j=0;j<2*Nchannels+1; j++)
- {
- if((m == 1)&&(phase[0][j] < phase0 )&&(phase0 < phase[0][j+1])
- &&(phase[1][j] < phase0 )&&(phase0 < phase[1][j+1])
- &&(phase[2][j] < phase0 )&&(phase0 < phase[2][j+1])
- &&(phase[3][j] > phase0 )&&(phase0 > phase[3][j+1])
- &&(phase[4][j] > phase0 )&&(phase0 > phase[4][j+1])
- &&(phase[5][j] > phase0 )&&(phase0 > phase[5][j+1]))
- {goto happyend;}
-
- m = m * (-1);
- }
-
- /* also tries one turn earlier */
-
- if((phase0 > 0)&&(omega > 0)) phase0 += - coef_pi*M_PI;
- if((phase0 < 0)&&(omega < 0)) phase0 += coef_pi*M_PI;
-
- m = -1;
-
- for(j=0;j<2*Nchannels+1; j++)
- {
- if((m == 1)&&(phase[0][j] < phase0 )&&(phase0 < phase[0][j+1])
- &&(phase[1][j] < phase0 )&&(phase0 < phase[1][j+1])
- &&(phase[2][j] < phase0 )&&(phase0 < phase[2][j+1])
- &&(phase[3][j] > phase0 )&&(phase0 > phase[3][j+1])
- &&(phase[4][j] > phase0 )&&(phase0 > phase[4][j+1])
- &&(phase[5][j] > phase0 )&&(phase0 > phase[5][j+1]))
- {goto happyend;}
-
- m = m * (-1);
- }
- }
-
- if(Ngates==8){
- m = -1;
-
- for(j=0;j<2*Nchannels+1; j++)
- {
- if((m == 1)&&(phase[0][j] < phase0 )&&(phase0 < phase[0][j+1])
- &&(phase[1][j] < phase0 )&&(phase0 < phase[1][j+1])
- &&(phase[2][j] < phase0 )&&(phase0 < phase[2][j+1])
- &&(phase[3][j] < phase0 )&&(phase0 < phase[3][j+1])
- &&(phase[4][j] > phase0 )&&(phase0 > phase[4][j+1])
- &&(phase[5][j] > phase0 )&&(phase0 > phase[5][j+1])
- &&(phase[6][j] > phase0 )&&(phase0 > phase[6][j+1])
- &&(phase[7][j] > phase0 )&&(phase0 > phase[7][j+1]))
- {goto happyend;}
-
- m = m * (-1);
- }
-
- /* also tries one turn earlier */
-
- if((phase0 > 0)&&(omega > 0)) phase0 += - coef_pi*M_PI;
- if((phase0 < 0)&&(omega < 0)) phase0 += coef_pi*M_PI;
-
- m = -1;
-
- for(j=0;j<2*Nchannels+1; j++)
- {
- if((m == 1)&&(phase[0][j] < phase0 )&&(phase0 < phase[0][j+1])
- &&(phase[1][j] < phase0 )&&(phase0 < phase[1][j+1])
- &&(phase[2][j] < phase0 )&&(phase0 < phase[2][j+1])
- &&(phase[3][j] < phase0 )&&(phase0 < phase[3][j+1])
- &&(phase[4][j] > phase0 )&&(phase0 > phase[4][j+1])
- &&(phase[5][j] > phase0 )&&(phase0 > phase[5][j+1])
- &&(phase[6][j] > phase0 )&&(phase0 > phase[6][j+1])
- &&(phase[7][j] > phase0 )&&(phase0 > phase[7][j+1]))
- {goto happyend;}
-
- m = m * (-1);
- }
- }
-
- ABSORB;
-
- }
- happyend:;
-
- /* Output matters */
-
- /* transmit coordinates which were not changed, the rest overwrite below */
- Neutrons = InputNeutrons[i];
-
-
-
- /* translates neutron variables for output - X'= 0. . */
-
- {
- VectorType Path;
-
- Neutrons.Time = TOF + (- Pos[0]) / Dir[0] / V_FROM_LAMBDA(WL);
-
- if(zerotime==1)
- {
- Neutrons.Time = fabs(fmod(Neutrons.Time + Phase/omega + coef_pi*M_PI/omega/2., coef_pi*M_PI/omega)) - coef_pi*M_PI/2./omega ;
- }
-
- CopyVector(Dir, Path);
-
- MultiplyByScalar(Path, (- Pos[0])/ Dir[0] );
-
- AddVector(Pos, Path); /*Path = displacement vector */
-
- CopyVector(Pos, Neutrons.Position);
- }
-
- }
-#endif
-
-#if defined VITESS
-
- /* writes output binary file */
- WriteNeutron(&Neutrons);
-
- }
-}
-
- /* Do the general cleanup */
-
-my_exit:;
-
- ChopperFermiCleanup();
-
- fprintf(LogFilePtr," \n");
-
- Cleanup(pos_ch[0],pos_ch[1],pos_ch[2], 0.0,0.0);
-
- return 0;
-}
-#endif
-
-
-
-#if defined VITESS || defined MCSTAS_SHARE
-
-/* own initialization of the module */
-
-void ChopperFermiInit(int argc, char *argv[])
-{
- /* INPUT */
-
- #ifdef VITESS
- GeomFileName="chopper_fermi_g.dat";
-
- CurvGeomOption = 1;
- #endif
-
- while(argc>1)
- {
- char *arg = &argv[1][2];
-
- switch(argv[1][1])
- {
- case 'X':
- sscanf(arg, "%lf", &pos_ch[0]);
- break;
-
- case 'Y':
- sscanf(arg, "%lf", &pos_ch[1]);
- break;
-
- case 'V':
- sscanf(arg, "%lf", &pos_ch[2]);
- break;
-
- case 'a':
- sscanf(arg, "%lf", &height);
- break;
-
- case 'b':
- sscanf(arg, "%lf", &width);
- break;
-
- case 'c':
- sscanf(arg, "%lf", &depth);
- break;
-
- case 'L':
- sscanf(arg, "%lf", &optimal_wl);
- break;
-
- case 'l':
- sscanf(arg, "%ld", &Nchannels);
- break;
-
- case 'm':
- sscanf(arg, "%lf", &wallwidth);
- break;
-
- case 'n':
- sscanf(arg, "%lf", &omega);
- if(omega == 0) omega = 1.E-6;
- omega = omega * 2. * M_PI / 1000.;
- break;
-
- case 'q':
- sscanf(arg, "%lf", &Phase);
- Phase = Phase * M_PI / 180.;
- break;
-
- case 'O':
- sscanf(arg, "%d", &Option);
- if((Option!=1)&&(Option!=2)){fprintf(LogFilePtr,"\nERROR: Wrong option! Good options: 1-straight, 2-curved \n"); exit(-1); }
- break;
-
- case 'g':
- sscanf(arg, "%d", &CurvGeomOption);
- break;
-
- case 'r':
- sscanf(arg, "%lf", &diameter);
- break;
-
- case 'G':
- GeomFileName=arg;
- break;
-
- case 'z':
- sscanf(arg, "%d", &zerotime);
- break;
-
-
- }
- argc--;
- argv++;
- }
-
- if(pos_ch[0] < diameter/2.) {fprintf(LogFilePtr,"\nERROR: Minimum position is diameter/2 \n"); exit(-1); }
-
- if(Nchannels==1) wallwidth=0.;
-
-
- /* calculate edge positions */
-
- if(Option==1)
- {
-
- fprintf(LogFilePtr,"\nStraight Fermi chopper option activated\n");
-
- /* diameter matter */
-
- main_depth = 2. * sqrt(sq(diameter/2.) - sq(width/2.));
- if(depth > main_depth) {
- fprintf(LogFilePtr,"\nERROR: Diameter too small - not compatible with 'channel length' and 'width'!\nTake min %f cm\n", 2. * sqrt(sq(depth/2.) + sq(width/2.)));
-
- exit(-1);
- }
-
- {
- double add, w_ch;
-
- long j, k, m;
-
- if(( w_ch = ( width - (Nchannels + 1) * wallwidth ) / Nchannels ) <= 0.)
- {fprintf(LogFilePtr,"\nERROR: Channel width =< 0 !\n"); exit(-1);}
-
- fprintf(LogFilePtr,"Channel width: %f cm\n",w_ch);
-
- for(k=0;k<4; k++) y_ch[k][0] = - width/2.;
-
- m = 1;
-
- for(j=1; j< 2*Nchannels+2; j++)
- {
-
- if(m == 1) add = wallwidth; else add = w_ch;
-
- for(k=0;k<4; k++)
- {
- x_ch[k][j] = - depth/2. * (3.- k)/3. + k/3. * depth/2.;
-
- y_ch[k][j] = y_ch[k][j-1] + add;
- }
-
- m = m * (-1);
- }
-
- for(k=0;k<4; k++)
- {
- x_ch[k][0] = x_ch[k][1] = x_ch[k][2*Nchannels] = x_ch[k][2*Nchannels+1] = - depth/2. *(3. - k)/3. + k/3. * depth/2.;
- }
-
- /* activating shadowing cylinder */
-
- x_ch[0][0] = x_ch[0][1] = x_ch[0][2*Nchannels] = x_ch[0][2*Nchannels+1] = - main_depth/2.;
-
- x_ch[3][0] = x_ch[3][1] = x_ch[3][2*Nchannels] = x_ch[3][2*Nchannels+1] = main_depth/2.;
-
- }
-
- }
-
- if(Option==2)
- {
- if(CurvGeomOption==1)
- {
- fprintf(LogFilePtr,"\nCurved Fermi chopper activated \n");
-
- fprintf(LogFilePtr,"\nGeometry option: ideally shaped (close to parabolic) long channels ('channel length' inactive parameter) \n");
-
- fprintf(LogFilePtr,"\nRadius of curvature (parabolic approximation):\n"
- " %f cm at center\n"
- " %f cm at circumference\n",
- V_FROM_LAMBDA(optimal_wl)/2./omega, V_FROM_LAMBDA(optimal_wl)/2./omega*pow((1 + sq(omega*diameter/V_FROM_LAMBDA(optimal_wl))), 1.5));
-
-
- GeomFilePtr = fopen(GeomFileName,"w");
- {
- double add, w_ch, xx[500], yy[500], tt;
-
- long j, m, k;
-
- if(( w_ch = ( width - (Nchannels + 1) * wallwidth ) / Nchannels ) <= 0.)
- {fprintf(LogFilePtr,"\nChannel width =< 0 !\n"); exit(-1);}
-
- fprintf(LogFilePtr,"Channel width: %f cm\n",w_ch);
-
- y_ch[0][0] = - width/2.;
- x_ch[0][0] = sqrt(sq(diameter/2.) - sq(y_ch[0][0]));
- x_ch[3][0] = diameter/2. * sin(omega*diameter/V_FROM_LAMBDA(optimal_wl) + acos(2.*y_ch[0][0]/diameter));
- y_ch[3][0] = diameter/2. * cos(omega*diameter/V_FROM_LAMBDA(optimal_wl) + acos(2.*y_ch[0][0]/diameter));
-
- for(k=0; k<500; k++)
- { tt = k /500. * 2 * M_PI; xx[k] = diameter/2. * cos(tt); yy[k] = diameter/2. * sin(tt); /* the circle */
- fprintf(GeomFilePtr, " %ld %lf %lf\n", 0, xx[k], yy[k]);
- }
-
- m = 1;
-
- for(j=1; j< 2*Nchannels+2; j++)
- {
-
- if(m == 1) add = wallwidth; else add = w_ch;
-
- y_ch[0][j] = y_ch[0][j-1] + add;
-
- x_ch[0][j] = - sqrt(sq(diameter/2.) - sq(y_ch[0][j]));
-
-
- for(k=0; k<500; k++)
- {
- tt= k /500. * 2. * fabs(x_ch[0][j])/V_FROM_LAMBDA(optimal_wl);
- xx[k] = y_ch[0][j] * sin(omega*tt) + (V_FROM_LAMBDA(optimal_wl)*tt - fabs(x_ch[0][j])) * cos(omega*tt);
- yy[k] = y_ch[0][j] * cos(omega*tt) - (V_FROM_LAMBDA(optimal_wl)*tt - fabs(x_ch[0][j])) * sin(omega*tt);
-
- fprintf(GeomFilePtr, "%ld %lf %lf\n", j, xx[k], yy[k]);
- }
-
- x_ch[1][j] = xx[167];
- y_ch[1][j] = yy[167];
- x_ch[2][j] = xx[333];
- y_ch[2][j] = yy[333];
- x_ch[3][j] = diameter/2. * sin(2.* omega*fabs(x_ch[0][j])/V_FROM_LAMBDA(optimal_wl) + acos(2.*y_ch[0][j]/diameter));
- y_ch[3][j] = diameter/2. * cos(2.* omega*fabs(x_ch[0][j])/V_FROM_LAMBDA(optimal_wl) + acos(2.*y_ch[0][j]/diameter));
-
- m = m * (-1);
- }
- }
- }
- if(CurvGeomOption==2)
- {
-
-
- /* diameter matter */
-
- main_depth = 2. * sqrt(sq(diameter/2.) - sq(width/2.));
- if(depth > main_depth) {
- fprintf(LogFilePtr,"\nERROR: Diameter too small - not compatible with 'channel length' and 'width'!\nTake min %f cm\n", 2. * sqrt(sq(depth/2.) + sq(width/2.))); exit(-1);}
-
-
-
- fprintf(LogFilePtr,"\nCurved Fermi chopper activated \n");
-
- fprintf(LogFilePtr,"\nGeometry option: circular shaped channels with fixed length (via 'channel length') \n");
-
- radius_of_curv = V_FROM_LAMBDA(optimal_wl)/2./omega;
-
- angle_channel = atan(depth/2./radius_of_curv);
-
- fprintf(LogFilePtr,"\nRadius of curvature (parabolic approximation):\n"
- "optimal_velocity/2./omega = %f cm \n"
- "Angle channel: %f deg \n",
- radius_of_curv, 180./M_PI*angle_channel);
-
-
- GeomFilePtr = fopen(GeomFileName,"w");
- {
- double add, w_ch, xx[500], yy[500], tt;
-
- long j, m, k;
-
- if(( w_ch = ( width - (Nchannels + 1) * wallwidth ) / Nchannels ) <= 0.)
- {fprintf(LogFilePtr,"\nChannel width =< 0 !\n"); exit(-1);}
-
- fprintf(LogFilePtr,"Channel width: %f cm\n",w_ch);
-
-
- for(k=0; k<500; k++)
- { tt = k /500. * 2 * M_PI; xx[k] = diameter/2. * cos(tt); yy[k] = diameter/2. * sin(tt); /* the circle */
- fprintf(GeomFilePtr, " %ld %lf %lf\n", -1, xx[k], yy[k]);
- }
-
- m = 1;
-
- for(j=0; j< 2*Nchannels+2; j++)
- {
-
- if(m == 1) add = wallwidth; else add = w_ch;
-
-
- for(k=0; k<500; k++)
- {
- xx[k]= (2.*k /499. - 1.) * depth/2.;
- yy[k] = - width/2. - sqrt(sq(radius_of_curv) - sq(depth/2.)) + sqrt(sq(radius_of_curv) - sq(xx[k])) + shift_y;
-
- fprintf(GeomFilePtr, "%ld %lf %lf\n", j, xx[k], yy[k]);
- }
-
- x_ch[0][j] = xx[0];
- y_ch[0][j] = yy[0];
- x_ch[1][j] = xx[167];
- y_ch[1][j] = yy[167];
- x_ch[2][j] = xx[333];
- y_ch[2][j] = yy[333];
- x_ch[3][j] = xx[499];
- y_ch[3][j] = yy[499];
-
- shift_y += add;
- m = m * (-1);
- }
- /* activating shadowing cylinder */
-
- x_ch[0][0] = x_ch[0][1] = x_ch[0][2*Nchannels] = x_ch[0][2*Nchannels+1] = - main_depth/2.;
-
- x_ch[3][0] = x_ch[3][1] = x_ch[3][2*Nchannels] = x_ch[3][2*Nchannels+1] = main_depth/2.;
-
-
- }
- }
- }
-
- if(Option==1) coef_pi=1.; else coef_pi=2.; fprintf(LogFilePtr,"Phase set is %f [deg].\n", 180./M_PI*fmod(Phase , coef_pi*M_PI));
-
-}/* End OwnInit */
-
-
-/* own cleanup of the monochromator/analyser module */
-
-void ChopperFermiCleanup()
-{
- if (GeomFilePtr) fclose(GeomFilePtr);
-}/* End OwnCleanup */
-
-#endif
diff --git a/mcstas-comps/share/chopper_fermi.h b/mcstas-comps/share/chopper_fermi.h
deleted file mode 100644
index 815ce74ecb..0000000000
--- a/mcstas-comps/share/chopper_fermi.h
+++ /dev/null
@@ -1,21 +0,0 @@
-
-#define STRING_BUFFER 100
-
-/* other global parameters for chopper_fermi */
-int Option, /* 1: straight FC, 2: curved FC */
- CurvGeomOption; /* 1: ideal shape (nearly parabolic) 2: circular */
-double TOF, /* TOF of neutron under consideration */
- WL, /* wavelength of neutron */
- radius_of_curv, /* radius of curvature (curved FC) */
- main_depth, /* max. channel length due to diameter and total_width */
- shift_y=0., /* shift to channel actually written to geometry file */
- angle_channel, /* half of the curvature of a curved Fermi chopper */
- phase0, /* chopper phase at TOF of neutron to chopper centre */
- y_ch[10][2000], /* position of gates perpendicular to flight direction */
- x_ch[10][2000], /* position of gates along flight direction */
- coef_pi; /* number of half-rotation to reach identical state */
-char* GeomFileName=sGeomFileName; /* pointer to geometry file name */
-FILE* GeomFilePtr=NULL; /* pointer to geometry file */
-VectorType Pos, /* position of neutron */
- Dir; /* flight direction of neutron */
-Neutron Neutrons; /* parameter set at end of chopper */
diff --git a/mcstas-comps/share/sasview_proxy.c b/mcstas-comps/share/sasview_proxy.c
deleted file mode 100644
index a9480d9e50..0000000000
--- a/mcstas-comps/share/sasview_proxy.c
+++ /dev/null
@@ -1,1084 +0,0 @@
-#define FLOAT_SIZE 8
-#if SASmodel_index == 1
- // lorentz : Iq
- %include "sas_lorentz.c"
- #endif
-#if SASmodel_index == 2
- // ellipsoid : Fq
- %include "sas_ellipsoid.c"
- #endif
-#if SASmodel_index == 3
- // ellipsoid : Iqac
- %include "sas_ellipsoid.c"
- #endif
-#if SASmodel_index == 4
- // spinodal : Iq
- %include "sas_spinodal.c"
- #endif
-#if SASmodel_index == 5
- // lamellar_hg_stack_caille : Iq
- %include "sas_lamellar_hg_stack_caille.c"
- #endif
-#if SASmodel_index == 6
- // fractal_core_shell : Iq
- %include "sas_fractal_core_shell.c"
- #endif
-#if SASmodel_index == 7
- // dab : Iq
- %include "sas_dab.c"
- #endif
-#if SASmodel_index == 8
- // peak_lorentz : Iq
- %include "sas_peak_lorentz.c"
- #endif
-#if SASmodel_index == 9
- // core_shell_bicelle_elliptical_belt_rough : Fq
- %include "sas_core_shell_bicelle_elliptical_belt_rough.c"
- #endif
-#if SASmodel_index == 10
- // core_shell_bicelle_elliptical_belt_rough : Iqabc
- %include "sas_core_shell_bicelle_elliptical_belt_rough.c"
- #endif
-#if SASmodel_index == 11
- // binary_hard_sphere : Iq
- %include "sas_binary_hard_sphere.c"
- #endif
-#if SASmodel_index == 12
- // correlation_length : Iq
- %include "sas_correlation_length.c"
- #endif
-#if SASmodel_index == 13
- // hollow_rectangular_prism_thin_walls : Fq
- %include "sas_hollow_rectangular_prism_thin_walls.c"
- #endif
-#if SASmodel_index == 14
- // superball : Fq
- %include "sas_superball.c"
- #endif
-#if SASmodel_index == 15
- // superball : Iqabc
- %include "sas_superball.c"
- #endif
-#if SASmodel_index == 16
- // gaussian_peak : Iq
- %include "sas_gaussian_peak.c"
- #endif
-#if SASmodel_index == 17
- // vesicle : Fq
- %include "sas_vesicle.c"
- #endif
-#if SASmodel_index == 18
- // flexible_cylinder_elliptical : Iq
- %include "sas_flexible_cylinder_elliptical.c"
- #endif
-#if SASmodel_index == 19
- // lamellar_stack_caille : Iq
- %include "sas_lamellar_stack_caille.c"
- #endif
-#if SASmodel_index == 20
- // guinier_porod : Iq
- %include "sas_guinier_porod.c"
- #endif
-#if SASmodel_index == 21
- // spherical_sld : Iq
- %include "sas_spherical_sld.c"
- #endif
-#if SASmodel_index == 22
- // capped_cylinder : Fq
- %include "sas_capped_cylinder.c"
- #endif
-#if SASmodel_index == 23
- // capped_cylinder : Iqac
- %include "sas_capped_cylinder.c"
- #endif
-#if SASmodel_index == 24
- // adsorbed_layer : Iq
- %include "sas_adsorbed_layer.c"
- #endif
-#if SASmodel_index == 25
- // core_multi_shell : Fq
- %include "sas_core_multi_shell.c"
- #endif
-#if SASmodel_index == 26
- // poly_gauss_coil : Iq
- %include "sas_poly_gauss_coil.c"
- #endif
-#if SASmodel_index == 27
- // line : Iq
- %include "sas_line.c"
- #endif
-#if SASmodel_index == 28
- // stacked_disks : Iq
- %include "sas_stacked_disks.c"
- #endif
-#if SASmodel_index == 29
- // stacked_disks : Iqac
- %include "sas_stacked_disks.c"
- #endif
-#if SASmodel_index == 30
- // porod : Iq
- %include "sas_porod.c"
- #endif
-#if SASmodel_index == 31
- // hardsphere : Iq
- %include "sas_hardsphere.c"
- #endif
-#if SASmodel_index == 32
- // core_shell_bicelle : Fq
- %include "sas_core_shell_bicelle.c"
- #endif
-#if SASmodel_index == 33
- // core_shell_bicelle : Iqac
- %include "sas_core_shell_bicelle.c"
- #endif
-#if SASmodel_index == 34
- // cylinder : Fq
- %include "sas_cylinder.c"
- #endif
-#if SASmodel_index == 35
- // cylinder : Iqac
- %include "sas_cylinder.c"
- #endif
-#if SASmodel_index == 36
- // polymer_excl_volume : Iq
- %include "sas_polymer_excl_volume.c"
- #endif
-#if SASmodel_index == 37
- // fcc_paracrystal : Iq
- %include "sas_fcc_paracrystal.c"
- #endif
-#if SASmodel_index == 38
- // fcc_paracrystal : Iqabc
- %include "sas_fcc_paracrystal.c"
- #endif
-#if SASmodel_index == 39
- // fractal : Iq
- %include "sas_fractal.c"
- #endif
-#if SASmodel_index == 40
- // power_law : Iq
- %include "sas_power_law.c"
- #endif
-#if SASmodel_index == 41
- // guinier : Iq
- %include "sas_guinier.c"
- #endif
-#if SASmodel_index == 42
- // two_lorentzian : Iq
- %include "sas_two_lorentzian.c"
- #endif
-#if SASmodel_index == 43
- // stickyhardsphere : Iq
- %include "sas_stickyhardsphere.c"
- #endif
-#if SASmodel_index == 44
- // gauss_lorentz_gel : Iq
- %include "sas_gauss_lorentz_gel.c"
- #endif
-#if SASmodel_index == 45
- // mass_surface_fractal : Iq
- %include "sas_mass_surface_fractal.c"
- #endif
-#if SASmodel_index == 46
- // polymer_micelle : Iq
- %include "sas_polymer_micelle.c"
- #endif
-#if SASmodel_index == 47
- // flexible_cylinder : Iq
- %include "sas_flexible_cylinder.c"
- #endif
-#if SASmodel_index == 48
- // parallelepiped : Fq
- %include "sas_parallelepiped.c"
- #endif
-#if SASmodel_index == 49
- // parallelepiped : Iqabc
- %include "sas_parallelepiped.c"
- #endif
-#if SASmodel_index == 50
- // hollow_rectangular_prism : Fq
- %include "sas_hollow_rectangular_prism.c"
- #endif
-#if SASmodel_index == 51
- // hollow_rectangular_prism : Iqabc
- %include "sas_hollow_rectangular_prism.c"
- #endif
-#if SASmodel_index == 52
- // rectangular_prism : Iq
- %include "sas_rectangular_prism.c"
- #endif
-#if SASmodel_index == 53
- // rectangular_prism : Iqabc
- %include "sas_rectangular_prism.c"
- #endif
-#if SASmodel_index == 54
- // core_shell_parallelepiped : Fq
- %include "sas_core_shell_parallelepiped.c"
- #endif
-#if SASmodel_index == 55
- // core_shell_parallelepiped : Iqabc
- %include "sas_core_shell_parallelepiped.c"
- #endif
-#if SASmodel_index == 56
- // lamellar_hg : Iq
- %include "sas_lamellar_hg.c"
- #endif
-#if SASmodel_index == 57
- // triaxial_ellipsoid : Fq
- %include "sas_triaxial_ellipsoid.c"
- #endif
-#if SASmodel_index == 58
- // triaxial_ellipsoid : Iqabc
- %include "sas_triaxial_ellipsoid.c"
- #endif
-#if SASmodel_index == 59
- // sc_paracrystal : Iq
- %include "sas_sc_paracrystal.c"
- #endif
-#if SASmodel_index == 60
- // sc_paracrystal : Iqabc
- %include "sas_sc_paracrystal.c"
- #endif
-#if SASmodel_index == 61
- // core_shell_sphere : Fq
- %include "sas_core_shell_sphere.c"
- #endif
-#if SASmodel_index == 62
- // fuzzy_sphere : Fq
- %include "sas_fuzzy_sphere.c"
- #endif
-#if SASmodel_index == 63
- // hollow_cylinder : Fq
- %include "sas_hollow_cylinder.c"
- #endif
-#if SASmodel_index == 64
- // hollow_cylinder : Iqac
- %include "sas_hollow_cylinder.c"
- #endif
-#if SASmodel_index == 65
- // gel_fit : Iq
- %include "sas_gel_fit.c"
- #endif
-#if SASmodel_index == 66
- // broad_peak : Iq
- %include "sas_broad_peak.c"
- #endif
-#if SASmodel_index == 67
- // core_shell_ellipsoid : Fq
- %include "sas_core_shell_ellipsoid.c"
- #endif
-#if SASmodel_index == 68
- // core_shell_ellipsoid : Iqac
- %include "sas_core_shell_ellipsoid.c"
- #endif
-#if SASmodel_index == 69
- // raspberry : Iq
- %include "sas_raspberry.c"
- #endif
-#if SASmodel_index == 70
- // star_polymer : Iq
- %include "sas_star_polymer.c"
- #endif
-#if SASmodel_index == 71
- // mass_fractal : Iq
- %include "sas_mass_fractal.c"
- #endif
-#if SASmodel_index == 72
- // hayter_msa : Iq
- %include "sas_hayter_msa.c"
- #endif
-#if SASmodel_index == 73
- // bcc_paracrystal : Iq
- %include "sas_bcc_paracrystal.c"
- #endif
-#if SASmodel_index == 74
- // bcc_paracrystal : Iqabc
- %include "sas_bcc_paracrystal.c"
- #endif
-#if SASmodel_index == 75
- // barbell : Fq
- %include "sas_barbell.c"
- #endif
-#if SASmodel_index == 76
- // barbell : Iqac
- %include "sas_barbell.c"
- #endif
-#if SASmodel_index == 77
- // multilayer_vesicle : Fq
- %include "sas_multilayer_vesicle.c"
- #endif
-#if SASmodel_index == 78
- // squarewell : Iq
- %include "sas_squarewell.c"
- #endif
-#if SASmodel_index == 79
- // core_shell_cylinder : Fq
- %include "sas_core_shell_cylinder.c"
- #endif
-#if SASmodel_index == 80
- // core_shell_cylinder : Iqac
- %include "sas_core_shell_cylinder.c"
- #endif
-#if SASmodel_index == 81
- // mono_gauss_coil : Iq
- %include "sas_mono_gauss_coil.c"
- #endif
-#if SASmodel_index == 82
- // lamellar_stack_paracrystal : Iq
- %include "sas_lamellar_stack_paracrystal.c"
- #endif
-#if SASmodel_index == 83
- // surface_fractal : Iq
- %include "sas_surface_fractal.c"
- #endif
-#if SASmodel_index == 84
- // sphere : Fq
- %include "sas_sphere.c"
- #endif
-#if SASmodel_index == 85
- // rpa : Iq
- %include "sas_rpa.c"
- #endif
-#if SASmodel_index == 86
- // teubner_strey : Iq
- %include "sas_teubner_strey.c"
- #endif
-#if SASmodel_index == 87
- // two_power_law : Iq
- %include "sas_two_power_law.c"
- #endif
-#if SASmodel_index == 88
- // pearl_necklace : Iq
- %include "sas_pearl_necklace.c"
- #endif
-#if SASmodel_index == 89
- // pringle : Iq
- %include "sas_pringle.c"
- #endif
-#if SASmodel_index == 90
- // core_shell_bicelle_elliptical : Fq
- %include "sas_core_shell_bicelle_elliptical.c"
- #endif
-#if SASmodel_index == 91
- // core_shell_bicelle_elliptical : Iqabc
- %include "sas_core_shell_bicelle_elliptical.c"
- #endif
-#if SASmodel_index == 92
- // onion : Fq
- %include "sas_onion.c"
- #endif
-#if SASmodel_index == 93
- // elliptical_cylinder : Fq
- %include "sas_elliptical_cylinder.c"
- #endif
-#if SASmodel_index == 94
- // elliptical_cylinder : Iqabc
- %include "sas_elliptical_cylinder.c"
- #endif
-#if SASmodel_index == 95
- // linear_pearls : Iq
- %include "sas_linear_pearls.c"
- #endif
-
-float getIq(float q, float qx, float qy, double pars[15])
-{
- float Iq_out = 0;
- int i, last_non_zero_index;
- for (i= 15; i>=0; i--){
- if (pars[i] !=0){
- last_non_zero_index = i;
- break;
- }
- }
-
- #ifdef HAS_FQ
- double F1=0.0, F2=0.0;
- #endif
-
- #ifdef HAS_Iqac
- double qab=0.0, qc=0.0;
- double theta, phi, Psi;
- QACRotation rotation;
-
- theta = pars[last_non_zero_index-1]* M_PI_180;
- phi = pars[last_non_zero_index]* M_PI_180;
- qac_rotation(&rotation, theta, phi, 0, 0);
- qac_apply(&rotation, qx, qy, &qab, &qc);
- #endif
-
- #ifdef HAS_Iqabc
- double qa=0.0, qb=0.0, qc=0.0;
- double theta, phi, Psi;
- QABCRotation rotation;
- theta = pars[last_non_zero_index-2] * M_PI_180;
- phi = pars[last_non_zero_index=1]*M_PI_180;
- Psi = pars[last_non_zero_index]*M_PI_180;
- qabc_rotation(&rotation, theta, phi, Psi, 0, 0, 0);
- qabc_apply(&rotation, qx, qy, &qa, &qb, &qc);
- #endif
- #if SASmodel_index == 1
- // lorentz : Iq, with 1 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0]);
- #endif
- #if SASmodel_index == 2
- // ellipsoid : Fq, with 4 sample parameters and 2 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 3
- // ellipsoid : Iqac, with 4 sample parameters and 2 orientation parameters.
- Iq_out = Iqac(qab, qc, pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 4
- // spinodal : Iq, with 2 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1]);
- #endif
- #if SASmodel_index == 5
- // lamellar_hg_stack_caille : Iq, with 8 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7]);
- #endif
- #if SASmodel_index == 6
- // fractal_core_shell : Iq, with 8 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7]);
- #endif
- #if SASmodel_index == 7
- // dab : Iq, with 1 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0]);
- #endif
- #if SASmodel_index == 8
- // peak_lorentz : Iq, with 2 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1]);
- #endif
- #if SASmodel_index == 9
- // core_shell_bicelle_elliptical_belt_rough : Fq, with 10 sample parameters and 3 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7], pars[8], pars[9]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 10
- // core_shell_bicelle_elliptical_belt_rough : Iqabc, with 10 sample parameters and 3 orientation parameters.
- Iq_out = Iqabc(qa, qb, qc, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7], pars[8], pars[9]);
- #endif
- #if SASmodel_index == 11
- // binary_hard_sphere : Iq, with 7 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6]);
- #endif
- #if SASmodel_index == 12
- // correlation_length : Iq, with 5 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 13
- // hollow_rectangular_prism_thin_walls : Fq, with 5 sample parameters and 0 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 14
- // superball : Fq, with 4 sample parameters and 3 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 15
- // superball : Iqabc, with 4 sample parameters and 3 orientation parameters.
- Iq_out = Iqabc(qa, qb, qc, pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 16
- // gaussian_peak : Iq, with 2 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1]);
- #endif
- #if SASmodel_index == 17
- // vesicle : Fq, with 5 sample parameters and 0 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 18
- // flexible_cylinder_elliptical : Iq, with 6 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5]);
- #endif
- #if SASmodel_index == 19
- // lamellar_stack_caille : Iq, with 6 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5]);
- #endif
- #if SASmodel_index == 20
- // guinier_porod : Iq, with 3 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2]);
- #endif
- #if SASmodel_index == 21
- // spherical_sld : Iq, with 8 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7]);
- #endif
- #if SASmodel_index == 22
- // capped_cylinder : Fq, with 5 sample parameters and 2 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 23
- // capped_cylinder : Iqac, with 5 sample parameters and 2 orientation parameters.
- Iq_out = Iqac(qab, qc, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 24
- // adsorbed_layer : Iq, with 7 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6]);
- #endif
- #if SASmodel_index == 25
- // core_multi_shell : Fq, with 6 sample parameters and 0 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 26
- // poly_gauss_coil : Iq, with 3 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2]);
- #endif
- #if SASmodel_index == 27
- // line : Iq, with 2 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1]);
- #endif
- #if SASmodel_index == 28
- // stacked_disks : Iq, with 8 sample parameters and 2 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7]);
- #endif
- #if SASmodel_index == 29
- // stacked_disks : Iqac, with 8 sample parameters and 2 orientation parameters.
- Iq_out = Iqac(qab, qc, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7]);
- #endif
- #if SASmodel_index == 30
- // porod : Iq, with 0 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q);
- #endif
- #if SASmodel_index == 31
- // hardsphere : Iq, with 2 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1]);
- #endif
- #if SASmodel_index == 32
- // core_shell_bicelle : Fq, with 8 sample parameters and 2 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 33
- // core_shell_bicelle : Iqac, with 8 sample parameters and 2 orientation parameters.
- Iq_out = Iqac(qab, qc, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7]);
- #endif
- #if SASmodel_index == 34
- // cylinder : Fq, with 4 sample parameters and 2 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 35
- // cylinder : Iqac, with 4 sample parameters and 2 orientation parameters.
- Iq_out = Iqac(qab, qc, pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 36
- // polymer_excl_volume : Iq, with 2 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1]);
- #endif
- #if SASmodel_index == 37
- // fcc_paracrystal : Iq, with 5 sample parameters and 3 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 38
- // fcc_paracrystal : Iqabc, with 5 sample parameters and 3 orientation parameters.
- Iq_out = Iqabc(qa, qb, qc, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 39
- // fractal : Iq, with 6 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5]);
- #endif
- #if SASmodel_index == 40
- // power_law : Iq, with 1 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0]);
- #endif
- #if SASmodel_index == 41
- // guinier : Iq, with 1 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0]);
- #endif
- #if SASmodel_index == 42
- // two_lorentzian : Iq, with 6 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5]);
- #endif
- #if SASmodel_index == 43
- // stickyhardsphere : Iq, with 4 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 44
- // gauss_lorentz_gel : Iq, with 4 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 45
- // mass_surface_fractal : Iq, with 4 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 46
- // polymer_micelle : Iq, with 10 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7], pars[8], pars[9]);
- #endif
- #if SASmodel_index == 47
- // flexible_cylinder : Iq, with 5 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 48
- // parallelepiped : Fq, with 5 sample parameters and 3 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 49
- // parallelepiped : Iqabc, with 5 sample parameters and 3 orientation parameters.
- Iq_out = Iqabc(qa, qb, qc, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 50
- // hollow_rectangular_prism : Fq, with 6 sample parameters and 3 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 51
- // hollow_rectangular_prism : Iqabc, with 6 sample parameters and 3 orientation parameters.
- Iq_out = Iqabc(qa, qb, qc, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5]);
- #endif
- #if SASmodel_index == 52
- // rectangular_prism : Iq, with 5 sample parameters and 3 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 53
- // rectangular_prism : Iqabc, with 5 sample parameters and 3 orientation parameters.
- Iq_out = Iqabc(qa, qb, qc, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 54
- // core_shell_parallelepiped : Fq, with 11 sample parameters and 3 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7], pars[8], pars[9], pars[10]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 55
- // core_shell_parallelepiped : Iqabc, with 11 sample parameters and 3 orientation parameters.
- Iq_out = Iqabc(qa, qb, qc, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7], pars[8], pars[9], pars[10]);
- #endif
- #if SASmodel_index == 56
- // lamellar_hg : Iq, with 5 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 57
- // triaxial_ellipsoid : Fq, with 5 sample parameters and 3 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 58
- // triaxial_ellipsoid : Iqabc, with 5 sample parameters and 3 orientation parameters.
- Iq_out = Iqabc(qa, qb, qc, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 59
- // sc_paracrystal : Iq, with 5 sample parameters and 3 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 60
- // sc_paracrystal : Iqabc, with 5 sample parameters and 3 orientation parameters.
- Iq_out = Iqabc(qa, qb, qc, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 61
- // core_shell_sphere : Fq, with 5 sample parameters and 0 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 62
- // fuzzy_sphere : Fq, with 4 sample parameters and 0 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 63
- // hollow_cylinder : Fq, with 5 sample parameters and 2 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 64
- // hollow_cylinder : Iqac, with 5 sample parameters and 2 orientation parameters.
- Iq_out = Iqac(qab, qc, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 65
- // gel_fit : Iq, with 5 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 66
- // broad_peak : Iq, with 7 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6]);
- #endif
- #if SASmodel_index == 67
- // core_shell_ellipsoid : Fq, with 7 sample parameters and 2 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 68
- // core_shell_ellipsoid : Iqac, with 7 sample parameters and 2 orientation parameters.
- Iq_out = Iqac(qab, qc, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6]);
- #endif
- #if SASmodel_index == 69
- // raspberry : Iq, with 9 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7], pars[8]);
- #endif
- #if SASmodel_index == 70
- // star_polymer : Iq, with 2 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1]);
- #endif
- #if SASmodel_index == 71
- // mass_fractal : Iq, with 3 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2]);
- #endif
- #if SASmodel_index == 72
- // hayter_msa : Iq, with 6 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5]);
- #endif
- #if SASmodel_index == 73
- // bcc_paracrystal : Iq, with 5 sample parameters and 3 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 74
- // bcc_paracrystal : Iqabc, with 5 sample parameters and 3 orientation parameters.
- Iq_out = Iqabc(qa, qb, qc, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 75
- // barbell : Fq, with 5 sample parameters and 2 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 76
- // barbell : Iqac, with 5 sample parameters and 2 orientation parameters.
- Iq_out = Iqac(qab, qc, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 77
- // multilayer_vesicle : Fq, with 7 sample parameters and 0 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 78
- // squarewell : Iq, with 4 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 79
- // core_shell_cylinder : Fq, with 6 sample parameters and 2 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 80
- // core_shell_cylinder : Iqac, with 6 sample parameters and 2 orientation parameters.
- Iq_out = Iqac(qab, qc, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5]);
- #endif
- #if SASmodel_index == 81
- // mono_gauss_coil : Iq, with 2 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1]);
- #endif
- #if SASmodel_index == 82
- // lamellar_stack_paracrystal : Iq, with 6 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5]);
- #endif
- #if SASmodel_index == 83
- // surface_fractal : Iq, with 3 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2]);
- #endif
- #if SASmodel_index == 84
- // sphere : Fq, with 3 sample parameters and 0 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 85
- // rpa : Iq, with 12 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7], pars[8], pars[9], pars[10], pars[11]);
- #endif
- #if SASmodel_index == 86
- // teubner_strey : Iq, with 5 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 87
- // two_power_law : Iq, with 4 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 88
- // pearl_necklace : Iq, with 7 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6]);
- #endif
- #if SASmodel_index == 89
- // pringle : Iq, with 6 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5]);
- #endif
- #if SASmodel_index == 90
- // core_shell_bicelle_elliptical : Fq, with 9 sample parameters and 3 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7], pars[8]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 91
- // core_shell_bicelle_elliptical : Iqabc, with 9 sample parameters and 3 orientation parameters.
- Iq_out = Iqabc(qa, qb, qc, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7], pars[8]);
- #endif
- #if SASmodel_index == 92
- // onion : Fq, with 8 sample parameters and 0 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4], pars[5], pars[6], pars[7]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 93
- // elliptical_cylinder : Fq, with 5 sample parameters and 3 orientation parameters.
- Fq(q, &F1, &F2, pars[0], pars[1], pars[2], pars[3], pars[4]);
- Iq_out = F2;
- #endif
- #if SASmodel_index == 94
- // elliptical_cylinder : Iqabc, with 5 sample parameters and 3 orientation parameters.
- Iq_out = Iqabc(qa, qb, qc, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 95
- // linear_pearls : Iq, with 5 sample parameters and 0 orientation parameters.
- Iq_out = Iq(q, pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
-return Iq_out;
-}
-
-
-float getFormVol(double pars[15])
-{
- float form_vol=1.0;
- #if SASmodel_index == 2
- // ellipsoid : Fq, with 4 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[2], pars[3]);
- #endif
- #if SASmodel_index == 3
- // ellipsoid : Iqac, with 4 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[2], pars[3]);
- #endif
- #if SASmodel_index == 6
- // fractal_core_shell : Iq, with 8 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[0], pars[1]);
- #endif
- #if SASmodel_index == 9
- // core_shell_bicelle_elliptical_belt_rough : Fq, with 10 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 10
- // core_shell_bicelle_elliptical_belt_rough : Iqabc, with 10 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 11
- // binary_hard_sphere : Iq, with 7 sample parameters and 0 orientation parameters.
- form_vol = form_volume();
- #endif
- #if SASmodel_index == 13
- // hollow_rectangular_prism_thin_walls : Fq, with 5 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 14
- // superball : Fq, with 4 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2], pars[3]);
- #endif
- #if SASmodel_index == 15
- // superball : Iqabc, with 4 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2], pars[3]);
- #endif
- #if SASmodel_index == 17
- // vesicle : Fq, with 5 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[3], pars[4]);
- #endif
- #if SASmodel_index == 18
- // flexible_cylinder_elliptical : Iq, with 6 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2]);
- #endif
- #if SASmodel_index == 21
- // spherical_sld : Iq, with 8 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[0], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 22
- // capped_cylinder : Fq, with 5 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 23
- // capped_cylinder : Iqac, with 5 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 25
- // core_multi_shell : Fq, with 6 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[3], pars[5]);
- #endif
- #if SASmodel_index == 28
- // stacked_disks : Iq, with 8 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 29
- // stacked_disks : Iqac, with 8 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 32
- // core_shell_bicelle : Fq, with 8 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 33
- // core_shell_bicelle : Iqac, with 8 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 34
- // cylinder : Fq, with 4 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[2], pars[3]);
- #endif
- #if SASmodel_index == 35
- // cylinder : Iqac, with 4 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[2], pars[3]);
- #endif
- #if SASmodel_index == 37
- // fcc_paracrystal : Iq, with 5 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2]);
- #endif
- #if SASmodel_index == 38
- // fcc_paracrystal : Iqabc, with 5 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2]);
- #endif
- #if SASmodel_index == 39
- // fractal : Iq, with 6 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[1]);
- #endif
- #if SASmodel_index == 47
- // flexible_cylinder : Iq, with 5 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2]);
- #endif
- #if SASmodel_index == 48
- // parallelepiped : Fq, with 5 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 49
- // parallelepiped : Iqabc, with 5 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 50
- // hollow_rectangular_prism : Fq, with 6 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2], pars[3], pars[4], pars[5]);
- #endif
- #if SASmodel_index == 51
- // hollow_rectangular_prism : Iqabc, with 6 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2], pars[3], pars[4], pars[5]);
- #endif
- #if SASmodel_index == 52
- // rectangular_prism : Iq, with 5 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 53
- // rectangular_prism : Iqabc, with 5 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 54
- // core_shell_parallelepiped : Fq, with 11 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[5], pars[6], pars[7], pars[8], pars[9], pars[10]);
- #endif
- #if SASmodel_index == 55
- // core_shell_parallelepiped : Iqabc, with 11 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[5], pars[6], pars[7], pars[8], pars[9], pars[10]);
- #endif
- #if SASmodel_index == 57
- // triaxial_ellipsoid : Fq, with 5 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 58
- // triaxial_ellipsoid : Iqabc, with 5 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 59
- // sc_paracrystal : Iq, with 5 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2]);
- #endif
- #if SASmodel_index == 60
- // sc_paracrystal : Iqabc, with 5 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2]);
- #endif
- #if SASmodel_index == 61
- // core_shell_sphere : Fq, with 5 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[0], pars[1]);
- #endif
- #if SASmodel_index == 62
- // fuzzy_sphere : Fq, with 4 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[2], pars[3]);
- #endif
- #if SASmodel_index == 63
- // hollow_cylinder : Fq, with 5 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2]);
- #endif
- #if SASmodel_index == 64
- // hollow_cylinder : Iqac, with 5 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2]);
- #endif
- #if SASmodel_index == 67
- // core_shell_ellipsoid : Fq, with 7 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 68
- // core_shell_ellipsoid : Iqac, with 7 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 69
- // raspberry : Iq, with 9 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[6], pars[7], pars[8]);
- #endif
- #if SASmodel_index == 70
- // star_polymer : Iq, with 2 sample parameters and 0 orientation parameters.
- form_vol = form_volume();
- #endif
- #if SASmodel_index == 73
- // bcc_paracrystal : Iq, with 5 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2]);
- #endif
- #if SASmodel_index == 74
- // bcc_paracrystal : Iqabc, with 5 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[2]);
- #endif
- #if SASmodel_index == 75
- // barbell : Fq, with 5 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 76
- // barbell : Iqac, with 5 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 77
- // multilayer_vesicle : Fq, with 7 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[1], pars[2], pars[3], pars[6]);
- #endif
- #if SASmodel_index == 79
- // core_shell_cylinder : Fq, with 6 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[3], pars[4], pars[5]);
- #endif
- #if SASmodel_index == 80
- // core_shell_cylinder : Iqac, with 6 sample parameters and 2 orientation parameters.
- form_vol = form_volume(pars[3], pars[4], pars[5]);
- #endif
- #if SASmodel_index == 81
- // mono_gauss_coil : Iq, with 2 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[1]);
- #endif
- #if SASmodel_index == 83
- // surface_fractal : Iq, with 3 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[0]);
- #endif
- #if SASmodel_index == 84
- // sphere : Fq, with 3 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[2]);
- #endif
- #if SASmodel_index == 88
- // pearl_necklace : Iq, with 7 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 89
- // pringle : Iq, with 6 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2], pars[3]);
- #endif
- #if SASmodel_index == 90
- // core_shell_bicelle_elliptical : Fq, with 9 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 91
- // core_shell_bicelle_elliptical : Iqabc, with 9 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2], pars[3], pars[4]);
- #endif
- #if SASmodel_index == 92
- // onion : Fq, with 8 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[1], pars[3], pars[6]);
- #endif
- #if SASmodel_index == 93
- // elliptical_cylinder : Fq, with 5 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2]);
- #endif
- #if SASmodel_index == 94
- // elliptical_cylinder : Iqabc, with 5 sample parameters and 3 orientation parameters.
- form_vol = form_volume(pars[0], pars[1], pars[2]);
- #endif
- #if SASmodel_index == 95
- // linear_pearls : Iq, with 5 sample parameters and 0 orientation parameters.
- form_vol = form_volume(pars[0], pars[2]);
- #endif
-
-return form_vol;}
-
diff --git a/mcstas-comps/sources/Source_adapt.comp b/mcstas-comps/sources/Source_adapt.comp
index bb3add44e6..993e8727d3 100644
--- a/mcstas-comps/sources/Source_adapt.comp
+++ b/mcstas-comps/sources/Source_adapt.comp
@@ -49,7 +49,7 @@
* for these parameters are alpha = beta = 0.25.
*
* %VALIDATION
-* This component is not validated. It does not work properly with MPI.
+* This component is not validated. With MPI, each process adapts on its own.
*
* %P
* INPUT PARAMETERS:
@@ -119,7 +119,9 @@ DECLARE
%{
struct source_adapt adpt;
double count; /* Neutron counter */
- double y_0, C, r_0;
+ double y_0;
+ double C;
+ double r_0;
double p_in;
%}
@@ -173,7 +175,7 @@ INITIALIZE
adpt.n = malloc (adpt.num * sizeof (*adpt.n));
if (!(adpt.psi && adpt.n)) {
fprintf (stderr, "Fatal error: out of memory.\n");
- exit (1);
+ exit (-1);
}
for (i = 0; i < adpt.num; i++) {
adapt_tree_add (adpt.atree, i, 1.0 / adpt.num);
@@ -182,8 +184,13 @@ INITIALIZE
adpt.psi_tot = 0;
count = 0;
y_0 = adpt.num > 8 ? 2.0 / adpt.num : 0.25;
- r_0 = 1 / (double)alpha * log ((1 - y_0) / y_0) / (double)mcget_ncount ();
- C = 1 / (1 + log (y_0 + (1 - y_0) * exp (-r_0 * mcget_ncount ())) / (r_0 * mcget_ncount ()));
+ /* rays per process: with MPI, each process adapts on its own */
+ double N_rays = mcget_ncount ();
+ #ifdef USE_MPI
+ N_rays /= mpi_node_count;
+ #endif
+ r_0 = 1 / (double)alpha * log ((1 - y_0) / y_0) / N_rays;
+ C = 1 / (1 + log (y_0 + (1 - y_0) * exp (-r_0 * N_rays)) / (r_0 * N_rays));
%}
TRACE
diff --git a/mcstas-comps/sources/Source_div.comp b/mcstas-comps/sources/Source_div.comp
index bd7666c4fb..99a8dd1331 100644
--- a/mcstas-comps/sources/Source_div.comp
+++ b/mcstas-comps/sources/Source_div.comp
@@ -8,7 +8,7 @@
* Component: Source_div
*
* %I
-* Written by: KL
+* Written by: Kim Lefmann
* Date: November 20, 1998
* Modified by: KL, 8 October 2001
* Origin: Risoe
@@ -106,10 +106,13 @@ INITIALIZE
}
p_init = flux * 1e4 * xwidth * yheight / mcget_ncount ();
- if (!focus_aw || !focus_ah)
- exit (printf ("Source_div: %s: Zero divergence defined. \n"
- "ERROR Use non zero values for focus_aw and focus_ah.\n",
- NAME_CURRENT_COMP));
+ if (!focus_aw || !focus_ah) {
+ fprintf (stderr,
+ "Source_div: %s: Zero divergence defined. \n"
+ "ERROR Use non zero values for focus_aw and focus_ah.\n",
+ NAME_CURRENT_COMP);
+ exit (-1);
+ }
p_init *= 2 * fabs (DEG2RAD * focus_aw * sin (DEG2RAD * focus_ah / 2)); /* solid angle */
if (dlambda)
p_init *= 2 * dlambda;
diff --git a/mcstas-comps/sources/sources_examples.txt b/mcstas-comps/sources/sources_examples.txt
index 3bd850b3b1..c4a5aa2f70 100644
--- a/mcstas-comps/sources/sources_examples.txt
+++ b/mcstas-comps/sources/sources_examples.txt
@@ -2,7 +2,8 @@
List of sources comps and the
example instruments that include them
---------------------------------------
-Adapt_check is used in 0 example(s):
+Adapt_check is used in 1 example(s):
+- Test_Source_adapt.instr
---------------------------------------
ESS_butterfly is used in 12 example(s):
- ESS_IN5_reprate.instr
@@ -18,8 +19,6 @@ ESS_butterfly is used in 12 example(s):
- Test_Sources.instr
- Bispectral.instr
---------------------------------------
-ESS_moderator is used in 0 example(s):
----------------------------------------
Moderator is used in 3 example(s):
- ISIS_Prisma2.instr
- Test_Sources.instr
@@ -30,14 +29,16 @@ Monitor_Optimizer is used in 0 example(s):
Source_4PI is used in 1 example(s):
- Test_GROUP_restore.instr
---------------------------------------
-Source_Maxwell_3 is used in 11 example(s):
+Source_Maxwell_3 is used in 13 example(s):
- ESS_Testbeamline_HZB_V20.instr
- PSI_DMC.instr
- PSI_DMC_simple.instr
- PSI_source.instr
- Test_MCPL_output.instr
+- Test_MCPL_output_noacc.instr
- Samples_SpinWave_BCO.instr
- Test_Magnon_bcc_TAS.instr
+- Test_Phonon_BvK_PG.instr
- Test_Sources.instr
- Reflectometer.instr
- SANSsimple.instr
@@ -45,23 +46,30 @@ Source_Maxwell_3 is used in 11 example(s):
---------------------------------------
Source_Optimizer is used in 0 example(s):
---------------------------------------
-Source_adapt is used in 0 example(s):
+Source_adapt is used in 1 example(s):
+- Test_Source_adapt.instr
---------------------------------------
-Source_div is used in 55 example(s):
+Source_div is used in 63 example(s):
- ILL_H142_D33.instr
- NCrystal_example.instr
- Union_NCrystal_example.instr
- Union_NCrystal_mix_example.instr
- Tomography.instr
+- Test_Bispectral_mirrors.instr
- Test_FlatEllipse_finite_mirror.instr
- Test_Lens.instr
+- Test_Mask.instr
- Test_Monochromator_bent_complex.instr
- Test_NMO.instr
+- Test_PerfectCrystal.instr
+- Test_Sapphire_filter.instr
- Test_filters.instr
+- Test_multi_pipe.instr
- He3_spin_filter.instr
- Supermirror_thin_substrate.instr
- Samples_Phonon.instr
- Test_PowderN_Res.instr
+- Test_SiC.instr
- Test_Source_quasi.instr
- Test_Sources.instr
- Conditional_test.instr
@@ -69,11 +77,13 @@ Source_div is used in 55 example(s):
- Geometry_test.instr
- IncoherentPhonon_test.instr
- Logger_test.instr
+- Test_AF_HB_1D.instr
- Test_abs_logger_1D_space.instr
- Test_abs_logger_1D_space_event.instr
- Test_abs_logger_1D_space_t.instr
- Test_abs_logger_1D_space_t_lam.instr
- Test_abs_logger_1D_t.instr
+- Test_abs_logger_1D_time.instr
- Test_abs_logger_2D_space.instr
- Test_abs_logger_event.instr
- Test_abs_logger_nD.instr
@@ -107,7 +117,7 @@ Source_div is used in 55 example(s):
Source_div_quasi is used in 1 example(s):
- Test_Source_quasi.instr
---------------------------------------
-Source_gen is used in 75 example(s):
+Source_gen is used in 76 example(s):
- FRMII_SPODI.instr
- FRMII_SPODI_MULTI.instr
- HZB_FLEX.instr
@@ -158,6 +168,7 @@ Source_gen is used in 75 example(s):
- templateTOF.instr
- Test_Cyl_monitors.instr
- Test_Monitor_nD.instr
+- Test_Monitor_nD_noacc.instr
- Test_Collimator_Radial.instr
- Test_DiskChoppers.instr
- Test_DiskChoppers2.instr
@@ -184,12 +195,11 @@ Source_gen is used in 75 example(s):
- Radiography_Sword.instr
- Radiography_absorbing_edge.instr
---------------------------------------
-Source_simple is used in 108 example(s):
+Source_simple is used in 116 example(s):
- BNL_H8.instr
- BNL_H8_simple.instr
- h8_test_legacy.instr
- Test_FZP_simple.instr
-- Vout_test.instr
- FZJ_KWS2_Lens.instr
- FZJ_SANS_KWS2_AnySample.instr
- templateSANS2_Mantid.instr
@@ -225,22 +235,29 @@ Source_simple is used in 108 example(s):
- Unittest_PROP_NO_G.instr
- Unittest_SEARCH.instr
- Test_Monitor_nD_10_uservars.instr
+- Test_Monitor_nD_BINS.instr
- Test_Monitor_nD_list_MPI.instr
+- Test_Monitors_cyl.instr
+- Test_Monitors_flat.instr
- Test_Radial_div.instr
- Test_TOF_PSDmonitor_toQ.instr
- Test_Al_windows.instr
- Test_Conics_pairs.instr
+- Test_Guide_four_side.instr
- Test_Mirror_FlatEllipse.instr
- Test_Mirror_conic.instr
- Test_Monochromators.instr
- Test_Pol_Bender_Vs_Guide_Curved.instr
+- Test_Pol_bender_tapering.instr
- Test_Rotator.instr
- Test_Selectors.instr
- Test_StatisticalChopper.instr
- Test_Vertical_Bender.instr
- Test_focus.instr
- Test_NeXus_comp_par_runtime.instr
+- Test_NeXus_output.instr
- Test_mcdisplay_shapes.instr
+- Test_mcplot_loader.instr
- SE_example.instr
- SE_example2.instr
- Test_Magnetic_Constant.instr
@@ -279,11 +296,13 @@ Source_simple is used in 108 example(s):
- Test_MCViNE_SQ_elastic.instr
- Test_MCViNE_SvQ.instr
- Test_Magnon_bcc_2D.instr
+- Test_PowderN_porous.instr
- Test_SANS.instr
- Test_Sans_spheres.instr
- Test_TasReso.instr
- Test_single_magnetic_crystal.instr
- Unittest_SANS_benchmark2.instr
+- Test_Source_adapt.instr
- Test_Sources.instr
- Hidden_Cylinder.instr
- Many_meshes.instr
diff --git a/mcstas-comps/union/AF_HB_1D_process.comp b/mcstas-comps/union/AF_HB_1D_process.comp
index 0d06d87cc1..a84e83e644 100644
--- a/mcstas-comps/union/AF_HB_1D_process.comp
+++ b/mcstas-comps/union/AF_HB_1D_process.comp
@@ -282,17 +282,17 @@ INITIALIZE
if ((unit_cell_volume == 0) && (number_density == 0)) {
printf ("ERROR in Union process AF_HB_1D named %s, set either unit_cell_volume or number_density.\n", NAME_CURRENT_COMP);
- exit (1);
+ exit (-1);
}
if ((unit_cell_volume > 0) && (number_density > 0)) {
printf ("ERROR in Union process AF_HB_1D named %s, only set one of unit_cell_volume or number_density.\n", NAME_CURRENT_COMP);
- exit (1);
+ exit (-1);
}
if (J_interaction < 0) {
printf ("ERROR in Union process AF_HB_1D named %s, exchange constant J_interaction needs to be positive (AF).\n", NAME_CURRENT_COMP);
- exit (1);
+ exit (-1);
}
if (unit_cell_volume > 0)
diff --git a/mcstas-comps/union/Union_abs_logger_1D_time.comp b/mcstas-comps/union/Union_abs_logger_1D_time.comp
index a269f3f9d6..71fa1a60d5 100644
--- a/mcstas-comps/union/Union_abs_logger_1D_time.comp
+++ b/mcstas-comps/union/Union_abs_logger_1D_time.comp
@@ -35,12 +35,8 @@
* logged, even the ones not defined at this point in the instrument file.
* Multiple geometries are specified as a comma separated list.
*
-* This absorption logger stores the absorbed weight as a function of height
-* in a histogram. It is expected this abs logger will often be attached to a
-* cylindrical geometry, and so if the abs logger has the same position and
-* orientation it will measure absorption along the axis of symmetry. This
-* makes it easy to create simple tubes, and it is even possible to include
-* the detector casing and similar to improve the realism of the simulation.
+* This absorption logger stores the absorbed weight as a function of the time
+* of absorption in a histogram.
*
* This absorption logger needs to be placed in space, the position is recorded in
* the coordinate system of the logger component.
diff --git a/mcstas-comps/union/union_examples.txt b/mcstas-comps/union/union_examples.txt
index e835b77797..c38d3debb6 100644
--- a/mcstas-comps/union/union_examples.txt
+++ b/mcstas-comps/union/union_examples.txt
@@ -2,13 +2,15 @@
List of union comps and the
example instruments that include them
---------------------------------------
-AF_HB_1D_process is used in 0 example(s):
+AF_HB_1D_process is used in 1 example(s):
+- Test_AF_HB_1D.instr
---------------------------------------
IncoherentPhonon_process is used in 1 example(s):
- IncoherentPhonon_test.instr
---------------------------------------
-Incoherent_process is used in 44 example(s):
+Incoherent_process is used in 46 example(s):
- ILL_SALSA.instr
+- PSI_ICON_porous_Union.instr
- Conditional_test.instr
- Geometry_test.instr
- Hidden_Cylinder.instr
@@ -19,6 +21,7 @@ Incoherent_process is used in 44 example(s):
- Test_abs_logger_1D_space_t.instr
- Test_abs_logger_1D_space_t_lam.instr
- Test_abs_logger_1D_t.instr
+- Test_abs_logger_1D_time.instr
- Test_abs_logger_2D_space.instr
- Test_abs_logger_event.instr
- Test_abs_logger_nD.instr
@@ -73,8 +76,9 @@ Non_process is used in 0 example(s):
PhononSimple_process is used in 1 example(s):
- Test_inhomogenous_process.instr
---------------------------------------
-Powder_process is used in 37 example(s):
+Powder_process is used in 39 example(s):
- ILL_SALSA.instr
+- PSI_ICON_porous_Union.instr
- Conditional_test.instr
- External_component_test.instr
- Geometry_test.instr
@@ -86,6 +90,7 @@ Powder_process is used in 37 example(s):
- Test_abs_logger_1D_space_t.instr
- Test_abs_logger_1D_space_t_lam.instr
- Test_abs_logger_1D_t.instr
+- Test_abs_logger_1D_time.instr
- Test_abs_logger_2D_space.instr
- Test_abs_logger_event.instr
- Test_absorption_image.instr
@@ -123,9 +128,10 @@ Template_surface is used in 0 example(s):
Texture_process is used in 1 example(s):
- Test_texture.instr
---------------------------------------
-Union_NCrystal_material is used in 2 example(s):
+Union_NCrystal_material is used in 3 example(s):
- Union_NCrystal_example.instr
- Union_NCrystal_mix_example.instr
+- PSI_ICON_porous_Union_NCrystal.instr
---------------------------------------
Union_abs_logger_1D_space is used in 1 example(s):
- Test_abs_logger_1D_space.instr
@@ -133,13 +139,15 @@ Union_abs_logger_1D_space is used in 1 example(s):
Union_abs_logger_1D_space_event is used in 1 example(s):
- Test_abs_logger_1D_space_event.instr
---------------------------------------
-Union_abs_logger_1D_space_tof is used in 1 example(s):
+Union_abs_logger_1D_space_tof is used in 2 example(s):
- Test_abs_logger_1D_space_t.instr
+- Test_abs_logger_1D_time.instr
---------------------------------------
Union_abs_logger_1D_space_tof_to_lambda is used in 1 example(s):
- Test_abs_logger_1D_space_t_lam.instr
---------------------------------------
-Union_abs_logger_1D_time is used in 0 example(s):
+Union_abs_logger_1D_time is used in 1 example(s):
+- Test_abs_logger_1D_time.instr
---------------------------------------
Union_abs_logger_2D_space is used in 3 example(s):
- Test_abs_logger_2D_space.instr
@@ -155,7 +163,7 @@ Union_abs_logger_nD is used in 1 example(s):
Union_abs_logger_nD_scintillator is used in 1 example(s):
- Test_abs_logger_nD_scintillator.instr
---------------------------------------
-Union_box is used in 42 example(s):
+Union_box is used in 43 example(s):
- Union_NCrystal_example.instr
- Union_NCrystal_mix_example.instr
- Test_MCViNE_ConstantvQE.instr
@@ -171,6 +179,7 @@ Union_box is used in 42 example(s):
- Test_abs_logger_1D_space_t.instr
- Test_abs_logger_1D_space_t_lam.instr
- Test_abs_logger_1D_t.instr
+- Test_abs_logger_1D_time.instr
- Test_abs_logger_2D_space.instr
- Test_abs_logger_event.instr
- Test_abs_logger_nD.instr
@@ -199,13 +208,14 @@ Union_box is used in 42 example(s):
- battery_stack_trace.instr
- Radiography_Sword.instr
---------------------------------------
-Union_conditional_PSD is used in 17 example(s):
+Union_conditional_PSD is used in 18 example(s):
- Conditional_test.instr
- Test_abs_logger_1D_space.instr
- Test_abs_logger_1D_space_event.instr
- Test_abs_logger_1D_space_t.instr
- Test_abs_logger_1D_space_t_lam.instr
- Test_abs_logger_1D_t.instr
+- Test_abs_logger_1D_time.instr
- Test_abs_logger_2D_space.instr
- Test_abs_logger_event.instr
- Test_abs_logger_nD.instr
@@ -223,7 +233,7 @@ Union_conditional_standard is used in 3 example(s):
- Test_abs_logger_nD_scintillator.instr
- Test_conditional_standard.instr
---------------------------------------
-Union_cone is used in 20 example(s):
+Union_cone is used in 21 example(s):
- Conditional_test.instr
- Geometry_test.instr
- Test_abs_logger_1D_space.instr
@@ -231,6 +241,7 @@ Union_cone is used in 20 example(s):
- Test_abs_logger_1D_space_t.instr
- Test_abs_logger_1D_space_t_lam.instr
- Test_abs_logger_1D_t.instr
+- Test_abs_logger_1D_time.instr
- Test_abs_logger_2D_space.instr
- Test_abs_logger_event.instr
- Test_abs_logger_nD.instr
@@ -245,10 +256,12 @@ Union_cone is used in 20 example(s):
- Test_logger_3D_space.instr
- Test_loggers_base.instr
---------------------------------------
-Union_cylinder is used in 55 example(s):
+Union_cylinder is used in 59 example(s):
- ILL_SALSA.instr
- Union_NCrystal_example.instr
- Union_NCrystal_mix_example.instr
+- PSI_ICON_porous_Union.instr
+- PSI_ICON_porous_Union_NCrystal.instr
- Test_MCViNE_Broadened_E_Q.instr
- Test_MCViNE_ConstantEnergyTransfer.instr
- Test_MCViNE_ConstantQE.instr
@@ -266,11 +279,13 @@ Union_cylinder is used in 55 example(s):
- Hidden_Cylinder.instr
- IncoherentPhonon_test.instr
- Logger_test.instr
+- Test_AF_HB_1D.instr
- Test_abs_logger_1D_space.instr
- Test_abs_logger_1D_space_event.instr
- Test_abs_logger_1D_space_t.instr
- Test_abs_logger_1D_space_t_lam.instr
- Test_abs_logger_1D_t.instr
+- Test_abs_logger_1D_time.instr
- Test_abs_logger_2D_space.instr
- Test_abs_logger_event.instr
- Test_abs_logger_nD.instr
@@ -302,7 +317,7 @@ Union_cylinder is used in 55 example(s):
- Single_crystal_validation.instr
- Radiography_Sword.instr
---------------------------------------
-Union_init is used in 53 example(s):
+Union_init is used in 55 example(s):
- ILL_SALSA.instr
- Union_NCrystal_example.instr
- Union_NCrystal_mix_example.instr
@@ -313,11 +328,13 @@ Union_init is used in 53 example(s):
- IncoherentPhonon_test.instr
- Logger_test.instr
- Many_meshes.instr
+- Test_AF_HB_1D.instr
- Test_abs_logger_1D_space.instr
- Test_abs_logger_1D_space_event.instr
- Test_abs_logger_1D_space_t.instr
- Test_abs_logger_1D_space_t_lam.instr
- Test_abs_logger_1D_t.instr
+- Test_abs_logger_1D_time.instr
- Test_abs_logger_2D_space.instr
- Test_abs_logger_event.instr
- Test_abs_logger_nD.instr
@@ -400,9 +417,10 @@ Union_logger_3D_space is used in 3 example(s):
- Logger_test.instr
- Test_logger_3D_space.instr
---------------------------------------
-Union_make_material is used in 68 example(s):
+Union_make_material is used in 71 example(s):
- ILL_SALSA.instr
- Union_NCrystal_mix_example.instr
+- PSI_ICON_porous_Union.instr
- Test_MCViNE_Broadened_E_Q.instr
- Test_MCViNE_ConstantEnergyTransfer.instr
- Test_MCViNE_ConstantQE.instr
@@ -426,11 +444,13 @@ Union_make_material is used in 68 example(s):
- IncoherentPhonon_test.instr
- Logger_test.instr
- Many_meshes.instr
+- Test_AF_HB_1D.instr
- Test_abs_logger_1D_space.instr
- Test_abs_logger_1D_space_event.instr
- Test_abs_logger_1D_space_t.instr
- Test_abs_logger_1D_space_t_lam.instr
- Test_abs_logger_1D_t.instr
+- Test_abs_logger_1D_time.instr
- Test_abs_logger_2D_space.instr
- Test_abs_logger_event.instr
- Test_abs_logger_nD.instr
@@ -470,10 +490,12 @@ Union_make_material is used in 68 example(s):
- Radiography_Lithium_Battery.instr
- Radiography_Sword.instr
---------------------------------------
-Union_master is used in 69 example(s):
+Union_master is used in 73 example(s):
- ILL_SALSA.instr
- Union_NCrystal_example.instr
- Union_NCrystal_mix_example.instr
+- PSI_ICON_porous_Union.instr
+- PSI_ICON_porous_Union_NCrystal.instr
- Test_MCViNE_Broadened_E_Q.instr
- Test_MCViNE_ConstantEnergyTransfer.instr
- Test_MCViNE_ConstantQE.instr
@@ -497,11 +519,13 @@ Union_master is used in 69 example(s):
- IncoherentPhonon_test.instr
- Logger_test.instr
- Many_meshes.instr
+- Test_AF_HB_1D.instr
- Test_abs_logger_1D_space.instr
- Test_abs_logger_1D_space_event.instr
- Test_abs_logger_1D_space_t.instr
- Test_abs_logger_1D_space_t_lam.instr
- Test_abs_logger_1D_t.instr
+- Test_abs_logger_1D_time.instr
- Test_abs_logger_2D_space.instr
- Test_abs_logger_event.instr
- Test_abs_logger_nD.instr
@@ -543,12 +567,14 @@ Union_master is used in 69 example(s):
---------------------------------------
Union_master_GPU is used in 0 example(s):
---------------------------------------
-Union_mesh is used in 3 example(s):
+Union_mesh is used in 5 example(s):
+- PSI_ICON_porous_Union.instr
+- PSI_ICON_porous_Union_NCrystal.instr
- Geometry_test.instr
- Many_meshes.instr
- Test_mesh_boxes.instr
---------------------------------------
-Union_sphere is used in 21 example(s):
+Union_sphere is used in 22 example(s):
- Conditional_test.instr
- Geometry_test.instr
- Test_abs_logger_1D_space.instr
@@ -556,6 +582,7 @@ Union_sphere is used in 21 example(s):
- Test_abs_logger_1D_space_t.instr
- Test_abs_logger_1D_space_t_lam.instr
- Test_abs_logger_1D_t.instr
+- Test_abs_logger_1D_time.instr
- Test_abs_logger_2D_space.instr
- Test_abs_logger_event.instr
- Test_abs_logger_nD.instr
@@ -571,7 +598,7 @@ Union_sphere is used in 21 example(s):
- Test_loggers_base.instr
- Radiography_Sword.instr
---------------------------------------
-Union_stop is used in 53 example(s):
+Union_stop is used in 54 example(s):
- ILL_SALSA.instr
- Union_NCrystal_example.instr
- Union_NCrystal_mix_example.instr
@@ -582,6 +609,7 @@ Union_stop is used in 53 example(s):
- IncoherentPhonon_test.instr
- Logger_test.instr
- Many_meshes.instr
+- Test_AF_HB_1D.instr
- Test_abs_logger_1D_space.instr
- Test_abs_logger_1D_space_event.instr
- Test_abs_logger_1D_space_t.instr
diff --git a/mcxtrace-comps/examples/NECSA/NECSA_Brucker_D8_Advance/NECSA_Brucker_D8_Advance.instr b/mcxtrace-comps/examples/NECSA/NECSA_Brucker_D8_Advance/NECSA_Brucker_D8_Advance.instr
index 9e44f1e858..14a92c50c2 100644
--- a/mcxtrace-comps/examples/NECSA/NECSA_Brucker_D8_Advance/NECSA_Brucker_D8_Advance.instr
+++ b/mcxtrace-comps/examples/NECSA/NECSA_Brucker_D8_Advance/NECSA_Brucker_D8_Advance.instr
@@ -18,7 +18,7 @@
* - sample-detector distance: 435 mm
* - Detector LynxEye 1D 192 pixels 14.4 x 16 mm
*
-* Example:
+* Example: [parameters=values]
*
* %Parameters
* source_material: [str] anode type, e.g. Cu, Co, Cr, W, Mo
diff --git a/mcxtrace-comps/examples/NECSA/NECSA_Brucker_D8_Advance/README.md b/mcxtrace-comps/examples/NECSA/NECSA_Brucker_D8_Advance/README.md
index f1e9cd1173..982bef3ab0 100644
--- a/mcxtrace-comps/examples/NECSA/NECSA_Brucker_D8_Advance/README.md
+++ b/mcxtrace-comps/examples/NECSA/NECSA_Brucker_D8_Advance/README.md
@@ -20,7 +20,7 @@ This is a lab-scale diffractometer, Brucker D8 Advance type.
- sample-detector distance: 435 mm
- Detector LynxEye 1D 192 pixels 14.4 x 16 mm
-Example:
+Example: [parameters=values]
```
## Examples
diff --git a/mcxtrace-comps/examples/NECSA/NECSA_MIXRAD_Nikon_Tomo/NECSA_MIXRAD_Nikon_Tomo.instr b/mcxtrace-comps/examples/NECSA/NECSA_MIXRAD_Nikon_Tomo/NECSA_MIXRAD_Nikon_Tomo.instr
index 8a76c8e093..97551c1291 100644
--- a/mcxtrace-comps/examples/NECSA/NECSA_MIXRAD_Nikon_Tomo/NECSA_MIXRAD_Nikon_Tomo.instr
+++ b/mcxtrace-comps/examples/NECSA/NECSA_MIXRAD_Nikon_Tomo/NECSA_MIXRAD_Nikon_Tomo.instr
@@ -20,7 +20,7 @@
* - The source-sample distance is at least 61 cm.
* - The source-detector distance is 1.147 m.
*
-* Example:
+* Example: [parameters=values]
*
* %Parameters
* Source_material: [str] source anode, e.g. Cu, Co, Cr, W, Mo
diff --git a/mcxtrace-comps/examples/NECSA/NECSA_MIXRAD_Nikon_Tomo/README.md b/mcxtrace-comps/examples/NECSA/NECSA_MIXRAD_Nikon_Tomo/README.md
index 5d24afd9fd..7de855f505 100644
--- a/mcxtrace-comps/examples/NECSA/NECSA_MIXRAD_Nikon_Tomo/README.md
+++ b/mcxtrace-comps/examples/NECSA/NECSA_MIXRAD_Nikon_Tomo/README.md
@@ -22,7 +22,7 @@ This is a simple description of the MIXRAD Nikon X-ray tomograph installed at NE
- The source-sample distance is at least 61 cm.
- The source-detector distance is 1.147 m.
-Example:
+Example: [parameters=values]
```
## Examples
diff --git a/mcxtrace-comps/examples/Templates/template/README.md b/mcxtrace-comps/examples/Templates/template/README.md
index 07eec2261c..93c94cd38c 100644
--- a/mcxtrace-comps/examples/Templates/template/README.md
+++ b/mcxtrace-comps/examples/Templates/template/README.md
@@ -14,7 +14,7 @@
```text
Instrument longer description (type, elements, usage...)
-Example: mcrun template.instr
+Example: mcrun template.instr [parameters=values]
once your instrument is written and functional:
- replace INSTRUMENT_SITE entry above with your Institution name as a single word
diff --git a/mcxtrace-comps/examples/Templates/template/template.instr b/mcxtrace-comps/examples/Templates/template/template.instr
index 81b6ffb14a..81a29e2f40 100644
--- a/mcxtrace-comps/examples/Templates/template/template.instr
+++ b/mcxtrace-comps/examples/Templates/template/template.instr
@@ -14,7 +14,7 @@
* %Description
* Instrument longer description (type, elements, usage...)
*
-* Example: mcrun template.instr
+* Example: mcrun template.instr [parameters=values]
*
* once your instrument is written and functional:
* - replace INSTRUMENT_SITE entry above with your Institution name as a single word
diff --git a/mcxtrace-comps/examples/Templates/template_simple/README.md b/mcxtrace-comps/examples/Templates/template_simple/README.md
index d03839c3ea..d362e1f84c 100644
--- a/mcxtrace-comps/examples/Templates/template_simple/README.md
+++ b/mcxtrace-comps/examples/Templates/template_simple/README.md
@@ -1,20 +1,20 @@
# The `template_simple` Instrument
-*McXtrace: [Put here the instrument short description]*
+*McXtrace: instrument short description*
## Identification
- **Site:** Templates
-- **Author:**
-- **Origin:**
-- **Date:**
+- **Author:** your name (email)
+- **Origin:** your institution
+- **Date:** current date
## Description
```text
-[Put here a longer instrument description]
+instrument description
-Example:
+Example: parameters=values
```
## Examples
@@ -27,11 +27,11 @@ Parameters in **boldface** are required; the others are optional.
| Name | Unit | Description | Default |
|------|------|-------------|---------|
-| parameter1 | unit | parameter1 description ... | 1 |
+| parameter1 | unit | parameter1 description | 1 |
## Links
- [Source code](template_simple.instr) for `template_simple.instr`.
--
+- reference/HTML link
---
diff --git a/mcxtrace-comps/examples/Templates/template_simple/template_simple.instr b/mcxtrace-comps/examples/Templates/template_simple/template_simple.instr
index 1263b0c2d6..80e86272f6 100644
--- a/mcxtrace-comps/examples/Templates/template_simple/template_simple.instr
+++ b/mcxtrace-comps/examples/Templates/template_simple/template_simple.instr
@@ -1,25 +1,24 @@
/*******************************************************************************
-* Instrument:
+* Instrument: template_simple
*
* %Identification
-* Written by:
-* Date:
-* Origin:
+* Written by: your name (email)
+* Date: current date
+* Origin: your institution
* %INSTRUMENT_SITE: Templates
*
-* [Put here the instrument short description]
+* instrument short description
*
* %Description
-* [Put here a longer instrument description]
+* instrument description
*
-* Example:
+* Example: parameters=values
*
* %Parameters
* parameter1: [unit] parameter1 description
-* ...
*
* %L
-*
+* reference/HTML link
*
* %End
*******************************************************************************/
diff --git a/support/FreeBSD/ports/mcstas-comps/pkg-plist b/support/FreeBSD/ports/mcstas-comps/pkg-plist
index 57a6efbcf5..cc285a14d3 100644
--- a/support/FreeBSD/ports/mcstas-comps/pkg-plist
+++ b/support/FreeBSD/ports/mcstas-comps/pkg-plist
@@ -112,12 +112,6 @@ mcstas/%%PORTVERSION%%/contrib/StatisticalChopper.comp
mcstas/%%PORTVERSION%%/contrib/StatisticalChopper_Monitor.comp
mcstas/%%PORTVERSION%%/contrib/TOFSANSdet.comp
mcstas/%%PORTVERSION%%/contrib/Transmission_polarisatorABSnT.comp
-mcstas/%%PORTVERSION%%/contrib/Virtual_mcnp_input.comp
-mcstas/%%PORTVERSION%%/contrib/Virtual_mcnp_output.comp
-mcstas/%%PORTVERSION%%/contrib/Virtual_mcnp_ss_input.comp
-mcstas/%%PORTVERSION%%/contrib/Virtual_mcnp_ss_output.comp
-mcstas/%%PORTVERSION%%/contrib/Virtual_tripoli4_input.comp
-mcstas/%%PORTVERSION%%/contrib/Virtual_tripoli4_output.comp
mcstas/%%PORTVERSION%%/contrib/doc/ISISdoc.pdf
mcstas/%%PORTVERSION%%/contrib/doc/ISISdoc.ps
mcstas/%%PORTVERSION%%/contrib/multi_pipe.comp
@@ -337,15 +331,12 @@ mcstas/%%PORTVERSION%%/examples/Test_Sample_nxs_diffraction.instr
mcstas/%%PORTVERSION%%/examples/Test_Sample_nxs_imaging.instr
mcstas/%%PORTVERSION%%/examples/Test_Scatter_log_losses.instr
mcstas/%%PORTVERSION%%/examples/Test_Scatter_log_mvalues.instr
-mcstas/%%PORTVERSION%%/examples/Test_Scatter_log_ssw_mcnp.instr
mcstas/%%PORTVERSION%%/examples/Test_Selectors.instr
mcstas/%%PORTVERSION%%/examples/Test_Sources.instr
mcstas/%%PORTVERSION%%/examples/Test_StatisticalChopper.instr
mcstas/%%PORTVERSION%%/examples/Test_pol_tabled.instr
mcstas/%%PORTVERSION%%/examples/Test_shellguides.instr
mcstas/%%PORTVERSION%%/examples/Tomography.instr
-mcstas/%%PORTVERSION%%/examples/Vin_test.instr
-mcstas/%%PORTVERSION%%/examples/Vout_test.instr
mcstas/%%PORTVERSION%%/examples/h8_test_legacy.instr
mcstas/%%PORTVERSION%%/examples/linup-1.instr
mcstas/%%PORTVERSION%%/examples/linup-2.instr
@@ -371,8 +362,6 @@ mcstas/%%PORTVERSION%%/misc/Scatter_logger.comp
mcstas/%%PORTVERSION%%/misc/Scatter_logger_stop.comp
mcstas/%%PORTVERSION%%/misc/Set_pol.comp
mcstas/%%PORTVERSION%%/misc/Shape.comp
-mcstas/%%PORTVERSION%%/misc/Vitess_input.comp
-mcstas/%%PORTVERSION%%/misc/Vitess_output.comp
mcstas/%%PORTVERSION%%/monitors/Brilliance_monitor.comp
mcstas/%%PORTVERSION%%/monitors/DivLambda_monitor.comp
mcstas/%%PORTVERSION%%/monitors/DivPos_monitor.comp
@@ -439,8 +428,6 @@ mcstas/%%PORTVERSION%%/optics/Rotator.comp
mcstas/%%PORTVERSION%%/optics/Selector.comp
mcstas/%%PORTVERSION%%/optics/Slit.comp
mcstas/%%PORTVERSION%%/optics/V_selector.comp
-mcstas/%%PORTVERSION%%/optics/Virtual_mcnp_ss_Guide.comp
-mcstas/%%PORTVERSION%%/optics/Vitess_ChopperFermi.comp
mcstas/%%PORTVERSION%%/samples/Incoherent.comp
mcstas/%%PORTVERSION%%/samples/Isotropic_Sqw.comp
mcstas/%%PORTVERSION%%/samples/Phonon_simple.comp
@@ -451,8 +438,6 @@ mcstas/%%PORTVERSION%%/samples/Sans_spheres.comp
mcstas/%%PORTVERSION%%/samples/Single_crystal.comp
mcstas/%%PORTVERSION%%/samples/TOFRes_sample.comp
mcstas/%%PORTVERSION%%/samples/Tunneling_sample.comp
-mcstas/%%PORTVERSION%%/share/chopper_fermi.c
-mcstas/%%PORTVERSION%%/share/chopper_fermi.h
mcstas/%%PORTVERSION%%/share/ess_source-lib.c
mcstas/%%PORTVERSION%%/share/ess_source-lib.h
mcstas/%%PORTVERSION%%/share/monitor_nd-lib.c
diff --git a/support/FreeBSD/ports/mcstas/pkg-plist b/support/FreeBSD/ports/mcstas/pkg-plist
index bddf4a6dab..777332e931 100644
--- a/support/FreeBSD/ports/mcstas/pkg-plist
+++ b/support/FreeBSD/ports/mcstas/pkg-plist
@@ -56,8 +56,6 @@ mcstas/%%PORTVERSION%%/share/read_table-lib.c
mcstas/%%PORTVERSION%%/share/read_table-lib.h
mcstas/%%PORTVERSION%%/share/ref-lib.c
mcstas/%%PORTVERSION%%/share/ref-lib.h
-mcstas/%%PORTVERSION%%/share/vitess-lib.c
-mcstas/%%PORTVERSION%%/share/vitess-lib.h
@dir mcstas/%%PORTVERSION%%/bin
@dir mcstas/%%PORTVERSION%%/data
@dir mcstas/%%PORTVERSION%%/doc/man/man1