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

Factory functions used to create material instances. More...

Go to the source code of this file.

Functions

Material HomogeneousMaterial ()
 
Material HomogeneousMaterial (const std::string &name, double delta, double beta, kvector_t magnetization={})
 
Material HomogeneousMaterial (const std::string &name, complex_t refractive_index, kvector_t magnetization={})
 Constructs a material with name, refractive_index and magnetization (in A/m). More...
 
Material MaterialBySLD ()
 
Material MaterialBySLD (const std::string &name, double sld_real, double sld_imag, kvector_t magnetization={})
 Constructs a wavelength-independent material with a given complex-valued scattering length density (SLD). More...
 

Detailed Description

Factory functions used to create material instances.

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 MaterialFactoryFuncs.h.