BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
PlainMultiLayerBySLDBuilder.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Sample/StandardSamples/PlainMultiLayerBySLDBuilder.h
6 //! @brief Declares the class PlainMultiLayerBySLDBuilder.
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifdef SWIG
16 #error no need to expose this header to Swig
17 #endif
18 
19 #ifndef USER_API
20 #ifndef BORNAGAIN_SAMPLE_STANDARDSAMPLES_PLAINMULTILAYERBYSLDBUILDER_H
21 #define BORNAGAIN_SAMPLE_STANDARDSAMPLES_PLAINMULTILAYERBYSLDBUILDER_H
22 
23 class MultiLayer;
24 
25 
26 //! Builds a sample with 10 interchanging homogeneous layers of Ti and Ni on silicone substrate.
27 //! Ti is 70 angstroms thick, Ni is 30 angstroms thick.
28 //! @ingroup standard_samples
29 
30 namespace ExemplarySamples {
31 
32 MultiLayer* createPlainMultiLayerBySLD(int n_layers = 10, double thick_ti = 3.0);
33 
34 } // namespace ExemplarySamples
35 
36 #endif // BORNAGAIN_SAMPLE_STANDARDSAMPLES_PLAINMULTILAYERBYSLDBUILDER_H
37 #endif // USER_API
Our sample model: a stack of layers one below the other.
Definition: MultiLayer.h:43
Two boxes in particle composition rotated in X by 90 degrees.
MultiLayer * createPlainMultiLayerBySLD(int n_layers=10, double thick_ti=3.0)