BornAgain  1.19.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 reflection and scattering
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 #ifdef SWIG
16 #error no need to expose this header to Swig
17 #endif
18 
19 #ifndef USER_API
20 #ifndef BORNAGAIN_SAMPLE_STANDARDSAMPLES_PARACRYSTALBUILDER_H
21 #define BORNAGAIN_SAMPLE_STANDARDSAMPLES_PARACRYSTALBUILDER_H
22 
24 #include <memory>
25 
26 class IFTDistribution2D;
28 
29 //! @ingroup standard_samples
30 //! Builds sample: cylinders with 1DDL structure factor (IsGISAXS example #4).
31 
33 public:
34  MultiLayer* buildSample() const;
35 };
36 
37 //! Builds sample: basic two dimensional paracrystal with various probability
38 //! distribution functions (PDF's). They are initialized via component service.
39 //! @ingroup standard_samples
40 
42 public:
45  MultiLayer* buildSample() const;
46 
47  MultiLayer* createSampleByIndex(size_t index);
48 
49 private:
50  std::unique_ptr<IFTDistribution2D> m_pdf1;
51  std::unique_ptr<IFTDistribution2D> m_pdf2;
52 };
53 
54 //! Builds sample: cylinders with 2DDL structure factor (IsGISAXS example #4).
55 //! @ingroup standard_samples
56 
58 public:
59  MultiLayer* buildSample() const;
60 };
61 
62 //! @ingroup standard_samples
63 //! Builds sample: 2D paracrystal lattice (IsGISAXS example #8).
64 
66 public:
67  MultiLayer* buildSample() const;
68 };
69 
70 #endif // BORNAGAIN_SAMPLE_STANDARDSAMPLES_PARACRYSTALBUILDER_H
71 #endif // USER_API
Defines interface 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:41
Builds sample: cylinders with 1DDL structure factor (IsGISAXS example #4).
MultiLayer * buildSample() const
Builds sample: 2D paracrystal lattice (IsGISAXS example #8).
MultiLayer * buildSample() const