Classes and functions to describe magnetic and non-magnetic materials.
◆ MaterialBySLD() [1/2]
◆ MaterialBySLD() [2/2]
Material MaterialBySLD |
( |
const std::string & |
name, |
|
|
double |
sld_real, |
|
|
double |
sld_imag, |
|
|
R3 |
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.
- Parameters
-
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) |
◆ RefractiveMaterial() [1/2]
Material RefractiveMaterial |
( |
const std::string & |
name, |
|
|
complex_t |
refractive_index, |
|
|
R3 |
magnetization = {} |
|
) |
| |
◆ RefractiveMaterial() [2/2]
Material RefractiveMaterial |
( |
const std::string & |
name, |
|
|
double |
delta, |
|
|
double |
beta, |
|
|
R3 |
magnetization = {} |
|
) |
| |
◆ Vacuum()