BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
SpecularScalarTanhStrategy.h
Go to the documentation of this file.
1
// ************************************************************************** //
2
//
3
// BornAgain: simulate and fit scattering at grazing incidence
4
//
5
//! @file Sample/Specular/SpecularScalarTanhStrategy.h
6
//! @brief Defines class SpecularScalarTanhStrategy.
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_SPECULARSCALARTANHSTRATEGY_H
16
#define BORNAGAIN_CORE_MULTILAYER_SPECULARSCALARTANHSTRATEGY_H
17
18
#include "
Sample/Specular/SpecularScalarStrategy.h
"
19
20
class
Slice
;
21
22
//! Implements an tanh transition function to model roughness in a scaler computation.
23
//!
24
//! Implements the transition function that includes the analytical roughness model
25
//! of an tanh interface transition in the computation of the coefficients for
26
//! coherent wave propagation in a multilayer by applying modified Fresnel coefficients.
27
//!
28
//! @ingroup algorithms_internal
29
class
SpecularScalarTanhStrategy
:
public
SpecularScalarStrategy
30
{
31
private
:
32
//! Roughness is modelled by tanh profile [see e.g. Phys. Rev. B, vol. 47 (8), p. 4385 (1993)].
33
virtual
std::pair<complex_t, complex_t> transition(complex_t kzi, complex_t kzi1,
34
double
sigma)
const override
;
35
};
36
37
#endif
// BORNAGAIN_CORE_MULTILAYER_SPECULARSCALARTANHSTRATEGY_H
SpecularScalarStrategy.h
Defines class SpecularScalarStrategy.
Slice
Data structure containing the data of a single slice, for calculating the Fresnel coefficients.
Definition:
Slice.h:28
SpecularScalarStrategy
Implements the scalar Fresnel computation.
Definition:
SpecularScalarStrategy.h:34
SpecularScalarTanhStrategy
Implements an tanh transition function to model roughness in a scaler computation.
Definition:
SpecularScalarTanhStrategy.h:30
Sample
Specular
SpecularScalarTanhStrategy.h
Generated by
1.9.1