15 #ifndef BORNAGAIN_CORE_MULTILAYER_SPECULARSCALARSTRATEGY_H
16 #define BORNAGAIN_CORE_MULTILAYER_SPECULARSCALARSTRATEGY_H
38 virtual ISpecularStrategy::coeffs_t
Execute(
const std::vector<Slice>& slices,
41 virtual ISpecularStrategy::coeffs_t
Execute(
const std::vector<Slice>& slices,
42 const std::vector<complex_t>& kz)
const override;
45 virtual std::pair<complex_t, complex_t> transition(complex_t kzi, complex_t kzi1,
46 double sigma)
const = 0;
48 std::vector<ScalarRTCoefficients> computeTR(
const std::vector<Slice>& slices,
49 const std::vector<complex_t>& kz)
const;
51 static void setZeroBelow(std::vector<ScalarRTCoefficients>& coeff,
size_t current_layer);
53 void calculateUpFromLayer(std::vector<ScalarRTCoefficients>& coeff,
54 const std::vector<Slice>& slices,
55 const std::vector<complex_t>& kz)
const;
Defines and implements class ISpecularStrategy.
Defines class ScalarRTCoefficients.
Interface for the Fresnel computations, both in the scalar and magnetic case.
Data structure containing the data of a single slice, for calculating the Fresnel coefficients.
Implements the scalar Fresnel computation.
virtual ISpecularStrategy::coeffs_t Execute(const std::vector< Slice > &slices, const kvector_t &k) const override
Computes refraction angles and transmission/reflection coefficients for given coherent wave propagati...