BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
quicksimutils.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file gui2/quicksimeditor/quicksimutils.h
6 //! @brief Defines class CLASS?
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2020
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI2_QUICKSIMEDITOR_QUICKSIMUTILS_H
16 #define BORNAGAIN_GUI2_QUICKSIMEDITOR_QUICKSIMUTILS_H
17 
18 #include "darefl_export.h"
20 
21 class Slice;
22 
23 namespace gui2 {
24 
25 class MultiLayerItem;
26 
27 //! Collection of utility functions for running quick simulations.
28 namespace Utils {
29 
30 //! Creates multi-slice presentation of internal multilayer structure.
31 DAREFLCORE_EXPORT multislice_t CreateMultiSlice(const MultiLayerItem& multilayer);
32 
33 DAREFLCORE_EXPORT std::vector<Slice> createBornAgainSlices(const multislice_t& multislice);
34 
35 } // namespace Utils
36 
37 } // namespace gui2
38 
39 #endif // BORNAGAIN_GUI2_QUICKSIMEDITOR_QUICKSIMUTILS_H
Data structure containing the data of a single slice, for calculating the Fresnel coefficients.
Definition: Slice.h:32
DAREFLCORE_EXPORT std::vector< Slice > createBornAgainSlices(const multislice_t &multislice)
DAREFLCORE_EXPORT multislice_t CreateMultiSlice(const MultiLayerItem &multilayer)
Creates multi-slice presentation of internal multilayer structure.
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.
Definition: app_constants.h:20
std::vector< SliceData > multislice_t
Defines class CLASS?