BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
SpecularMagneticNewNCStrategy.h
Go to the documentation of this file.
1 // ************************************************************************** //
2 //
3 // BornAgain: simulate and fit scattering at grazing incidence
4 //
5 //! @file Sample/Specular/SpecularMagneticNewNCStrategy.h
6 //! @brief Defines class SpecularMagneticNewNCStrategy.
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_SPECULARMAGNETICNEWNCSTRATEGY_H
16 #define BORNAGAIN_CORE_MULTILAYER_SPECULARMAGNETICNEWNCSTRATEGY_H
17 
19 #include <memory>
20 #include <vector>
21 
22 //! Implements the magnetic Fresnel computation with Nevot-Croce roughness
23 //!
24 //! Implements the transfer matrix formalism for the calculation of wave
25 //! amplitudes of the coherent wave solution in a multilayer with magnetization.
26 //! For a description, see internal
27 //! document "Polarized Implementation of the Transfer Matrix Method"
28 //!
29 //! @ingroup algorithms_internal
31 {
32 private:
33  std::pair<Eigen::Matrix2cd, Eigen::Matrix2cd>
35  const MatrixRTCoefficients_v3& coeff_i1, double sigma) const;
36 
37  virtual std::pair<Eigen::Matrix2cd, Eigen::Matrix2cd>
39  const MatrixRTCoefficients_v3& coeff_i1, double sigma) const;
40 };
41 
42 #endif // BORNAGAIN_CORE_MULTILAYER_SPECULARMAGNETICNEWNCSTRATEGY_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.
std::pair< Eigen::Matrix2cd, Eigen::Matrix2cd > computeRoughnessMatrices(const MatrixRTCoefficients_v3 &coeff_i, const MatrixRTCoefficients_v3 &coeff_i1, double sigma) const
virtual std::pair< Eigen::Matrix2cd, Eigen::Matrix2cd > computeBackwardsSubmatrices(const MatrixRTCoefficients_v3 &coeff_i, const MatrixRTCoefficients_v3 &coeff_i1, double sigma) const
Implements the magnetic Fresnel computation with Nevot-Croce roughness.