forked from DlangScience/scid
/
particles.d
79 lines (64 loc) · 2.2 KB
/
particles.d
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
/** Contains characteristics of elementary particles
*
* $(DDOC_SECTION_H System of units:) symmetric SI
* Origin: $(LINK2 http://physics.nist.gov/cuu/index.html,
* The NIST Reference on Constants, Units, and Uncertainty)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Version: alpha
*
*/
module scid.constants.si.particles;
/// Electron characteristics
enum ELECTRON : double
{
/// Charge to mass quotient [C / kg]
CHARGE_TO_MASS = -1.758_820_088e+11,
D_CHARGE_TO_MASS = 0.000_000_039e+11, /// Standard uncertainty
/// Compton wavelength [m]
COMPTONWL = 2.426_310_2389e-12,
D_COMPTONWL = 0.000_000_0016e-12, /// Standard uncertainty
/// g-factor
GFACTOR = -2.002_319_304_361_53,
D_GFACTOR = 0.000_000_000_000_53, /// Standard uncertainty
/// Magnetic momentum [J / T]
MAG_MOM = -9.284_764_30e-24,
D_MAG_MOM = 0.000_000_21e-24, /// Standard uncertainty
/// Mass [kg]
MASS = 9.109_382_91e-31,
D_MASS = 0.000_000_40e-31 /// Standard uncertainty
}
/// Proton characteristics
enum PROTON : double
{
/// Charge to mass quotient [C / kg]
CHARGE_TO_MASS = 9.578_833_58e+7,
D_CHARGE_TO_MASS = 0.000_000_21e+7, /// Standard uncertainty
/// Compton wavelength [m]
COMPTONWL = 1.321_409_856_23e-15,
D_COMPTONWL = 0.000_000_000_94e-15, /// Standard uncertainty
/// g-factor
GFACTOR = 5.585_694_713,
D_GFACTOR = 0.000_000_046, /// Standard uncertainty
/// Magnetic momentum [J / T]
MAG_MOM = 1.410_606_743e-26,
D_MAG_MOM = 0.000_000_033e-26, /// Standard uncertainty
/// Mass [kg]
MASS = 1.672_621_777e-27,
D_MASS = 0.000_000_074e-27 /// Standard uncertainty
}
/// Neutron characteristics
enum NEUTRON : double
{
/// Compton wavelength [m]
COMPTONWL = 1.319_590_9068e-15,
D_COMPTONWL = 0.000_000_0011e-15, /// Standard uncertainty
/// g-factor
GFACTOR = -3.826_085_45,
D_GFACTOR = 0.000_000_90, /// Standard uncertainty
/// Magnetic momentum [J / T]
MAG_MOM = -0.966_236_47e-26,
D_MAG_MOM = 0.000_000_23e-26, /// Standard uncertainty
/// Mass [kg]
MASS = 1.674_927_351e-27,
D_MASS = 0.000_000_074e-27 /// Standard uncertainty
}