BornAgain
1.19.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 reflection and scattering
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
#ifdef SWIG
16
#error no need to expose this header to Swig
17
#endif
18
19
#ifndef USER_API
20
#ifndef BORNAGAIN_SAMPLE_PARTICLE_SLICEDPARTICLE_H
21
#define BORNAGAIN_SAMPLE_PARTICLE_SLICEDPARTICLE_H
22
23
#include "
Sample/Particle/HomogeneousRegion.h
"
24
#include "
Sample/Scattering/IFormFactor.h
"
25
#include <memory>
26
27
//! Struct that contains information on a sliced particle.
28
//! This information is needed for evaluating the sliced form factor and the average of a material,
29
//! used in the Fresnel calculations.
30
//!
31
//! @ingroup intern
32
33
struct
SlicedParticle
{
34
std::unique_ptr<IFormFactor>
m_slicedff
;
35
std::vector<HomogeneousRegion>
m_regions
;
36
};
37
38
#endif
// BORNAGAIN_SAMPLE_PARTICLE_SLICEDPARTICLE_H
39
#endif
// USER_API
HomogeneousRegion.h
Defines struct HomogeneousRegion, and declares fct createAveragedMaterial.
IFormFactor.h
Defines and implements interface IFormFactor.
SlicedParticle
Struct that contains information on a sliced particle.
Definition:
SlicedParticle.h:33
SlicedParticle::m_regions
std::vector< HomogeneousRegion > m_regions
Definition:
SlicedParticle.h:35
SlicedParticle::m_slicedff
std::unique_ptr< IFormFactor > m_slicedff
Definition:
SlicedParticle.h:34
Sample
Particle
SlicedParticle.h
Generated by
1.9.1