BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
RipplesBuilder.h
Go to the documentation of this file.
1 // ************************************************************************** //
2 //
3 // BornAgain: simulate and fit scattering at grazing incidence
4 //
5 //! @file Sample/StandardSamples/RipplesBuilder.h
6 //! @brief Defines classes to build various ripples.
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_RIPPLESBUILDER_H
16 #define BORNAGAIN_CORE_STANDARDSAMPLES_RIPPLESBUILDER_H
17 
19 
20 //! Builds sample: cosine ripple within the 1D-paracrystal model.
21 //! @ingroup standard_samples
22 
24 {
25 public:
26  MultiLayer* buildSample() const;
27 };
28 
29 //! Builds sample: triangular ripple within the 1D-paracrystal model (from PRB 85, 235415, 2012).
30 //! @ingroup standard_samples
31 
33 {
34 public:
36  MultiLayer* buildSample() const;
37 
38 private:
39  double m_d;
40 };
41 
43 {
44 public:
45  MultiLayer* buildSample() const;
46 };
47 
48 #endif // BORNAGAIN_CORE_STANDARDSAMPLES_RIPPLESBUILDER_H
Defines pure virtual base class ISampleBuilder.
MultiLayer * buildSample() const
Builds sample: cosine ripple within the 1D-paracrystal model.
MultiLayer * buildSample() const
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: triangular ripple within the 1D-paracrystal model (from PRB 85, 235415,...
MultiLayer * buildSample() const