BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Data structure containing the data of a single slice, for calculating the Fresnel coefficients. More...
Public Member Functions | |
Slice (double thickness, const Material &material) | |
Slice (double thickness, const Material &material, const LayerRoughness &top_roughness) | |
Slice (const Slice &other) | |
Slice (Slice &&other) | |
Slice & | operator= (const Slice &other) |
void | setMaterial (const Material &material) |
Material | material () const |
double | thickness () const |
const LayerRoughness * | topRoughness () const |
complex_t | scalarReducedPotential (kvector_t k, double n_ref) const |
Return the potential term that is used in the one-dimensional Fresnel calculations. | |
Eigen::Matrix2cd | polarizedReducedPotential (kvector_t k, double n_ref) const |
Return the potential term that is used in the one-dimensional Fresnel calculations in the presence of magnetization. | |
void | initBField (kvector_t h_field, double b_z) |
Initializes the magnetic B field from a given ambient field strength H. | |
kvector_t | bField () const |
void | invertBField () |
Static Public Attributes | |
static constexpr double | Magnetic_Permeability = 4e-7 * M_PI |
Data structure containing the data of a single slice, for calculating the Fresnel coefficients.