16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_SAMPLE_LEGACYRT_SPECULARMAGNETICSTRATEGY_V1_H
21 #define BORNAGAIN_SAMPLE_LEGACYRT_SPECULARMAGNETICSTRATEGY_V1_H
40 using coeffs_t = std::vector<coefficient_pointer_type>;
47 const std::vector<complex_t>& kz)
const;
49 virtual std::variant<complex_t, Eigen::Matrix2cd>
51 const std::vector<complex_t>& kz)
const override;
Defines and implements class ISpecularStrategy.
Defines class MatrixRTCoefficients_v1.
Interface for the Fresnel computations, both in the scalar and magnetic case.
std::vector< std::unique_ptr< const ILayerRTCoefficients > > coeffs_t
Specular reflection and transmission coefficients in a layer in case of 2x2 matrix interactions betwe...
Data structure containing the data of a single slice, for calculating the Fresnel coefficients.
Implements the matrix formalism for the calculation of wave amplitudes of the coherent wave solution ...
virtual std::variant< complex_t, Eigen::Matrix2cd > computeTopLayerR(const std::vector< Slice > &slices, const std::vector< complex_t > &kz) const override
ISpecularStrategy::coeffs_t Execute(const std::vector< Slice > &slices, const kvector_t &k) const
Computes refraction angle reflection/transmission coefficients for given sliced multilayer and waveve...
std::vector< coefficient_pointer_type > coeffs_t
std::unique_ptr< const coefficient_type > coefficient_pointer_type