BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Go to the source code of this file.
Namespaces | |
anonymous_namespace{MaterialUtils.cpp} | |
Functions | |
const Eigen::Matrix2cd | Unit_Matrix (Eigen::Matrix2cd::Identity()) |
const Eigen::Matrix2cd | anonymous_namespace{MaterialUtils.cpp}::Pauli_X ((Eigen::Matrix2cd()<< 0, 1, 1, 0).finished()) |
const Eigen::Matrix2cd | anonymous_namespace{MaterialUtils.cpp}::Pauli_Y ((Eigen::Matrix2cd()<< 0, -I, I, 0).finished()) |
const Eigen::Matrix2cd | anonymous_namespace{MaterialUtils.cpp}::Pauli_Z ((Eigen::Matrix2cd()<< 1, 0, 0, -1).finished()) |
Variables | |
constexpr double | magnetic_prefactor = (m_n * g_factor_n * mu_N / h_bar / h_bar) * 1e-18 |
Implements functions in namespace MaterialUtils.
Definition in file MaterialUtils.cpp.
const Eigen::Matrix2cd Unit_Matrix | ( | Eigen::Matrix2cd::Identity() | ) |
Referenced by MaterialUtils::MagnetizationCorrection().
|
constexpr |
Definition at line 23 of file MaterialUtils.cpp.
Referenced by anonymous_namespace{SpecularMagneticStrategy.cpp}::magneticImpact(), anonymous_namespace{SpecularMagneticNewStrategy.cpp}::magneticSLD(), and MaterialUtils::PolarizedReducedPotential().