criptic v1
Cosmic Ray Interstellar Propagation Tool using Itô Calculus
Loading...
Searching...
No Matches
Variables
criptic::constants Namespace Reference

A namespace to hold physcial constants. More...

Variables

static constexpr Real c = GSL_CONST_CGSM_SPEED_OF_LIGHT
 
static constexpr Real mp = GSL_CONST_CGSM_MASS_PROTON
 
static constexpr Real me = GSL_CONST_CGSM_MASS_ELECTRON
 
static constexpr Real sigmaT = GSL_CONST_CGSM_THOMSON_CROSS_SECTION
 
static constexpr Real kB
 
static constexpr Real h
 
static constexpr Real hBar
 
static constexpr Real e
 
static constexpr Real a0
 
static constexpr Real Ryd
 
static constexpr Real sigmaSB
 
static constexpr Real r0
 
static constexpr Real Msun
 
static constexpr Real Lsun
 
static constexpr Real amu
 
static constexpr Real c2 = c*c
 
static constexpr Real c3 = c*c*c
 
static constexpr Real e2 = e*e
 
static constexpr Real e3 = e*e*e
 
static constexpr Real mp_c = mp * c
 
static constexpr Real mp_c2 = mp * c2
 
static constexpr Real me_c = me * c
 
static constexpr Real me_c2 = me * c2
 
static constexpr Real alpha
 
static constexpr Real aR = 4.0 * sigmaSB / c
 
static constexpr Real mPi0 = 134.9758 * units::MeV / c2
 
static constexpr Real mPic = 139.57061 * units::MeV / c2
 
static constexpr Real mMu = 105.6583755 * units::MeV / c2
 
static constexpr Real Tpth
 
static constexpr Real rMuPi = mMu / mPic
 
static constexpr Real mH = 1.007825032239 * amu
 
static constexpr Real mDeut = 2.0141017781212 * amu
 
static constexpr Real mHe3 = 3.016029320125 * amu
 
static constexpr Real mHe4 = 4.002603254136 * amu
 
static constexpr Real mHe = mHe4
 
static constexpr Real mLi6 = 6.015122887416 * amu
 
static constexpr Real mLi7 = 7.016003436645 * amu
 
static constexpr Real mBe = 9.01218306582 * amu
 
static constexpr Real mB10 = 10.0129369541 * amu
 
static constexpr Real mB11 = 11.0093053645 * amu
 
static constexpr Real mC12 = 12.0 * amu
 
static constexpr Real mC13 = 13.0033548350723 * amu
 
static constexpr Real mC14 = 14.003241988440 * amu
 
static constexpr Real mC = mC12
 
static constexpr Real mN14 = 14.0030740044320 * amu
 
static constexpr Real mN15 = 15.0001088988864 * amu
 
static constexpr Real mN = mN14
 
static constexpr Real mO16 = 15.9949146195717 * amu
 
static constexpr Real mO17 = 16.9991317565069 * amu
 
static constexpr Real mO18 = 17.9991596128676 * amu
 
static constexpr Real mO = mO16
 
static constexpr Real BE_carbon12 = 92.16175014 * units::MeV / constants::mp_c2
 
static constexpr Real BE_boron10 = 64.7507 * units::MeV / constants::mp_c2
 
static constexpr Real BE_nitrogen14 = 104.658 * units::MeV / constants::mp_c2
 
static constexpr Real BE_boron11 = 76.204 * units::MeV / constants::mp_c2
 
static constexpr Real BE_oxygen16 = 127.619 * units::MeV / constants::mp_c2
 

Detailed Description

A namespace to hold physcial constants.

Variable Documentation

◆ a0

constexpr Real criptic::constants::a0
staticconstexpr
Initial value:
=
GSL_CONST_CGSM_BOHR_RADIUS

Bohr radius

◆ alpha

constexpr Real criptic::constants::alpha
staticconstexpr
Initial value:
=
GSL_CONST_NUM_FINE_STRUCTURE

Fine structure constant

◆ amu

constexpr Real criptic::constants::amu
staticconstexpr
Initial value:
=
GSL_CONST_CGSM_UNIFIED_ATOMIC_MASS

Atomic mass unit

◆ aR

constexpr Real criptic::constants::aR = 4.0 * sigmaSB / c
staticconstexpr

Radiation constant

◆ BE_boron10

constexpr Real criptic::constants::BE_boron10 = 64.7507 * units::MeV / constants::mp_c2
staticconstexpr

◆ BE_boron11

constexpr Real criptic::constants::BE_boron11 = 76.204 * units::MeV / constants::mp_c2
staticconstexpr

◆ BE_carbon12

constexpr Real criptic::constants::BE_carbon12 = 92.16175014 * units::MeV / constants::mp_c2
staticconstexpr

◆ BE_nitrogen14

constexpr Real criptic::constants::BE_nitrogen14 = 104.658 * units::MeV / constants::mp_c2
staticconstexpr

◆ BE_oxygen16

constexpr Real criptic::constants::BE_oxygen16 = 127.619 * units::MeV / constants::mp_c2
staticconstexpr

◆ c

constexpr Real criptic::constants::c = GSL_CONST_CGSM_SPEED_OF_LIGHT
staticconstexpr

Speed of light

◆ c2

constexpr Real criptic::constants::c2 = c*c
staticconstexpr

Speed of light squared

◆ c3

constexpr Real criptic::constants::c3 = c*c*c
staticconstexpr

Speed of light cubed

◆ e

constexpr Real criptic::constants::e
staticconstexpr
Initial value:
=
GSL_CONST_CGSM_ELECTRON_CHARGE * c
static constexpr Real c
Definition Constants.H:34

Electron charge – note the factor of c, needed because the GSL's version of cgs uses electromagnetic units (EMU) rather than Gaussian units; the factor of c converts from abCoulomb (EMU) to statCoulomb (Gaussian)

◆ e2

constexpr Real criptic::constants::e2 = e*e
staticconstexpr

Electron charge squared

◆ e3

constexpr Real criptic::constants::e3 = e*e*e
staticconstexpr

Electron charge cubed

◆ h

constexpr Real criptic::constants::h
staticconstexpr
Initial value:
=
GSL_CONST_CGSM_PLANCKS_CONSTANT_H

Planck's constant

◆ hBar

constexpr Real criptic::constants::hBar
staticconstexpr
Initial value:
=
GSL_CONST_CGSM_PLANCKS_CONSTANT_HBAR

Planck's constant / 2 pi

◆ kB

constexpr Real criptic::constants::kB
staticconstexpr
Initial value:
=
GSL_CONST_CGSM_BOLTZMANN

Boltzmann's constant

◆ Lsun

constexpr Real criptic::constants::Lsun
staticconstexpr
Initial value:
=
3.828e33

Luminosity of the Sun – IAU 2015 value

◆ mB10

constexpr Real criptic::constants::mB10 = 10.0129369541 * amu
staticconstexpr

B-10 mass

◆ mB11

constexpr Real criptic::constants::mB11 = 11.0093053645 * amu
staticconstexpr

B-11 mass

◆ mBe

constexpr Real criptic::constants::mBe = 9.01218306582 * amu
staticconstexpr

Be mass

◆ mC

constexpr Real criptic::constants::mC = mC12
staticconstexpr

C mass

◆ mC12

constexpr Real criptic::constants::mC12 = 12.0 * amu
staticconstexpr

C-12 mass

◆ mC13

constexpr Real criptic::constants::mC13 = 13.0033548350723 * amu
staticconstexpr

C-13 mass

◆ mC14

constexpr Real criptic::constants::mC14 = 14.003241988440 * amu
staticconstexpr

C-14 mass

◆ mDeut

constexpr Real criptic::constants::mDeut = 2.0141017781212 * amu
staticconstexpr

Deuterium mass

◆ me

constexpr Real criptic::constants::me = GSL_CONST_CGSM_MASS_ELECTRON
staticconstexpr

Electron mass

◆ me_c

constexpr Real criptic::constants::me_c = me * c
staticconstexpr

Electrons mass times c

◆ me_c2

constexpr Real criptic::constants::me_c2 = me * c2
staticconstexpr

Electron rest energy

◆ mH

constexpr Real criptic::constants::mH = 1.007825032239 * amu
staticconstexpr

Hydrogen mass

◆ mHe

constexpr Real criptic::constants::mHe = mHe4
staticconstexpr

He mass

◆ mHe3

constexpr Real criptic::constants::mHe3 = 3.016029320125 * amu
staticconstexpr

He-3 mass

◆ mHe4

constexpr Real criptic::constants::mHe4 = 4.002603254136 * amu
staticconstexpr

He-4 mass

◆ mLi6

constexpr Real criptic::constants::mLi6 = 6.015122887416 * amu
staticconstexpr

Li-6 mass

◆ mLi7

constexpr Real criptic::constants::mLi7 = 7.016003436645 * amu
staticconstexpr

Li-7 mass

◆ mMu

constexpr Real criptic::constants::mMu = 105.6583755 * units::MeV / c2
staticconstexpr

Muon mass

◆ mN

constexpr Real criptic::constants::mN = mN14
staticconstexpr

◆ mN14

constexpr Real criptic::constants::mN14 = 14.0030740044320 * amu
staticconstexpr

N-14 mass

◆ mN15

constexpr Real criptic::constants::mN15 = 15.0001088988864 * amu
staticconstexpr

N-15 mass

◆ mO

constexpr Real criptic::constants::mO = mO16
staticconstexpr

O mass

◆ mO16

constexpr Real criptic::constants::mO16 = 15.9949146195717 * amu
staticconstexpr

O-16 mass

◆ mO17

constexpr Real criptic::constants::mO17 = 16.9991317565069 * amu
staticconstexpr

O-17 mass

◆ mO18

constexpr Real criptic::constants::mO18 = 17.9991596128676 * amu
staticconstexpr

O-18 mass

◆ mp

constexpr Real criptic::constants::mp = GSL_CONST_CGSM_MASS_PROTON
staticconstexpr

Proton mass

◆ mp_c

constexpr Real criptic::constants::mp_c = mp * c
staticconstexpr

Proton mass times c

◆ mp_c2

constexpr Real criptic::constants::mp_c2 = mp * c2
staticconstexpr

Proton rest energy

◆ mPi0

constexpr Real criptic::constants::mPi0 = 134.9758 * units::MeV / c2
staticconstexpr

pi^0 mass

◆ mPic

constexpr Real criptic::constants::mPic = 139.57061 * units::MeV / c2
staticconstexpr

pi^+- mass

◆ Msun

constexpr Real criptic::constants::Msun
staticconstexpr
Initial value:
=
GSL_CONST_CGSM_SOLAR_MASS

Mass of the Sun

◆ r0

constexpr Real criptic::constants::r0
staticconstexpr
Initial value:
=
e * e / (me * c * c)
static constexpr Real me
Definition Constants.H:38
static constexpr Real e
Definition Constants.H:47

Classical electron radius

◆ rMuPi

constexpr Real criptic::constants::rMuPi = mMu / mPic
staticconstexpr

Mass ratio for pi^+- / mu

◆ Ryd

constexpr Real criptic::constants::Ryd
staticconstexpr
Initial value:
=
GSL_CONST_CGSM_RYDBERG

Rydberg energy

◆ sigmaSB

constexpr Real criptic::constants::sigmaSB
staticconstexpr
Initial value:
=
GSL_CONST_CGSM_STEFAN_BOLTZMANN_CONSTANT

Stefan-Boltzmman constant

◆ sigmaT

constexpr Real criptic::constants::sigmaT = GSL_CONST_CGSM_THOMSON_CROSS_SECTION
staticconstexpr

Thomson cross section

◆ Tpth

constexpr Real criptic::constants::Tpth
staticconstexpr
Initial value:
= 2 * mPi0 * c2 +
mPi0 * c2 * mPi0 * c2 /
(2 * mp_c2)
static constexpr Real mPi0
Definition Constants.H:126
static constexpr Real mp_c2
Definition Constants.H:118
static constexpr Real c2
Definition Constants.H:113

Threshold proton KE for pp -> pp pi^0