22 : m_number_of_layers(n_layers)
23 , m_si{2.0704e-06, 2.3726e-11}
24 , m_ti{-1.9493e-06, 9.6013e-10}
25 , m_ni{9.4245e-06, 1.1423e-09}
39 Layer vacuum_layer(vacuum_material);
42 Layer substrate_layer(substrate_material);
50 multi_layer->
addLayer(substrate_layer);
Factory functions used to create material instances.
Defines class MultiLayer.
Declares the class PlainMultiLayerBySLDBuilder.
Defines some unit conversion factors and other constants in namespace Units.
RealParameter & registerParameter(const std::string &name, double *parpointer)
A layer in a MultiLayer sample.
A wrapper for underlying material implementation.
Our sample model: a stack of layers one below the other.
void addLayer(const Layer &layer)
Adds layer with default (zero) roughness.
MultiLayer * buildSample() const override
double m_thick_ni
thickness of Ni layer
double m_thick_ti
thickness of titanium layer
PlainMultiLayerBySLDBuilder(int n_layers=10)
double sld_real
real part of sld in AA^{-2}
double sld_imag
imaginary part of sld in AA^{-2}