|
BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines helper functions for MultiLayer objects. More...
Go to the source code of this file.
Functions | |
| double | MultiLayerUtils::LayerThickness (const MultiLayer &multilayer, size_t i) |
| Returns thickness of layer. | |
| const LayerInterface * | MultiLayerUtils::LayerTopInterface (const MultiLayer &multilayer, size_t i) |
| Returns top interface of layer. | |
| const LayerInterface * | MultiLayerUtils::LayerBottomInterface (const MultiLayer &multilayer, size_t i) |
| Returns bottom interface of layer. | |
| const LayerRoughness * | MultiLayerUtils::LayerTopRoughness (const MultiLayer &multilayer, size_t i) |
| Returns top roughness of layer. | |
| size_t | MultiLayerUtils::IndexOfLayer (const MultiLayer &multilayer, const Layer *p_layer) |
| Returns the index of the given layer. | |
| bool | MultiLayerUtils::ContainsCompatibleMaterials (const MultiLayer &multilayer) |
| Returns true if the multilayer contains non-default materials of one type only. | |
| std::vector< ZLimits > | MultiLayerUtils::ParticleRegions (const MultiLayer &multilayer, bool use_slicing) |
| Calculate z-regions occupied by particles. | |
| bool | MultiLayerUtils::hasRoughness (const MultiLayer &sample) |
Defines helper functions for MultiLayer objects.
Definition in file MultiLayerUtils.h.