BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
MultilayerUtils.h File Reference

Description

Defines namespace SampleUtils::Multilayer.

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.

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

 SampleUtils
 
 SampleUtils::Multilayer
 Helper functions for class MultiLayer.
 

Macros

#define BORNAGAIN_SAMPLE_MULTILAYER_MULTILAYERUTILS_H
 

Functions

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

Macro Definition Documentation

◆ BORNAGAIN_SAMPLE_MULTILAYER_MULTILAYERUTILS_H

#define BORNAGAIN_SAMPLE_MULTILAYER_MULTILAYERUTILS_H

Definition at line 21 of file MultilayerUtils.h.