BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
MultiLayerUtils.h File Reference

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 LayerInterfaceMultiLayerUtils::LayerTopInterface (const MultiLayer &multilayer, size_t i)
 Returns top interface of layer.
 
const LayerInterfaceMultiLayerUtils::LayerBottomInterface (const MultiLayer &multilayer, size_t i)
 Returns bottom interface of layer.
 
const LayerRoughnessMultiLayerUtils::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< ZLimitsMultiLayerUtils::ParticleRegions (const MultiLayer &multilayer, bool use_slicing)
 Calculate z-regions occupied by particles.
 
bool MultiLayerUtils::hasRoughness (const MultiLayer &sample)
 

Detailed Description

Defines helper functions for MultiLayer objects.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file MultiLayerUtils.h.