BornAgain  1.19.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 reflection and scattering
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 #ifdef SWIG
16 #error no need to expose this header to Swig
17 #endif
18 
19 #ifndef USER_API
20 #ifndef BORNAGAIN_SAMPLE_STANDARDSAMPLES_RIPPLESBUILDER_H
21 #define BORNAGAIN_SAMPLE_STANDARDSAMPLES_RIPPLESBUILDER_H
22 
24 
25 //! Builds sample: cosine ripple within the 1D-paracrystal model.
26 //! @ingroup standard_samples
27 
29 public:
30  MultiLayer* buildSample() const;
31 };
32 
33 //! Builds sample: triangular ripple within the 1D-paracrystal model (from PRB 85, 235415, 2012).
34 //! @ingroup standard_samples
35 
37 public:
39  MultiLayer* buildSample() const;
40 
41 private:
42  double m_d;
43 };
44 
46 public:
47  MultiLayer* buildSample() const;
48 };
49 
50 #endif // BORNAGAIN_SAMPLE_STANDARDSAMPLES_RIPPLESBUILDER_H
51 #endif // USER_API
Defines interface 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:41
Builds sample: triangular ripple within the 1D-paracrystal model (from PRB 85, 235415,...
MultiLayer * buildSample() const