Table of Contents

Simulation algorithms

Overview of the different algorithms implemented

Parratt

Zak

Matrix

Simulation modes

The reflectivity is a function of <m>R(q_z, E)</m> with the wave vector <m>q_z = 2 k_0 sin(theta)</m>, angle of incidence <m>theta</m> and energy E. Several simulation modes are implemented to calculate the proper reflectivity.

Reflectivity

monochromatic

dichroic

asymmetry

Energy Scan

monochromatic
dichroic
asymmetry

map

monochromatic

Options

There are several options to alter the behaviour of the algorithms

Option Algorithm

Here you can choose the algorithm for the simulation

Parrat: activates the parratt algorithm
Full matrix formalism: activates matrix algorithm
Zak matrix formalism: activates zak algorithm

Option Precision

The algorithm are implemented with different accuracies. For most systems the precision “double” is sufficient. In most cases the precision option is only useful for the full matrix formalism because it can be numerically unstable.

float: uses the accuracy of the 4-byte floating point numbers
double: uses the accuracy of the 8-byte floating point numbers
long double: uses the accuracy of the 10-byte floating point numbers
60 digits: uses a floating point numbers with an accuracy of 60 digits. (Very slow, but very accurate)

roughness calculation

The interface roughness makes your model real. ReMagX uses a model known as Nevot&Croce which defines the interface with a continuous change of the optical constants delta and beta.

Nevot&Croce: Use a very efficient model to simulation interface roughness.
layer segmentation: Enable layer segmentation (see chapter “Adaptive Layer Segmentation”)