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.