16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEDWBAPOL_H
21 #define BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEDWBAPOL_H
45 void setSpecularInfo(std::unique_ptr<const ILayerRTCoefficients> p_in_coeffs,
46 std::unique_ptr<const ILayerRTCoefficients> p_out_coeffs)
override;
std::complex< double > complex_t
Defines and implements interface IFormFactor.
Provides polarized DWBA computation for given IFormFactor.
ComputeDWBAPol * clone() const override
Eigen::Matrix2cd evaluatePol(const WavevectorInfo &wavevectors) const override
Returns the coherent sum of the four DWBA terms for polarized scattering.
void setSpecularInfo(std::unique_ptr< const ILayerRTCoefficients > p_in_coeffs, std::unique_ptr< const ILayerRTCoefficients > p_out_coeffs) override
Sets reflection/transmission info.
std::unique_ptr< const ILayerRTCoefficients > m_in_coeffs
complex_t evaluate(const WavevectorInfo &wavevectors) const override
Throws not-implemented exception.
~ComputeDWBAPol() override
friend class TestPolarizedDWBATerms
std::unique_ptr< const ILayerRTCoefficients > m_out_coeffs
ComputeDWBAPol(const IFormFactor &ff)
Abstract base class for form factor evaluations.
Interface to access reflection/transmission coefficients.
Holds all wavevector information relevant for calculating form factors.