15 #ifndef BORNAGAIN_CORE_MATERIAL_MATERIALUTILS_H
16 #define BORNAGAIN_CORE_MATERIAL_MATERIALUTILS_H
41 Eigen::Matrix2cd MagnetizationCorrection(complex_t unit_factor,
double magnetic_factor,
Defines and implements class Material.
A number of materials-related helper functions for internal use.
MATERIAL_TYPES checkMaterialTypes(const std::vector< const Material * > &materials)
Checks if all non-default materials in materials are of the same type and returns this type.
complex_t ScalarReducedPotential(complex_t n, kvector_t k, double n_ref)
Function for calculating the reduced potential, used for obtaining the Fresnel coefficients (non-pola...
Eigen::Matrix2cd 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 (polarize...