22 MultiLayer* ThickAbsorptiveSampleBuilder::buildSample()
const
24 Material vacuum_material = MaterialBySLD(
"Vacuum", 0.0, 0.0);
25 Material au_material = MaterialBySLD(
"Au", 3.48388057043e-05, 1.79057609656e-05);
26 Material si_material = MaterialBySLD(
"Si", 3.84197565094e-07, 6.28211531498e-07);
28 Layer vacuum_layer(vacuum_material);
29 Layer au_layer(au_material, 200.0);
30 Layer vacuum_layer_2(vacuum_material, 10.0);
31 Layer substrate_layer(si_material);
38 multi_layer->
addLayer(vacuum_layer_2);
Defines class LayerRoughness.
Factory functions used to create material instances.
Defines class MultiLayer.
Defines class to build thick highly-absorptive sample with roughness.
Defines some unit conversion factors and other constants in namespace Units.
A roughness of interface between two layers.
A layer, with thickness (in nanometer) and material.
A wrapper for underlying material implementation.
Our sample model: a stack of layers one below the other.
void addLayer(const Layer &layer)
Adds object to multilayer.
void addLayerWithTopRoughness(const Layer &layer, const LayerRoughness &roughness)
Adds layer with top roughness.