BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Namespace containing functions for computing kz values for given multilayer and k (or kz) value on the surface of the sample. More...
Functions | |
std::vector< complex_t > | computeKzFromRefIndices (const std::vector< Slice > &slices, kvector_t k) |
std::vector< complex_t > | computeKzFromSLDs (const std::vector< Slice > &slices, double kz) |
std::vector< complex_t > | computeReducedKz (const std::vector< Slice > &slices, kvector_t k) |
Namespace containing functions for computing kz values for given multilayer and k (or kz) value on the surface of the sample.
std::vector< complex_t > KzComputation::computeKzFromRefIndices | ( | const std::vector< Slice > & | slices, |
kvector_t | k | ||
) |
Definition at line 74 of file KzComputation.cpp.
References M_PI, BasicVector3D< T >::mag2(), and BasicVector3D< T >::z().
Referenced by SpecularSimulationElement::SpecularSimulationElement().
std::vector< complex_t > KzComputation::computeKzFromSLDs | ( | const std::vector< Slice > & | slices, |
double | kz | ||
) |
Definition at line 58 of file KzComputation.cpp.
Referenced by SpecularSimulationElement::SpecularSimulationElement(), and gui2::SpecularToySimulation::runSimulation().
std::vector< complex_t > KzComputation::computeReducedKz | ( | const std::vector< Slice > & | slices, |
kvector_t | k | ||
) |
Definition at line 40 of file KzComputation.cpp.
References M_PI, BasicVector3D< T >::mag(), Units::rad, and BasicVector3D< T >::z().
Referenced by SpecularMagneticStrategy_v2::Execute(), SpecularMagneticStrategy::Execute(), and SpecularScalarStrategy::Execute().