BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
MagneticLayersBuilder.h
Go to the documentation of this file.
1 // ************************************************************************** //
2 //
3 // BornAgain: simulate and fit scattering at grazing incidence
4 //
5 //! @file Sample/StandardSamples/MagneticLayersBuilder.h
6 //! @brief Defines class to build samples with magnetic layers
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_MAGNETICLAYERSBUILDER_H
16 #define BORNAGAIN_CORE_STANDARDSAMPLES_MAGNETICLAYERSBUILDER_H
17 
20 
21 //! Builds sample: spheres in substrate layer with a zero magnetic field.
22 //! @ingroup standard_samples
23 
25 {
26 public:
27  MultiLayer* buildSample() const;
28 };
29 
30 //! Builds sample: ambient and one magnetized layer on a non-magnetized substrate.
31 //! @ingroup standard_samples
32 
34 {
35 public:
36  MultiLayer* buildSample() const;
37 };
38 
39 //! Builds sample: magnetic spheres in a magnetized layer on a non-magnetized substrate.
40 //! @ingroup standard_samples
41 
43 {
44 public:
45  MultiLayer* buildSample() const;
46 };
47 
48 //! Builds sample: magnetic layer on a magnetic substrate with the fields rotated by 90°
49 //! @ingroup standard_samples
50 
52 {
53 public:
54  MultiLayer* buildSample() const override;
55 
56  MultiLayer* createSampleByIndex(size_t index) override;
57  size_t size() override;
58 };
59 
60 //! Builds sample: rotated magnetic spheres in substrate layer with a unit magnetic field.
61 //! @ingroup standard_samples
62 
64 {
65 public:
66  MultiLayer* buildSample() const;
67 };
68 
69 #endif // BORNAGAIN_CORE_STANDARDSAMPLES_MAGNETICLAYERSBUILDER_H
Defines pure virtual base class ISampleBuilder.
Define RoughnessModels enumerator and Python wrapper.
Interface to the class capable to build samples to simulate.
Builds sample: magnetic spheres in a magnetized layer on a non-magnetized substrate.
MultiLayer * buildSample() const
Builds sample: rotated magnetic spheres in substrate layer with a unit magnetic field.
MultiLayer * buildSample() const
Builds sample: spheres in substrate layer with a zero magnetic field.
Our sample model: a stack of layers one below the other.
Definition: MultiLayer.h:42
Builds sample: ambient and one magnetized layer on a non-magnetized substrate.
Builds sample: magnetic layer on a magnetic substrate with the fields rotated by 90°
MultiLayer * buildSample() const override
MultiLayer * createSampleByIndex(size_t index) override