BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
SpecularMagneticOldStrategy.h
Go to the documentation of this file.
1 // ************************************************************************** //
2 //
3 // BornAgain: simulate and fit scattering at grazing incidence
4 //
5 //! @file Sample/Specular/SpecularMagneticOldStrategy.h
6 //! @brief Defines class SpecularMagneticOldStrategy.
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************** //
14 
15 #ifndef BORNAGAIN_CORE_MULTILAYER_SPECULARMAGNETICOLDSTRATEGY_H
16 #define BORNAGAIN_CORE_MULTILAYER_SPECULARMAGNETICOLDSTRATEGY_H
17 
20 #include <memory>
21 #include <vector>
22 
23 class Slice;
24 
25 //! Implements the matrix formalism for the calculation of wave amplitudes of
26 //! the coherent wave solution in a multilayer with magnetization.
27 //! @ingroup algorithms_internal
28 
30 {
31 public:
32  //! Computes refraction angle reflection/transmission coefficients
33  //! for given sliced multilayer and wavevector k
34  coeffs_t Execute(const std::vector<Slice>& slices, const kvector_t& k) const;
35 
36  coeffs_t Execute(const std::vector<Slice>& slices, const std::vector<complex_t>& kz) const;
37 
38 }; // class SpecularMagneticOldStrategy
39 
40 #endif // BORNAGAIN_CORE_MULTILAYER_SPECULARMAGNETICOLDSTRATEGY_H
Defines and implements class ISpecularStrategy.
Defines class MatrixRTCoefficients.
Interface for the Fresnel computations, both in the scalar and magnetic case.
std::vector< std::unique_ptr< const ILayerRTCoefficients > > coeffs_t
Data structure containing the data of a single slice, for calculating the Fresnel coefficients.
Definition: Slice.h:28
Implements the matrix formalism for the calculation of wave amplitudes of the coherent wave solution ...
coeffs_t Execute(const std::vector< Slice > &slices, const kvector_t &k) const
Computes refraction angle reflection/transmission coefficients for given sliced multilayer and waveve...