BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
PhysicalConstants.h File Reference

Description

Defines the values of physical constants (SI)

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 PhysicalConstants.h.

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 PhysConsts
 Physical constants.
 

Macros

#define BORNAGAIN_BASE_CONST_PHYSICALCONSTANTS_H
 

Variables

constexpr double PhysConsts::g_factor_n = -3.82608545
 neutron g-factor More...
 
constexpr double PhysConsts::gamma_n = 1.91304272
 $\gamma$ factor for neutron magnetic moment, $\mu_n = \gamma \cdot \mu_N$ More...
 
constexpr double PhysConsts::h_bar = 1.054571817e-34
 Reduced Plank constant, J s. More...
 
constexpr double PhysConsts::m_n = 1.67492749804e-27
 Neutron mass, kg. More...
 
constexpr double PhysConsts::mu_B = 9.2740100783e-24
 Bohr magneton ( $ \mu_B $), J/T. More...
 
constexpr double PhysConsts::mu_N = 5.0507837461e-27
 Nuclear magneton ( $ \mu_N $), J/T. More...
 
constexpr double PhysConsts::r_e = 2.8179403262e-15
 Thomson scattering length ( $ r_e $), m. More...
 

Macro Definition Documentation

◆ BORNAGAIN_BASE_CONST_PHYSICALCONSTANTS_H

#define BORNAGAIN_BASE_CONST_PHYSICALCONSTANTS_H

Definition at line 21 of file PhysicalConstants.h.