BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Declares functions in namespace MaterialUtils. More...
Go to the source code of this file.
Namespaces | |
MaterialUtils | |
A number of materials-related helper functions for internal use. | |
Functions | |
complex_t | MaterialUtils::ScalarReducedPotential (complex_t n, kvector_t k, double n_ref) |
Function for calculating the reduced potential, used for obtaining the Fresnel coefficients (non-polarized material case) | |
Eigen::Matrix2cd | MaterialUtils::PolarizedReducedPotential (complex_t n, kvector_t b_field, kvector_t k, double n_ref) |
Function for calculating the reduced potential, used for obtaining the Fresnel coefficients (polarized material case) | |
template<typename T > | |
Eigen::Matrix2cd | MaterialUtils::MagnetizationCorrection (complex_t unit_factor, double magnetic_factor, BasicVector3D< T > polarization) |
MATERIAL_TYPES | MaterialUtils::checkMaterialTypes (const std::vector< const Material * > &materials) |
Checks if all non-default materials in materials are of the same type and returns this type. More... | |
Declares functions in namespace MaterialUtils.
Definition in file MaterialUtils.h.