15 #ifndef BORNAGAIN_CORE_MATERIAL_MATERIALFACTORYFUNCS_H
16 #define BORNAGAIN_CORE_MATERIAL_MATERIALFACTORYFUNCS_H
Defines and implements class Material.
A wrapper for underlying material implementation.
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 (S...
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).
Struct that contains information on a single homogeneous region of a particle inside a single layer.