15 #ifndef BORNAGAIN_CORE_MULTILAYER_SPECULARSCALARSTRATEGY_H
16 #define BORNAGAIN_CORE_MULTILAYER_SPECULARSCALARSTRATEGY_H
42 const std::vector<complex_t>& kz)
const override;
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);
54 const std::vector<Slice>& slices,
55 const std::vector<complex_t>& kz)
const;
std::complex< double > complex_t
Defines and implements class ISpecularStrategy.
Defines class ScalarRTCoefficients.
Interface for the Fresnel computations, both in the scalar and magnetic case.
std::vector< std::unique_ptr< const ILayerRTCoefficients > > coeffs_t
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...
std::vector< ScalarRTCoefficients > computeTR(const std::vector< Slice > &slices, const std::vector< complex_t > &kz) const
virtual std::pair< complex_t, complex_t > transition(complex_t kzi, complex_t kzi1, double sigma) const =0
void calculateUpFromLayer(std::vector< ScalarRTCoefficients > &coeff, const std::vector< Slice > &slices, const std::vector< complex_t > &kz) const
static void setZeroBelow(std::vector< ScalarRTCoefficients > &coeff, size_t current_layer)