This model of the ISIS CRISP reflectometer demonstrates the use of the Multilayer_Sample component.
The algorithm of the component requires complex numbers, facilitated by the
GNU Scientific Library (GSL). To link
your the instrument with an installed GSL, you should use MCSTAS_CFLAGS like
MCSTAS_CFLAGS = -g -O2 -lm -lgsl -lgslcblas
Example: -lgsl -lgslcblas FRAC=0.1 Detector: PSDdet1_I=43.7829
Parameters in boldface are required;
the others are optional.
Length of the elliptical guides
Focal-length of elliptical guides
Entry-width of elliptical guides
m-value of material for left and right vertical guide mirrors
Fraction of statistics used to model incoherent scattering from sample