BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
MagneticMaterialImpl.cpp File Reference
Include dependency graph for MagneticMaterialImpl.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{MagneticMaterialImpl.cpp}
 

Functions

cvector_t anonymous_namespace{MagneticMaterialImpl.cpp}::OrthogonalToBaseVector (cvector_t base, const kvector_t vector)
 

Variables

constexpr double magnetization_prefactor = (gamma_n * r_e / 2.0 / mu_B) * 1e-18
 

Detailed Description

Implements magnetic material base implementation.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file MagneticMaterialImpl.cpp.

Variable Documentation

◆ magnetization_prefactor

constexpr double magnetization_prefactor = (gamma_n * r_e / 2.0 / mu_B) * 1e-18
constexpr

Definition at line 26 of file MagneticMaterialImpl.cpp.

Referenced by MagneticMaterialImpl::polarizedSubtrSLD().