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

Defines helper functions for MultiLayer objects. More...

Include dependency graph for MultiLayerUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 MultiLayerUtils
 

Macros

#define BORNAGAIN_SAMPLE_MULTILAYER_MULTILAYERUTILS_H
 

Functions

bool MultiLayerUtils::ContainsCompatibleMaterials (const MultiLayer &multilayer)
 Returns true if the multilayer contains non-default materials of one type only. More...
 
bool MultiLayerUtils::hasRoughness (const MultiLayer &sample)
 
size_t MultiLayerUtils::IndexOfLayer (const MultiLayer &multilayer, const Layer *p_layer)
 Returns the index of the given layer. More...
 
const LayerRoughnessMultiLayerUtils::LayerTopRoughness (const MultiLayer &multilayer, size_t i)
 Returns top roughness of layer. More...
 

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.

Macro Definition Documentation

◆ BORNAGAIN_SAMPLE_MULTILAYER_MULTILAYERUTILS_H

#define BORNAGAIN_SAMPLE_MULTILAYER_MULTILAYERUTILS_H

Definition at line 21 of file MultiLayerUtils.h.