15 #ifndef BORNAGAIN_CORE_MULTILAYER_SLICE_H
16 #define BORNAGAIN_CORE_MULTILAYER_SLICE_H
std::complex< double > complex_t
Defines and implements class Material.
A roughness of interface between two layers.
A wrapper for underlying material implementation.
Data structure containing the data of a single slice, for calculating the Fresnel coefficients.
Slice & operator=(const Slice &other)
kvector_t m_B_field
cached value of magnetic induction
complex_t scalarReducedPotential(kvector_t k, double n_ref) const
Return the potential term that is used in the one-dimensional Fresnel calculations.
Material material() const
void setMaterial(const Material &material)
std::unique_ptr< LayerRoughness > mP_top_roughness
Slice(double thickness, const Material &material)
const LayerRoughness * topRoughness() const
static constexpr double Magnetic_Permeability
Eigen::Matrix2cd polarizedReducedPotential(kvector_t k, double n_ref) const
Return the potential term that is used in the one-dimensional Fresnel calculations in the presence of...
void initBField(kvector_t h_field, double b_z)
Initializes the magnetic B field from a given ambient field strength H.