BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
SlicedCylindersBuilder.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Sample/StandardSamples/SlicedCylindersBuilder.h
6 //! @brief Defines classes for testing slicing machinery.
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_SLICEDCYLINDERSBUILDER_H
21 #define BORNAGAIN_SAMPLE_STANDARDSAMPLES_SLICEDCYLINDERSBUILDER_H
22 
24 
25 //! Builds sample: cylinders on a silicon substrate
26 //! @ingroup standard_samples
27 
29 public:
30  MultiLayer* buildSample() const;
31 };
32 
33 //! Provides exactly the same sample as SlicedCylindersBuilder, but with
34 //! sld-based materials. Assumed wavelength is 1.54 Angstrom.
35 //! @ingroup standard_samples
36 
38 public:
39  MultiLayer* buildSample() const;
40 };
41 
42 //! Provides exactly the same sample as SLDSlicedCylindersBuilder, but with
43 //! cylinders represented as homogeneous layers. SLD-based materials used.
44 //! Assumed wavelength is 1.54 Angstrom.
45 //! @ingroup standard_samples
46 
48 public:
49  MultiLayer* buildSample() const;
50 };
51 
52 #endif // BORNAGAIN_SAMPLE_STANDARDSAMPLES_SLICEDCYLINDERSBUILDER_H
53 #endif // USER_API
Defines interface ISampleBuilder.
Provides exactly the same sample as SLDSlicedCylindersBuilder, but with cylinders represented as homo...
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
Provides exactly the same sample as SlicedCylindersBuilder, but with sld-based materials.
Builds sample: cylinders on a silicon substrate.
MultiLayer * buildSample() const