Author: Jana Baltser, Peter Willendrup, Anette Vickery, Andrea Prodi, Erik Knudsen

Origin: NBI

Date: February 2011

Version: 1.0

Description

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
z-axis
The algorithm:
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.

Input parameters

Parameters in boldface are required;
the others are optional.