BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
HomogeneousRegion.cpp File Reference
Include dependency graph for HomogeneousRegion.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{HomogeneousRegion.cpp}
 

Functions

template<class T >
anonymous_namespace{HomogeneousRegion.cpp}::averageData (const Material &layer_mat, const std::vector< HomogeneousRegion > &regions, std::function< T(const Material &)> average)
 
Material createAveragedMaterial (const Material &layer_mat, const std::vector< HomogeneousRegion > &regions)
 

Detailed Description

Implements fct createAveragedMaterial.

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 HomogeneousRegion.cpp.