15 #ifndef BORNAGAIN_CORE_MULTILAYER_SPECULARMAGNETICSTRATEGY_H
16 #define BORNAGAIN_CORE_MULTILAYER_SPECULARMAGNETICSTRATEGY_H
42 const std::vector<complex_t>& kz)
const;
45 static std::vector<MatrixRTCoefficients_v2>
computeTR(
const std::vector<Slice>& slices,
46 const std::vector<complex_t>& kzs);
62 const std::vector<Slice>& slices);
67 static std::pair<Eigen::Matrix2cd, complex_t>
Defines and implements class ISpecularStrategy.
Defines class MatrixRTCoefficients_v2.
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 magnetic interactions between...
Data structure containing the data of a single slice, for calculating the Fresnel coefficients.
Implements the magnetic Fresnel computation without roughness.
static void calculateZeroFieldTR(MatrixRTCoefficients_v2 &coeff)
static std::vector< MatrixRTCoefficients_v2 > computeTR(const std::vector< Slice > &slices, const std::vector< complex_t > &kzs)
static void nullifyBottomReflection(MatrixRTCoefficients_v2 &coeff)
initializes reflectionless bottom boundary condition.
static void setNoTransmission(MatrixRTCoefficients_v2 &coeff)
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...
static void calculateTR(MatrixRTCoefficients_v2 &coeff)
Computes frobenius matrices for multilayer solution.
static void propagateBackwardsForwards(std::vector< MatrixRTCoefficients_v2 > &coeff, const std::vector< Slice > &slices)
Propagates boundary conditions from the bottom to the top of the layer stack.
static std::pair< Eigen::Matrix2cd, complex_t > findNormalizationCoefficients(const MatrixRTCoefficients_v2 &coeff)
finds linear coefficients for normalizing transmitted wave to unity.