BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
SampleToCore.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/Model/ToCore/SampleToCore.h
6 //! @brief Defines namespace GUI::Transform::ToCore
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_GUI_MODEL_TOCORE_SAMPLETOCORE_H
16 #define BORNAGAIN_GUI_MODEL_TOCORE_SAMPLETOCORE_H
17 
18 #include <memory>
19 #include <variant>
20 
21 class LayerItem;
22 class MultiLayerItem;
23 class MultiLayer;
25 class LayerRoughness;
26 
28 
29 std::unique_ptr<MultiLayer> itemToSample(const MultiLayerItem& item);
30 
31 } // namespace GUI::Transform::ToCore
32 
33 #endif // BORNAGAIN_GUI_MODEL_TOCORE_SAMPLETOCORE_H
Contains functions to build the domain simulation from instrument and sample models.
Definition: SampleToCore.h:27
std::unique_ptr< MultiLayer > itemToSample(const MultiLayerItem &item)