Author: Jana Baltser, Peter Willendrup, Anette Vickery, Andrea Prodi, Erik Knudsen
Date: February 2011
Reads reflectivity values from a data input file (Ref.dat) for a Si/W multilayer.
The multilayer code reflects ray in an ideal geometry, does not include surface imperfections
The mirror is positioned such that the long axis of the mirror elliptical surface coincides with
Incoming photon's coordinates and direction (k-vector) are transformed into an elliptical reference frame
(elliptical parameters are calculated according to the mirror's position and its focusing distances and the
incident angle), the intersection point is then defined. A new, reflected photon is then starting at the
point of intersection.
Parameters in boldface are required;
the others are optional.
Datafile containing reflectivity values as a function of q and E.
Design angle of incidence.
Design distance from the source to the multilayer.
Design focusing distance of the multilayer.
Length of the mirror.
Width of the mirror along x-axis.
Lower limit of energy interval in datafile. Overrides what's written in the datafile header.
Upper limit of energy interval in datafile. Overrides what's written in the datafile header.
Step between energy sample points in datafile. Overrides what's written in the datafile header.
High electron density fraction of bilayer (in kinematical appr.).