BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Functions | |
std::vector< complex_t > | computeKzFromRefIndices (const SliceStack &slices, R3 k) |
Computes kz values from k-vector of the incoming beam known at a distant point in vacuum. It is assumed, that the beam penetrates fronting medium from a side. More... | |
std::vector< complex_t > | computeKzFromSLDs (const SliceStack &slices, double kz) |
Computes kz values from kz of the incoming beam known at a distant point in vacuum. It is assumed, that the beam penetrates fronting medium from a side. More... | |
std::vector< complex_t > | computeReducedKz (const SliceStack &slices, R3 k) |
Computes kz values from known k vector and slices with the following assumptions: More... | |
std::vector< complex_t > Compute::Kz::computeKzFromRefIndices | ( | const SliceStack & | slices, |
R3 | k | ||
) |
Computes kz values from k-vector of the incoming beam known at a distant point in vacuum. It is assumed, that the beam penetrates fronting medium from a side.
Definition at line 78 of file KzComputation.cpp.
Referenced by SpecularElement::FromAlphaScan().
std::vector< complex_t > Compute::Kz::computeKzFromSLDs | ( | const SliceStack & | slices, |
double | kz | ||
) |
Computes kz values from kz of the incoming beam known at a distant point in vacuum. It is assumed, that the beam penetrates fronting medium from a side.
Definition at line 62 of file KzComputation.cpp.
References N.
Referenced by SpecularElement::FromQzScan().
std::vector< complex_t > Compute::Kz::computeReducedKz | ( | const SliceStack & | slices, |
R3 | k | ||
) |
Computes kz values from known k vector and slices with the following assumptions:
This function is used in GISAS and off-spec computations mainly for back-compatibility reasons and should be replaced with computeKzFromRefIndices.
Definition at line 43 of file KzComputation.cpp.
References M_TWOPI, N, and Units::rad.
Referenced by Compute::SpecularScalar::fluxes(), and Compute::SpecularMagnetic::fluxes().