BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Methods to compute scalar propagation directions and fluxes as function of slice.
Functions | |
Fluxes | fluxes (const SliceStack &slices, const R3 &k) |
Computes refraction angles and transmission/reflection coefficients for given coherent wave propagation in a sample. More... | |
complex_t | topLayerR (const SliceStack &slices, const std::vector< complex_t > &kz) |
Computes the Fresnel R coefficient for the top layer only. Introduced in order to speed up pure reflectivity computations. More... | |
Fluxes Compute::SpecularScalar::fluxes | ( | const SliceStack & | slices, |
const R3 & | k | ||
) |
Computes refraction angles and transmission/reflection coefficients for given coherent wave propagation in a sample.
Definition at line 122 of file ComputeFluxScalar.cpp.
References ASSERT, Compute::Kz::computeReducedKz(), and SliceStack::roughnessModel().
Referenced by reSample::fluxesIn(), and reSample::fluxesOut().
complex_t Compute::SpecularScalar::topLayerR | ( | const SliceStack & | slices, |
const std::vector< complex_t > & | kz | ||
) |
Computes the Fresnel R coefficient for the top layer only. Introduced in order to speed up pure reflectivity computations.
Definition at line 136 of file ComputeFluxScalar.cpp.
References ASSERT, SliceStack::bottomRoughness(), N, and SliceStack::roughnessModel().
Referenced by SpecularComputation::runProtected().