16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_RESAMPLE_SLICE_SLICE_H
21 #define BORNAGAIN_RESAMPLE_SLICE_SLICE_H
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.
SpinMatrix polarizedReducedPotential(R3 k, double n_ref) const
Return the potential term that is used in the one-dimensional Fresnel calculations in the presence of...
complex_t scalarReducedPotential(R3 k, double n_ref) const
Return the potential term that is used in the one-dimensional Fresnel calculations.
double thicknessOr0() const
void initBField(R3 h_field, double h_z)
Initializes the magnetic B field from a given ambient field strength H.
R3 m_B_field
cached value of magnetic induction
void setMaterial(const Material &material)
const Material & material() const
const LayerRoughness *const m_top_roughness
const LayerRoughness * topRoughness() const
Slice(const ZLimits &zRange, Material material, const R3 &B_field, const LayerRoughness *roughness)
An interval. Limits are of type double, and may be infinite. Used for the z-coordinate,...