BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ParaCrystalBuilder.h
Go to the documentation of this file.
1 // ************************************************************************** //
2 //
3 // BornAgain: simulate and fit scattering at grazing incidence
4 //
5 //! @file Sample/StandardSamples/ParaCrystalBuilder.h
6 //! @brief Defines classes of ParaCrystalBuilder 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 #ifndef BORNAGAIN_CORE_STANDARDSAMPLES_PARACRYSTALBUILDER_H
16 #define BORNAGAIN_CORE_STANDARDSAMPLES_PARACRYSTALBUILDER_H
17 
19 #include <memory>
20 
21 class IFTDistribution2D;
23 
24 //! @ingroup standard_samples
25 //! Builds sample: cylinders with 1DDL structure factor (IsGISAXS example #4).
26 
28 {
29 public:
30  MultiLayer* buildSample() const;
31 };
32 
33 //! Builds sample: basic two dimensional paracrystal with various probability
34 //! distribution functions (PDF's). They are initialized via component service.
35 //! @ingroup standard_samples
36 
38 {
39 public:
42  MultiLayer* buildSample() const;
43 
44  MultiLayer* createSampleByIndex(size_t index);
45 
46 private:
47  std::unique_ptr<IFTDistribution2D> m_pdf1;
48  std::unique_ptr<IFTDistribution2D> m_pdf2;
49 };
50 
51 //! Builds sample: cylinders with 2DDL structure factor (IsGISAXS example #4).
52 //! @ingroup standard_samples
53 
55 {
56 public:
57  MultiLayer* buildSample() const;
58 };
59 
60 //! @ingroup standard_samples
61 //! Builds sample: 2D paracrystal lattice (IsGISAXS example #8).
62 
64 {
65 public:
66  MultiLayer* buildSample() const;
67 };
68 
69 #endif // BORNAGAIN_CORE_STANDARDSAMPLES_PARACRYSTALBUILDER_H
Defines pure virtual base class ISampleBuilder.
Builds sample: basic two dimensional paracrystal with various probability distribution functions (PDF...
std::unique_ptr< IFTDistribution2D > m_pdf2
MultiLayer * createSampleByIndex(size_t index)
MultiLayer * buildSample() const
std::unique_ptr< IFTDistribution2D > m_pdf1
Predefined Fourier transformed distributions for functional tests.
Builds sample: cylinders with 2DDL structure factor (IsGISAXS example #4).
MultiLayer * buildSample() const
Interface for two-dimensional distributions in Fourier space.
Interface to the class capable to build samples to simulate.
Our sample model: a stack of layers one below the other.
Definition: MultiLayer.h:42
Builds sample: cylinders with 1DDL structure factor (IsGISAXS example #4).
MultiLayer * buildSample() const
Builds sample: 2D paracrystal lattice (IsGISAXS example #8).
MultiLayer * buildSample() const