BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
MultiLayerWithNCRoughnessBuilder.cpp
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Sample/StandardSamples/MultiLayerWithNCRoughnessBuilder.cpp
6 //! @brief Implement class MultiLayerWithNCRoughnessBuilder.
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 
18 
20 {
21  auto* sample = createMultiLayerWithRoughness();
22  sample->setRoughnessModel(RoughnessModel::NEVOT_CROCE);
23  return sample;
24 }
Defines class LayerRoughness.
Defines class MultiLayerWithNCRoughnessBuilder.
Defines class MultiLayer.
Our sample model: a stack of layers one below the other.
Definition: MultiLayer.h:43
MultiLayer * createMultiLayerWithRoughness()