BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
SpecularMagneticNewTanhStrategy.h
Go to the documentation of this file.
1 // ************************************************************************** //
2 //
3 // BornAgain: simulate and fit scattering at grazing incidence
4 //
5 //! @file Sample/Specular/SpecularMagneticNewTanhStrategy.h
6 //! @brief Defines class SpecularMagneticNewTanhStrategy.
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2020
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************** //
14 
15 #ifndef BORNAGAIN_CORE_MULTILAYER_SPECULARMAGNETICNEWTANHSTRATEGY_H
16 #define BORNAGAIN_CORE_MULTILAYER_SPECULARMAGNETICNEWTANHSTRATEGY_H
17 
19 
20 //! Implements the magnetic Fresnel computation with the analytical Tanh roughness
21 //!
22 //! Implements the transfer matrix formalism for the calculation of wave
23 //! amplitudes of the coherent wave solution in a multilayer with magnetization.
24 //! For a description, see internal
25 //! document "Polarized Implementation of the Transfer Matrix Method"
26 //!
27 //! @ingroup algorithms_internal
29 {
30 private:
31  virtual std::pair<Eigen::Matrix2cd, Eigen::Matrix2cd>
33  const MatrixRTCoefficients_v3& coeff_i1, double sigma) const;
34 
35  Eigen::Matrix2cd computeRoughnessMatrix(const MatrixRTCoefficients_v3& coeff, double sigma,
36  bool inverse = false) const;
37 };
38 
39 #endif // BORNAGAIN_CORE_MULTILAYER_SPECULARMAGNETICNEWTANHSTRATEGY_H
Defines class SpecularMagneticNewStrategy.
Specular reflection and transmission coefficients in a layer in case of magnetic interactions between...
Implements the magnetic Fresnel computation with Nevot-Croce roughness.
Implements the magnetic Fresnel computation with the analytical Tanh roughness.
Eigen::Matrix2cd computeRoughnessMatrix(const MatrixRTCoefficients_v3 &coeff, double sigma, bool inverse=false) const
virtual std::pair< Eigen::Matrix2cd, Eigen::Matrix2cd > computeBackwardsSubmatrices(const MatrixRTCoefficients_v3 &coeff_i, const MatrixRTCoefficients_v3 &coeff_i1, double sigma) const