16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_SAMPLE_MULTILAYER_MULTILAYERUTILS_H
21 #define BORNAGAIN_SAMPLE_MULTILAYER_MULTILAYERUTILS_H
Interface between two layers, possibly with roughness.
A roughness of interface between two layers.
A layer in a MultiLayer sample.
Our sample model: a stack of layers one below the other.
const LayerRoughness * LayerTopRoughness(const MultiLayer &multilayer, size_t i)
Returns top roughness of layer.
size_t IndexOfLayer(const MultiLayer &multilayer, const Layer *p_layer)
Returns the index of the given layer.
bool ContainsCompatibleMaterials(const MultiLayer &multilayer)
Returns true if the multilayer contains non-default materials of one type only.
bool hasRoughness(const MultiLayer &sample)