BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ParticleInVacuumBuilder.h
Go to the documentation of this file.
1
// ************************************************************************** //
2
//
3
// BornAgain: simulate and fit scattering at grazing incidence
4
//
5
//! @file Sample/StandardSamples/ParticleInVacuumBuilder.h
6
//! @brief Defines class ParticleInVacuumBuilder.
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_PARTICLEINVACUUMBUILDER_H
16
#define BORNAGAIN_CORE_STANDARDSAMPLES_PARTICLEINVACUUMBUILDER_H
17
18
#include "
Sample/SampleBuilderEngine/ISampleBuilder.h
"
19
#include <memory>
20
21
class
IFormFactor
;
22
23
//! The ParticleInVacuumBuilder class generates a multilayer with single vacuum layer
24
//! populated with particles of certain types.
25
//! Requires IComponentService which generates form factors, used for bulk form factors testing.
26
//! @ingroup standard_samples
27
28
class
ParticleInVacuumBuilder
:
public
ISampleBuilder
29
{
30
public
:
31
ParticleInVacuumBuilder
();
32
virtual
MultiLayer
* buildSample()
const
;
33
34
MultiLayer
* createSampleByIndex(
size_t
index);
35
size_t
size();
36
37
protected
:
38
std::unique_ptr<IFormFactor> m_ff;
39
};
40
41
#endif
// BORNAGAIN_CORE_STANDARDSAMPLES_PARTICLEINVACUUMBUILDER_H
ISampleBuilder.h
Defines pure virtual base class ISampleBuilder.
IFormFactor
Pure virtual base class for all form factors.
Definition:
IFormFactor.h:40
ISampleBuilder
Interface to the class capable to build samples to simulate.
Definition:
ISampleBuilder.h:26
MultiLayer
Our sample model: a stack of layers one below the other.
Definition:
MultiLayer.h:42
ParticleInVacuumBuilder
The ParticleInVacuumBuilder class generates a multilayer with single vacuum layer populated with part...
Definition:
ParticleInVacuumBuilder.h:29
Sample
StandardSamples
ParticleInVacuumBuilder.h
Generated by
1.9.1