Variables
o2scl_const Namespace Reference

Constants. More...

Variables

const double yotta =1e24
 
const double zetta =1e21
 
const double exa =1e18
 
const double peta =1e15
 
const double tera =1e12
 
const double giga =1e9
 
const double mega =1e6
 
const double kilo =1e3
 
const double milli =1e-3
 
const double micro =1e-6
 
const double nano =1e-9
 
const double pico =1e-12
 
const double femto =1e-15
 
const double atto =1e-18
 
const double zepto =1e-21
 
const double yocto =1e-24
 
const double fine_structure =7.2973525698e-3
 Fine structure constant (CODATA 2010 value)
 
const double avogadro =6.02214129e23
 Avogadro's number (CODATA 2010 value)
 
const double pi =acos(-1.0)
 $ \pi $
 
const double pi2 =pi*pi
 $ \pi^2 $
 
const double zeta32 =2.6123753486854883433
 $ \zeta(3/2) $
 
const double zeta2 =1.6449340668482264365
 $ \zeta(2) $
 
const double zeta52 =1.3414872572509171798
 $ \zeta(5/2) $
 
const double zeta3 =1.2020569031595942854
 $ \zeta(3) $
 
const double zeta5 =1.0369277551433699263
 $ \zeta(5) $
 
const double zeta7 =1.0083492773819228268
 $ \zeta(7) $
 
const double sin2_theta_weak =0.23126
 $ \sin^2 \theta_W $ (PDG 2014 value)
 
const double hc_mev_fm
 $ \hbar c $ in MeV fm (derived) More...
 
const double hc_mev_cm =hc_mev_fm*1.0e-13
 $ \hbar c $ in MeV cm (derived)
 
const double ec_gauss_fm2
 1 $\mathrm{Gauss}$ times the electron charge in Gaussian units in $\mathrm{fm}^{-2}$ More...
 
const double gauss2_fm4
 Conversion factor from $ \mathrm{Gauss}^2 $ to $\mathrm{fm}^{-4}$ in Gaussian units. More...
 
const double mass_lambda_MeV =1115.683
 $ \Lambda $ hyperon mass in $ \mathrm{MeV} $ More...
 
Squared electron charge
const double e2_gaussian
 Electron charge squared in Gaussian units (derived) More...
 
const double e2_hlorentz =o2scl_const::fine_structure*4.0*pi
 Electron charge sqaured in Heaviside-Lorentz units where $\hbar=c=1$ (derived) More...
 
const double e2_mksa =o2scl_mksa::electron_charge
 Electron charge squared in SI(MKSA) units (derived) More...
 

Detailed Description

CODATA 2010 values are in Mohr12.

Variable Documentation

◆ e2_gaussian

const double o2scl_const::e2_gaussian
Initial value:
const double hc_mev_fm
in MeV fm (derived)
Definition: constants.h:978
const double fine_structure
Fine structure constant (CODATA 2010 value)
Definition: constants.h:56

In Gaussian Units:

\begin{eqnarray*} &\vec{\nabla} \cdot \vec{E} = 4 \pi \rho \, , \quad \vec{E}=-\vec{\nabla} \Phi \, , \quad \nabla^2 \Phi = - 4 \pi \rho \, , &\\& F=\frac{q_1 q_2}{r^2} \, , \quad W=\frac{1}{2} \int \rho V d^3 x =\frac{1}{8 \pi} \int | \vec{E} |^2 d^3 x \, , \quad \alpha=\frac{e^2}{\hbar c}=\frac{1}{137}& \end{eqnarray*}

Definition at line 1005 of file constants.h.

◆ e2_hlorentz

const double o2scl_const::e2_hlorentz =o2scl_const::fine_structure*4.0*pi

In Heaviside-Lorentz units:

\begin{eqnarray*} &\vec{\nabla} \cdot \vec{E} = \rho \, , \quad \vec{E}=-\vec{\nabla} \Phi \, , \quad \nabla^2 \Phi = - \rho \, , &\\& F=\frac{q_1 q_2}{4 \pi r^2} \, , \quad W=\frac{1}{2} \int \rho V d^3 x =\frac{1}{2} \int | \vec{E} |^2 d^3 x \, , \quad \alpha=\frac{e^2}{4 \pi}=\frac{1}{137}& \end{eqnarray*}

Definition at line 1027 of file constants.h.

◆ e2_mksa

const double o2scl_const::e2_mksa =o2scl_mksa::electron_charge

In MKSA units:

\begin{eqnarray*} &\vec{\nabla} \cdot \vec{E} = \rho \, , \quad \vec{E}=-\vec{\nabla} \Phi \, , \quad \nabla^2 \Phi = - \rho \, , &\\& F=\frac{1}{4 \pi \varepsilon_0}\frac{q_1 q_2}{r^2} \, , \quad W=\frac{1}{2} \int \rho V d^3 x =\frac{\varepsilon_0}{2} \int | \vec{E} |^2 d^3 x \, , \quad \alpha=\frac{e^2}{4 \pi \varepsilon_0 \hbar c}=\frac{1}{137}& \end{eqnarray*}

Note the conversion formulas

\[ q_HL=\sqrt{4 \pi} q_G = \frac{1}{\sqrt{\varepsilon_0}} q_{SI} \]

as mentioned, e.g. in pg. 13 of D. Griffiths Intro to Elem. Particles.

Definition at line 1053 of file constants.h.

◆ ec_gauss_fm2

const double o2scl_const::ec_gauss_fm2
Initial value:
const double plancks_constant_hbar
Planck constant divided by 2 pi in kg m^2 / s (CODATA 2010 value)
Definition: constants.h:534
const double electron_charge
A s.
Definition: constants.h:695

Definition at line 1059 of file constants.h.

◆ gauss2_fm4

const double o2scl_const::gauss2_fm4
Initial value:
const double fine_structure
Fine structure constant (CODATA 2010 value)
Definition: constants.h:56
const double ec_gauss_fm2
1 times the electron charge in Gaussian units in
Definition: constants.h:1059

This is useful, e.g. in converting magnetic field squared to an energy density.

Definition at line 1068 of file constants.h.

◆ hc_mev_fm

const double o2scl_const::hc_mev_fm
Initial value:
const double plancks_constant_hbar
Planck constant divided by 2 pi in kg m^2 / s (CODATA 2010 value)
Definition: constants.h:534
const double electron_volt
Electron volt in kg m^2 / s^2 (CODATA 2010 value)
Definition: constants.h:545
const double speed_of_light
m / s
Definition: constants.h:528

Definition at line 978 of file constants.h.

◆ mass_lambda_MeV

const double o2scl_const::mass_lambda_MeV =1115.683

Value from PDG live (5/1/14).

Definition at line 1076 of file constants.h.

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).