1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
//! Constant values for use in calculations.
use crate::;
/// Speed of light travelling through a perfect vacuum.
///
/// Unit: [m]/[s]
///
/// [m]: Length::Meter
/// [s]: Time::Second
pub const CONST_C: qtype! = qty!;
/// Speed of light, squared; Relationship between mass and energy.
///
/// Unit: ([m]/[s])²
///
/// [m]: Length::Meter
/// [s]: Time::Second
pub const CONST_C2: qtype! = qty!;
/// Elementary charge; Electrical charge of a single proton.
///
/// Unit: [C]
///
/// [C]: Charge::Coulomb
pub const CONST_E: qtype! = qty!;
/// Gravitational constant.
///
/// Unit: ([m]³/[s]²)/[kg]
///
/// [m]: Length::Meter
/// [s]: Time::Second
/// [kg]: Mass::KiloGram
pub const CONST_G: qtype! = qty!;
/// One "G"; The average acceleration due to gravity at the surface of Earth.
///
/// Unit: [m]/[s]/[s]
///
/// [m]: Length::Meter
/// [s]: Time::Second
pub const GFORCE: qtype! = qty!;
/// Planck constant; Used to find the energy of a photon.
///
/// Unit: [eV]/[Hz]
///
/// [eV]: Energy::ElectronVolt
/// [Hz]: Frequency::Hertz
pub const CONST_H: qtype! = qty!;
/// Boltzmann constant; Relationship between thermal energy and temperature.
///
/// Unit: [eV]/[K]
///
/// [eV]: Energy::ElectronVolt
/// [K]: Temp::Kelvin
pub const CONST_K: qtype! = qty!;
/// Gas constant; Relationship between energy, temperature, and substance amount.
///
/// Unit: [J]/[K]/[mol]
///
/// [J]: Energy::Joule
/// [K]: Temp::Kelvin
/// [mol]: Amount::Mole
pub const CONST_R: qtype! = qty!;