19 : m_intensity(0.0), m_computable(computable),
20 m_kz_computation([kz](const std::vector<
Slice>& slices) {
28 : m_intensity(0.0), m_computable(computable),
37 : m_polarization(other.m_polarization), m_intensity(other.m_intensity),
38 m_computable(other.m_computable), m_kz_computation(other.m_kz_computation)
43 : m_polarization(std::move(other.m_polarization)), m_intensity(other.m_intensity),
44 m_computable(other.m_computable), m_kz_computation(std::move(other.m_kz_computation))
BasicVector3D< double > vecOfLambdaAlphaPhi(double _lambda, double _alpha, double _phi)
Creates a vector<double> as a wavevector with given wavelength and angles.
Declares functions in namespace KzComputation.
void swap(OutputDataIterator< TValue, TContainer > &left, OutputDataIterator< TValue, TContainer > &right)
make Swappable
Declares the class SpecularSimulationElement.
Convenience class for handling polarization density matrix and polarization analyzer operator.
void swapContent(PolarizationHandler &other)
Data structure containing the data of a single slice, for calculating the Fresnel coefficients.
Data stucture containing both input and output of a single image pixel for specular simulation.
std::vector< complex_t > produceKz(const std::vector< Slice > &slices)
Returns kz values for Abeles computation of reflection/transition coefficients.
SpecularSimulationElement(double kz, bool computable)
SpecularSimulationElement & operator=(const SpecularSimulationElement &other)
~SpecularSimulationElement()
void setPolarizationHandler(const PolarizationHandler &handler)
Assigns PolarizationHandler.
void swapContent(SpecularSimulationElement &other)
std::function< std::vector< complex_t >const std::vector< Slice > &)> m_kz_computation
double m_intensity
simulated intensity for detector cell
PolarizationHandler m_polarization
std::vector< complex_t > computeKzFromRefIndices(const std::vector< Slice > &slices, kvector_t k)
std::vector< complex_t > computeKzFromSLDs(const std::vector< Slice > &slices, double kz)
const double wavelength(0.154)