BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Functions | |
std::vector< complex_t > | computeReducedKz (const std::vector< Slice > &slices, kvector_t k) |
std::vector< complex_t > | computeKzFromSLDs (const std::vector< Slice > &slices, double kz) |
std::vector< complex_t > | computeKzFromRefIndices (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::computeReducedKz | ( | const std::vector< Slice > & | slices, |
kvector_t | k | ||
) |
Definition at line 41 of file KzComputation.cpp.
References anonymous_namespace{KzComputation.cpp}::checkForUnderflow(), M_PI, BasicVector3D< T >::mag(), Units::rad, and BasicVector3D< T >::z().
Referenced by SpecularMagneticNewStrategy::Execute(), SpecularMagneticStrategy::Execute(), and SpecularScalarStrategy::Execute().
std::vector< complex_t > KzComputation::computeKzFromSLDs | ( | const std::vector< Slice > & | slices, |
double | kz | ||
) |
Definition at line 59 of file KzComputation.cpp.
References anonymous_namespace{KzComputation.cpp}::checkForUnderflow(), and anonymous_namespace{KzComputation.cpp}::normalizedSLD().
Referenced by SpecularSimulationElement::SpecularSimulationElement().
std::vector< complex_t > KzComputation::computeKzFromRefIndices | ( | const std::vector< Slice > & | slices, |
kvector_t | k | ||
) |
Definition at line 75 of file KzComputation.cpp.
References anonymous_namespace{KzComputation.cpp}::checkForUnderflow(), M_PI, BasicVector3D< T >::mag2(), and BasicVector3D< T >::z().
Referenced by SpecularSimulationElement::SpecularSimulationElement().