BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
SlicedParticle.h
Go to the documentation of this file.
1
// ************************************************************************** //
2
//
3
// BornAgain: simulate and fit scattering at grazing incidence
4
//
5
//! @file Sample/Particle/SlicedParticle.h
6
//! @brief Defines class SlicedParticle.
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_PARTICLE_SLICEDPARTICLE_H
16
#define BORNAGAIN_CORE_PARTICLE_SLICEDPARTICLE_H
17
18
#include "
Sample/Particle/HomogeneousRegion.h
"
19
#include "
Sample/Scattering/IFormFactor.h
"
20
#include <memory>
21
22
//! Struct that contains information on a sliced particle.
23
//! This information is needed for evaluating the sliced form factor and the average of a material,
24
//! used in the Fresnel calculations.
25
//!
26
//! @ingroup intern
27
28
struct
SlicedParticle
{
29
std::unique_ptr<IFormFactor>
mP_slicedff
;
30
std::vector<HomogeneousRegion>
m_regions
;
31
};
32
33
#endif
// BORNAGAIN_CORE_PARTICLE_SLICEDPARTICLE_H
HomogeneousRegion.h
Defines struct HomogeneousRegion, and declares fct createAveragedMaterial.
IFormFactor.h
Defines and implements pure virtual interface IFormFactor.
SlicedParticle
Struct that contains information on a sliced particle.
Definition:
SlicedParticle.h:28
SlicedParticle::m_regions
std::vector< HomogeneousRegion > m_regions
Definition:
SlicedParticle.h:30
SlicedParticle::mP_slicedff
std::unique_ptr< IFormFactor > mP_slicedff
Definition:
SlicedParticle.h:29
Sample
Particle
SlicedParticle.h
Generated by
1.9.1