16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_RESAMPLE_SLICE_SLICESTACK_H
21 #define BORNAGAIN_RESAMPLE_SLICE_SLICESTACK_H
24 #include <heinz/Vectors3D.h>
Define RoughnessModels enumerator and Python wrapper.
A roughness of interface between two layers.
A wrapper for underlying material implementation.
SliceStack(const RoughnessModel roughness_model)
SliceStack setBField(const R3 &externalField)
void addTopSlice(double zbottom, const Material &material)
void addNSlices(size_t n, double thickness, const Material &material, const LayerRoughness *roughness=nullptr)
Adds n times the same slice to the stack.
const RoughnessModel m_roughness_model
const LayerRoughness * bottomRoughness(size_t i_slice) const
void addSlice(double thickness, const Material &material, const LayerRoughness *roughness=nullptr)
RoughnessModel roughnessModel() const
bool containsMagneticMaterial() const
Data structure containing the data of a single slice, for calculating the Fresnel coefficients.