28 MaterialData m_si{2.0704e-06, 2.3726e-11};
29 MaterialData m_ti{-1.9493e-06, 9.6013e-10};
30 MaterialData m_ni{9.4245e-06, 1.1423e-09};
43 Layer vacuum_layer(vacuum_material);
44 Layer ni_layer(ni_material, thick_ni);
45 Layer ti_layer(ti_material, thick_ti);
46 Layer substrate_layer(substrate_material);
49 sample->addLayer(vacuum_layer);
50 for (
int i = 0; i < n_layers; ++i) {
51 sample->addLayer(ti_layer);
52 sample->addLayer(ni_layer);
54 sample->addLayer(substrate_layer);
Factory functions used to create material instances.
Defines class MultiLayer.
Declares the class PlainMultiLayerBySLDBuilder.
Defines class RealLimits.
A layer in a MultiLayer sample.
A wrapper for underlying material implementation.
Our sample model: a stack of layers one below the other.
MultiLayer * createPlainMultiLayerBySLD(int n_layers=10, double thick_ti=3.0)