BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
FixedBuilder.cpp
Go to the documentation of this file.
1
// ************************************************************************** //
2
//
3
// BornAgain: simulate and fit scattering at grazing incidence
4
//
5
//! @file Sample/SampleBuilderEngine/FixedBuilder.cpp
6
//! @brief Implements class FixedBuilder.
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
#include "
Sample/SampleBuilderEngine/FixedBuilder.h
"
16
#include "
Sample/Multilayer/MultiLayer.h
"
17
18
FixedBuilder::FixedBuilder(
const
MultiLayer
& sample) : m_sample(sample.clone()) {}
19
20
MultiLayer
* FixedBuilder::buildSample()
const
21
{
22
return
m_sample->clone();
23
}
FixedBuilder.h
Defines class FixedBuilder.
MultiLayer.h
Defines class MultiLayer.
MultiLayer
Our sample model: a stack of layers one below the other.
Definition:
MultiLayer.h:42
Sample
SampleBuilderEngine
FixedBuilder.cpp
Generated by
1.9.1