BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Implements the scalar Fresnel computation. More...
Public Types | |
using | coefficient_pointer_type = std::unique_ptr< const coefficient_type > |
using | coefficient_type = ScalarRTCoefficients |
using | coeffs_t = std::vector< coefficient_pointer_type > |
Public Member Functions | |
virtual std::variant< complex_t, Eigen::Matrix2cd > | computeTopLayerR (const std::vector< Slice > &slices, const std::vector< complex_t > &kz) const override |
Computes the Fresnel R coefficient for the top layer only Introduced in order to speed up pure reflectivity computations. More... | |
virtual ISpecularStrategy::coeffs_t | Execute (const std::vector< Slice > &slices, const kvector_t &k) const override |
Computes refraction angles and transmission/reflection coefficients for given coherent wave propagation in a multilayer. More... | |
virtual ISpecularStrategy::coeffs_t | Execute (const std::vector< Slice > &slices, const std::vector< complex_t > &kz) const override |
Private Member Functions | |
void | calculateUpFromLayer (std::vector< ScalarRTCoefficients > &coeff, const std::vector< Slice > &slices, const std::vector< complex_t > &kz) const |
std::vector< ScalarRTCoefficients > | computeTR (const std::vector< Slice > &slices, const std::vector< complex_t > &kz) const |
virtual std::pair< complex_t, complex_t > | transition (complex_t kzi, complex_t kzi1, double sigma) const =0 |
Static Private Member Functions | |
static void | setZeroBelow (std::vector< ScalarRTCoefficients > &coeff, size_t current_layer) |
Implements the scalar Fresnel computation.
Implements method 'execute' to compute refraction angles and transmission/reflection coefficients for coherent wave propagation in a multilayer.
Inherited by SpecularScalarNCStrategy, SpecularScalarTanhStrategy
Definition at line 38 of file SpecularScalarStrategy.h.
using SpecularScalarStrategy::coefficient_pointer_type = std::unique_ptr<const coefficient_type> |
Definition at line 43 of file SpecularScalarStrategy.h.
Definition at line 42 of file SpecularScalarStrategy.h.
using SpecularScalarStrategy::coeffs_t = std::vector<coefficient_pointer_type> |
Definition at line 44 of file SpecularScalarStrategy.h.
|
private |
Definition at line 116 of file SpecularScalarStrategy.cpp.
References exp_I(), and transition().
Referenced by computeTR().
|
overridevirtual |
Computes the Fresnel R coefficient for the top layer only Introduced in order to speed up pure reflectivity computations.
Implements ISpecularStrategy.
Definition at line 49 of file SpecularScalarStrategy.cpp.
References exp_I(), and transition().
|
private |
Definition at line 83 of file SpecularScalarStrategy.cpp.
References calculateUpFromLayer().
Referenced by Execute().
|
overridevirtual |
Computes refraction angles and transmission/reflection coefficients for given coherent wave propagation in a multilayer.
Implements ISpecularStrategy.
Definition at line 28 of file SpecularScalarStrategy.cpp.
References KzComputation::computeReducedKz().
|
overridevirtual |
Implements ISpecularStrategy.
Definition at line 35 of file SpecularScalarStrategy.cpp.
References computeTR().
|
staticprivate |
Definition at line 107 of file SpecularScalarStrategy.cpp.
|
privatepure virtual |
Implemented in SpecularScalarTanhStrategy, and SpecularScalarNCStrategy.
Referenced by calculateUpFromLayer(), and computeTopLayerR().