Constants

The Constants module of Jems defines a common set of physical and mathematical constants for use across the package. Currently not all constants are exported, so some of them need to be accesed by using the module name (e.g. Const.FINE).

Jems.Constants.CGASConstant
CGAS = K_BOLTZ * AVO = 8.31446261815324e7

Ideal gas constant in units of $\mathrm{erg}~\mathrm{K}^{-1}~\mathrm{mol}^{-1}$

Exact constant

source
Jems.Constants.CGRAVConstant
CGRAV = 6.67430e-8

Gravitational constant in units of $\mathrm{g}^{-1}~\mathrm{cm}^{3}~\mathrm{s}^{-2}$

Source: CODATA 2018

Has a relative uncertainty of $2.2\times10^{-5}$

source
Jems.Constants.CRADConstant
CRAD = SIGMA_SB * 4 / CLIGHT = 7.565733250280006e-15

Radiation density constant in units of $\mathrm{erg}~\mathrm{cm}^{-3}\mathrm{K}^{-4}$

source
Jems.Constants.HBARConstant
HBAR = PLANCK_H / (2 * pi) = 1.0545718176461565e-27

Reduced Planck constant in units of $\mathrm{erg}~\mathrm{s}$

Source: CODATA 2018

Exact constant

source
Jems.Constants.MEARTHConstant
MEARTH = G_TIMES_MEARTH/CGRAV = 5.972167867791379e27

Mass of the Earth in $\mathrm{g}$ computed from the product GM.

source
Jems.Constants.MJUPITERConstant
MJUPITER = G_TIMES_MJUPITER/CGRAV = 1.89812459733605e30

Mass of Jupiter in $\mathrm{g}$ computed from the product GM.

source
Jems.Constants.MSUNConstant
MSUN = G_TIMES_MSUN/CGRAV = 1.9884098706980504e33

Mass of the Sun in $\mathrm{g}$ computed from the product GM.

source
Jems.Constants.QEConstant
QE = (CLIGHT/10)*1.602176634e-19 = 4.803204712570263e-10

Electron charge in esu==(g cm^3 s^-2)^(1/2) converted from the electron charge in Coulomb.

Source CODATA 2018

Exact constant

source
Jems.Constants.SIGMA_SBConstant
SIGMA_SB = (2*π^5*K_BOLTZ^4)/(15*CLIGHT^2*PLANCK_H^3) = 5.67037441918443e-5

Stefan-Boltzmann constant in units of $\mathrm{erg}~\mathrm{cm}^{-2}\mathrm{K}^{-4}\mathrm{s}^{-1}$

source