BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Classes and functions to describe magnetic and non-magnetic materials. More...
Classes | |
class | Material |
A wrapper for underlying material implementation. More... | |
Functions | |
Material | HomogeneousMaterial () |
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 | HomogeneousMaterial (const std::string &name, double delta, double beta, kvector_t magnetization={}) |
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... | |
Classes and functions to describe magnetic and non-magnetic materials.
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).
Alternatively, and for refractive index can be passed directly. With no parameters given, constructs default (vacuum) material with and zero magnetization.
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).
SLD values for a wide variety of materials can be found on https://sld-calculator.appspot.com/ and https://www.ncnr.nist.gov/resources/activation/ By convention, SLD imaginary part is treated as negative by default, which corresponds to attenuation of the signal. With no parameters given, MaterialBySLD constructs default (vacuum) material with zero sld and zero magnetization.
name | material name |
sld_real | real part of the scattering length density, inverse square angstroms |
sld_imag | imaginary part of the scattering length density, inverse square angstroms |
magnetization | magnetization (in A/m) |