15 #ifndef BORNAGAIN_CORE_STANDARDSAMPLES_PLAINMULTILAYERBYSLDBUILDER_H
16 #define BORNAGAIN_CORE_STANDARDSAMPLES_PLAINMULTILAYERBYSLDBUILDER_H
Defines pure virtual base class ISampleBuilder.
Interface to the class capable to build samples to simulate.
Our sample model: a stack of layers one below the other.
Builds a sample with 10 interchanging homogeneous layers of Ti and Ni on silicone substrate.
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}