BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
BoxCompositionBuilder.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Sample/StandardSamples/BoxCompositionBuilder.h
6 //! @brief Defines classes of BoxCompositionBuilder family.
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_BOXCOMPOSITIONBUILDER_H
21 #define BORNAGAIN_SAMPLE_STANDARDSAMPLES_BOXCOMPOSITIONBUILDER_H
22 
24 
25 //! Two boxes in particle composition rotated in X by 90 degrees.
26 //! @ingroup standard_samples
27 
29 public:
30  MultiLayer* buildSample() const;
31 };
32 
33 //! Two boxes in particle composition rotated in Y by 90 degrees.
34 //! @ingroup standard_samples
35 
37 public:
38  MultiLayer* buildSample() const;
39 };
40 
41 //! Two boxes in particle composition rotated in Z by 90 degrees.
42 //! @ingroup standard_samples
43 
45 public:
46  MultiLayer* buildSample() const;
47 };
48 
49 //! Two boxes in particle composition rotated in Z and Y by 90 degrees.
50 //! @ingroup standard_samples
51 
53 public:
54  MultiLayer* buildSample() const;
55 };
56 
57 //! Two different boxes are first rotated and then composed, composition is then rotated.
58 //! @ingroup standard_samples
59 
61 public:
62  MultiLayer* buildSample() const;
63 };
64 
65 #endif // BORNAGAIN_SAMPLE_STANDARDSAMPLES_BOXCOMPOSITIONBUILDER_H
66 #endif // USER_API
Defines interface ISampleBuilder.
Two boxes in particle composition rotated in X by 90 degrees.
Two boxes in particle composition rotated in Y by 90 degrees.
Two boxes in particle composition rotated in Z by 90 degrees.
Two boxes in particle composition rotated in Z and Y by 90 degrees.
Two different boxes are first rotated and then composed, composition is then rotated.
Interface to the class capable to build samples to simulate.
Our sample model: a stack of layers one below the other.
Definition: MultiLayer.h:41