BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
TransitionMagneticTanh.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Resample/Specular/TransitionMagneticTanh.h
6 //! @brief Defines namespace TransitionMagneticTanh.
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_RESAMPLE_SPECULAR_TRANSITIONMAGNETICTANH_H
21 #define BORNAGAIN_RESAMPLE_SPECULAR_TRANSITIONMAGNETICTANH_H
22 
23 #include "Base/Spin/SpinMatrix.h"
24 #include <utility>
25 
26 class MatrixFlux;
27 
28 //! Implements the magnetic Fresnel computation with the analytical Tanh roughness
29 //!
30 //! Implements the transfer matrix formalism for the calculation of wave
31 //! amplitudes of the coherent wave solution in a sample with magnetization.
32 //! For a description, see internal
33 //! document "Polarized Implementation of the Transfer Matrix Method"
34 
36 
37 std::pair<SpinMatrix, SpinMatrix> backwardsSubmatrices(const MatrixFlux& coeff_i,
38  const MatrixFlux& coeff_i1, double sigma);
39 }
40 
41 #endif // BORNAGAIN_RESAMPLE_SPECULAR_TRANSITIONMAGNETICTANH_H
42 #endif // USER_API
Defines class SpinMatrix.
Specular reflection and transmission coefficients in a layer in case of magnetic interactions between...
Definition: MatrixFlux.h:32
Implements the magnetic Fresnel computation with the analytical Tanh roughness.
std::pair< SpinMatrix, SpinMatrix > backwardsSubmatrices(const MatrixFlux &coeff_i, const MatrixFlux &coeff_i1, double sigma)