Montel optic model (aka side-by-side Kirkpatrick Baez)
Author: Jana Baltser, Peter Willendrup, Anette Vickery, Andrea Prodi, Erik Knudsen, Jesper Buch Jensen
Date: May 2012
Models a Montel optic, or Twin Kirkpatrick Baez mirror optic (hence the component name).
The mirror are cfully abutting, i.e. there's is no gap between them, and perfectly elliptic.
Reads reflectivity values from a data input file for a W/B4C multilayer.
The multilayer code reflects ray in an ideal geometry, the reflectivity datafile accounts for surface roughness, sigma.
The mirror is positioned such that the long axis of the mirror elliptical surface coincides with the z-axis.
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.
File which contains reflectivities as a function of q.
Distance from the source to the multilayer
Focusing distance of the multilayer
Length of the mirrors
Width of the mirror along x-axis
Constant reflectivity, R0=1 for an ideal situation. If R0=0, the code reads the reflectivity from the datafile