BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Types | |
using | coeffs_t = std::vector< std::unique_ptr< const ILayerRTCoefficients > > |
Public Member Functions | |
virtual ISpecularStrategy::coeffs_t | Execute (const std::vector< Slice > &slices, const kvector_t &k) const override |
virtual ISpecularStrategy::coeffs_t | Execute (const std::vector< Slice > &slices, const std::vector< complex_t > &kz) const override |
Private Member Functions | |
virtual std::pair< complex_t, complex_t > | transition (complex_t kzi, complex_t kzi1, double sigma) const override |
std::vector< ScalarRTCoefficients > | computeTR (const std::vector< Slice > &slices, const std::vector< complex_t > &kz) const |
void | calculateUpFromLayer (std::vector< ScalarRTCoefficients > &coeff, const std::vector< Slice > &slices, const std::vector< complex_t > &kz) const |
Static Private Member Functions | |
static void | setZeroBelow (std::vector< ScalarRTCoefficients > &coeff, size_t current_layer) |
Implements an tanh transition function to model roughness in a scaler computation.
Implements the transition function that includes the analytical roughness model of an tanh interface transition in the computation of the coefficients for coherent wave propagation in a multilayer by applying modified Fresnel coefficients.
Definition at line 29 of file SpecularScalarTanhStrategy.h.
|
inherited |
Definition at line 40 of file ISpecularStrategy.h.
|
overrideprivatevirtual |
Roughness is modelled by tanh profile [see e.g. Phys. Rev. B, vol. 47 (8), p. 4385 (1993)].
Implements SpecularScalarStrategy.
Definition at line 26 of file SpecularScalarTanhStrategy.cpp.
References anonymous_namespace{SpecularScalarTanhStrategy.cpp}::pi2_15, and MathFunctions::tanhc().
|
overridevirtualinherited |
Computes refraction angles and transmission/reflection coefficients for given coherent wave propagation in a multilayer.
Implements ISpecularStrategy.
Definition at line 29 of file SpecularScalarStrategy.cpp.
References KzComputation::computeReducedKz().
|
overridevirtualinherited |
Implements ISpecularStrategy.
Definition at line 36 of file SpecularScalarStrategy.cpp.
References SpecularScalarStrategy::computeTR().
|
privateinherited |
Definition at line 50 of file SpecularScalarStrategy.cpp.
References SpecularScalarStrategy::calculateUpFromLayer().
Referenced by SpecularScalarStrategy::Execute().
|
staticprivateinherited |
Definition at line 74 of file SpecularScalarStrategy.cpp.
|
privateinherited |
Definition at line 83 of file SpecularScalarStrategy.cpp.
References exp_I(), anonymous_namespace{SpecularScalarStrategy.cpp}::GetBottomRoughness(), and SpecularScalarStrategy::transition().
Referenced by SpecularScalarStrategy::computeTR().