BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
CylindersBuilder.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Sample/StandardSamples/CylindersBuilder.h
6 //! @brief Defines classes of CylindersBuilder 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_CYLINDERSBUILDER_H
21 #define BORNAGAIN_SAMPLE_STANDARDSAMPLES_CYLINDERSBUILDER_H
22 
23 class MultiLayer;
24 
25 namespace ExemplarySamples {
26 
27 //! Builds sample: cylinder form factor in DWBA (IsGISAXS example #3, part I).
28 //! @ingroup standard_samples
30 
31 //! Builds sample: cylinder form factor in BA (IsGISAXS example #3, part II).
32 //! @ingroup standard_samples
33 MultiLayer* createCylindersInBA(double height = 5, double radius = 5);
34 
35 //! Builds sample with large cylinders for MC integration tests.
36 //! @ingroup standard_samples
37 MultiLayer* createLargeCylindersInDWBA(double height = 1000, double radius = 500);
38 
39 } // namespace ExemplarySamples
40 
41 #endif // BORNAGAIN_SAMPLE_STANDARDSAMPLES_CYLINDERSBUILDER_H
42 #endif // USER_API
Our sample model: a stack of layers one below the other.
Definition: MultiLayer.h:43
MultiLayer * createLargeCylindersInDWBA(double height=1000, double radius=500)
Builds sample with large cylinders for MC integration tests.
MultiLayer * createCylindersInDWBA()
Builds sample: cylinder form factor in DWBA (IsGISAXS example #3, part I).
MultiLayer * createCylindersInBA(double height=5, double radius=5)
Builds sample: cylinder form factor in BA (IsGISAXS example #3, part II).
Two boxes in particle composition rotated in X by 90 degrees.