BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Data stucture containing both input and output of a single image pixel for specular simulation. More...
Public Member Functions | |
SpecularSimulationElement (const SpecularSimulationElement &other) | |
SpecularSimulationElement (double kz, const Instrument &instrument, bool computable) | |
SpecularSimulationElement (double wavelength, double alpha, const Instrument &instrument, bool computable) | |
SpecularSimulationElement (SpecularSimulationElement &&other) noexcept | |
~SpecularSimulationElement () | |
double | intensity () const |
bool | isCalculated () const |
Returns calculation flag (if it's false, zero intensity is assigned to the element) More... | |
SpecularSimulationElement & | operator= (const SpecularSimulationElement &other)=delete |
const PolarizationHandler & | polarizationHandler () const |
Returns assigned PolarizationHandler. More... | |
std::vector< complex_t > | produceKz (const std::vector< Slice > &slices) |
Returns kz values for Abeles computation of reflection/transition coefficients. More... | |
void | setIntensity (double intensity) |
Private Attributes | |
const bool | m_computable |
double | m_intensity |
simulated intensity for detector cell More... | |
const std::function< std::vector< complex_t >const std::vector< Slice > &)> | m_kz_computation |
const PolarizationHandler | m_polarization |
Data stucture containing both input and output of a single image pixel for specular simulation.
Definition at line 34 of file SpecularSimulationElement.h.
SpecularSimulationElement::SpecularSimulationElement | ( | double | kz, |
const Instrument & | instrument, | ||
bool | computable | ||
) |
Definition at line 20 of file SpecularSimulationElement.cpp.
References KzComputation::computeKzFromSLDs().
SpecularSimulationElement::SpecularSimulationElement | ( | double | wavelength, |
double | alpha, | ||
const Instrument & | instrument, | ||
bool | computable | ||
) |
Definition at line 32 of file SpecularSimulationElement.cpp.
References KzComputation::computeKzFromRefIndices().
SpecularSimulationElement::SpecularSimulationElement | ( | const SpecularSimulationElement & | other | ) |
Definition at line 45 of file SpecularSimulationElement.cpp.
|
noexcept |
Definition at line 53 of file SpecularSimulationElement.cpp.
|
default |
|
inline |
Definition at line 50 of file SpecularSimulationElement.h.
References m_intensity.
Referenced by setIntensity().
|
inline |
Returns calculation flag (if it's false, zero intensity is assigned to the element)
Definition at line 54 of file SpecularSimulationElement.h.
References m_computable.
Referenced by SpecularComputationTerm::computeIntensity().
|
delete |
|
inline |
Returns assigned PolarizationHandler.
Definition at line 48 of file SpecularSimulationElement.h.
References m_polarization.
std::vector< complex_t > SpecularSimulationElement::produceKz | ( | const std::vector< Slice > & | slices | ) |
Returns kz values for Abeles computation of reflection/transition coefficients.
Definition at line 63 of file SpecularSimulationElement.cpp.
References m_kz_computation.
Referenced by SpecularScalarTerm::eval(), and SpecularMatrixTerm::eval().
|
inline |
Definition at line 51 of file SpecularSimulationElement.h.
References intensity(), and m_intensity.
Referenced by SpecularScalarTerm::eval(), and SpecularMatrixTerm::eval().
|
private |
Definition at line 62 of file SpecularSimulationElement.h.
Referenced by isCalculated().
|
private |
simulated intensity for detector cell
Definition at line 61 of file SpecularSimulationElement.h.
Referenced by intensity(), and setIntensity().
|
private |
Definition at line 63 of file SpecularSimulationElement.h.
Referenced by produceKz().
|
private |
Definition at line 60 of file SpecularSimulationElement.h.
Referenced by polarizationHandler().