BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
SpecularMagneticNCStrategy.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Sample/Specular/SpecularMagneticNCStrategy.h
6 //! @brief Defines class SpecularMagneticNCStrategy.
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 #ifdef SWIG
16 #error no need to expose this header to Swig
17 #endif
18 
19 #ifndef USER_API
20 #ifndef BORNAGAIN_SAMPLE_SPECULAR_SPECULARMAGNETICNCSTRATEGY_H
21 #define BORNAGAIN_SAMPLE_SPECULAR_SPECULARMAGNETICNCSTRATEGY_H
22 
24 #include <memory>
25 #include <vector>
26 
27 //! Implements the magnetic Fresnel computation with Nevot-Croce roughness
28 //!
29 //! Implements the transfer matrix formalism for the calculation of wave
30 //! amplitudes of the coherent wave solution in a multilayer with magnetization.
31 //! For a description, see internal
32 //! document "Polarized Implementation of the Transfer Matrix Method"
33 //!
34 //! @ingroup algorithms_internal
36 private:
37  std::pair<Eigen::Matrix2cd, Eigen::Matrix2cd>
39  const MatrixRTCoefficients& coeff_i1, double sigma) const;
40 
41  virtual std::pair<Eigen::Matrix2cd, Eigen::Matrix2cd>
43  const MatrixRTCoefficients& coeff_i1, double sigma) const;
44 };
45 
46 #endif // BORNAGAIN_SAMPLE_SPECULAR_SPECULARMAGNETICNCSTRATEGY_H
47 #endif // USER_API
Defines class SpecularMagneticStrategy.
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 &coeff_i, const MatrixRTCoefficients &coeff_i1, double sigma) const
virtual std::pair< Eigen::Matrix2cd, Eigen::Matrix2cd > computeBackwardsSubmatrices(const MatrixRTCoefficients &coeff_i, const MatrixRTCoefficients &coeff_i1, double sigma) const
Implements the magnetic Fresnel computation with Nevot-Croce roughness.