Bayeux  3.4.1
Core Foundation library for SuperNEMO
constants.h
Go to the documentation of this file.
1 
3 #ifndef MYGSL_CONSTANTS_H
4 #define MYGSL_CONSTANTS_H 1
5 
7 namespace mygsl {
8 
10  namespace constants {
11 
13  class mksa
14  {
15  public:
16 
17  static const double acre;
18  static const double angstrom;
19  static const double astronomical_unit;
20  static const double bar;
21  static const double barn;
22  static const double bohr_magneton;
23  static const double bohr_radius;
24  static const double boltzmann;
25  static const double btu;
26  static const double calorie;
27  static const double canadian_gallon;
28  static const double carat;
29  static const double cup;
30  static const double curie;
31  static const double day;
32  static const double debye;
33  static const double dyne;
34  static const double electron_charge;
35  static const double electron_magnetic_moment;
36  static const double electron_volt;
37  static const double erg;
38  static const double faraday;
39  static const double fathom;
40  static const double fluid_ounce;
41  static const double foot;
42  static const double footcandle;
43  static const double footlambert;
44  static const double gauss;
45  static const double gram_force;
46  static const double grav_accel;
47  static const double gravitational_constant;
48  static const double hectare;
49  static const double horsepower;
50  static const double hour;
51  static const double inch;
52  static const double inch_of_mercury;
53  static const double inch_of_water;
54  static const double joule;
55  static const double kilometers_per_hour;
56  static const double kilopound_force;
57  static const double knot;
58  static const double lambert;
59  static const double light_year;
60  static const double liter;
61  static const double lumen;
62  static const double lux;
63  static const double mass_electron;
64  static const double mass_muon;
65  static const double mass_neutron;
66  static const double mass_proton;
67  static const double meter_of_mercury;
68  static const double metric_ton;
69  static const double micron;
70  static const double mil;
71  static const double mile;
72  static const double miles_per_hour;
73  static const double minute;
74  static const double molar_gas;
75  static const double nautical_mile;
76  static const double newton;
77  static const double nuclear_magneton;
78  static const double ounce_mass;
79  static const double parsec;
80  static const double phot;
81  static const double pint;
82  static const double plancks_constant_h;
83  static const double plancks_constant_hbar;
84  static const double point;
85  static const double poise;
86  static const double poundal;
87  static const double pound_force;
88  static const double pound_mass;
89  static const double proton_magnetic_moment;
90  static const double psi;
91  static const double quart;
92  static const double rad;
93  static const double roentgen;
94  static const double rydberg;
95  static const double solar_mass;
96  static const double speed_of_light;
97  static const double standard_gas_volume;
98  static const double std_atmosphere;
99  static const double stefan_boltzmann_constant;
100  static const double stilb;
101  static const double stokes;
102  static const double tablespoon;
103  static const double teaspoon;
104  static const double texpoint;
105  static const double therm;
106  static const double thomson_cross_section;
107  static const double ton;
108  static const double torr;
109  static const double troy_ounce;
110  static const double uk_gallon;
111  static const double uk_ton;
112  static const double unified_atomic_mass;
113  static const double us_gallon;
114  static const double vacuum_permeability;
115  static const double vacuum_permittivity;
116  static const double week;
117  static const double yard;
118  }; // end of class mksa
119 
121  class num
122  {
123  public:
124 
125  static const double atto;
126  static const double avogadro;
127  static const double exa;
128  static const double femto;
129  static const double fine_structure;
130  static const double giga;
131  static const double kilo;
132  static const double mega;
133  static const double micro;
134  static const double milli;
135  static const double nano;
136  static const double peta;
137  static const double pico;
138  static const double tera;
139  static const double yocto;
140  static const double yotta;
141  static const double zepto;
142  static const double zetta;
143  }; // end of class num
144 
146  class cgsm
147  {
148  public:
149 
150  static const double acre;
151  static const double angstrom;
152  static const double astronomical_unit;
153  static const double bar;
154  static const double barn;
155  static const double bohr_magneton;
156  static const double bohr_radius;
157  static const double boltzmann;
158  static const double btu;
159  static const double calorie;
160  static const double canadian_gallon;
161  static const double carat;
162  static const double cup;
163  static const double curie;
164  static const double day;
165  static const double dyne;
166  static const double electron_charge;
167  static const double electron_magnetic_moment;
168  static const double electron_volt;
169  static const double erg;
170  static const double faraday;
171  static const double fathom;
172  static const double fluid_ounce;
173  static const double foot;
174  static const double footcandle;
175  static const double footlambert;
176  // 2009-11623 FM: remove
177  // static const double gauss;
178  static const double gram_force;
179  static const double grav_accel;
180  static const double gravitational_constant;
181  static const double hectare;
182  static const double horsepower;
183  static const double hour;
184  static const double inch;
185  static const double inch_of_mercury;
186  static const double inch_of_water;
187  static const double joule;
188  static const double kilometers_per_hour;
189  static const double kilopound_force;
190  static const double knot;
191  static const double lambert;
192  static const double light_year;
193  static const double liter;
194  static const double lumen;
195  static const double lux;
196  static const double mass_electron;
197  static const double mass_muon;
198  static const double mass_neutron;
199  static const double mass_proton;
200  static const double meter_of_mercury;
201  static const double metric_ton;
202  static const double micron;
203  static const double mil;
204  static const double mile;
205  static const double miles_per_hour;
206  static const double minute;
207  static const double molar_gas;
208  static const double nautical_mile;
209  static const double newton;
210  static const double nuclear_magneton;
211  static const double ounce_mass;
212  static const double parsec;
213  static const double phot;
214  static const double pint;
215  static const double plancks_constant_h;
216  static const double plancks_constant_hbar;
217  static const double point;
218  static const double poise;
219  static const double poundal;
220  static const double pound_force;
221  static const double pound_mass;
222  static const double proton_magnetic_moment;
223  static const double psi;
224  static const double quart;
225  static const double rad;
226  static const double roentgen;
227  static const double rydberg;
228  static const double solar_mass;
229  static const double speed_of_light;
230  static const double standard_gas_volume;
231  static const double std_atmosphere;
232  static const double stefan_boltzmann_constant;
233  static const double stilb;
234  static const double stokes;
235  static const double tablespoon;
236  static const double teaspoon;
237  static const double texpoint;
238  static const double therm;
239  static const double thomson_cross_section;
240  static const double ton;
241  static const double torr;
242  static const double troy_ounce;
243  static const double uk_gallon;
244  static const double uk_ton;
245  static const double unified_atomic_mass;
246  static const double us_gallon;
247  static const double week;
248  static const double yard;
249  }; // end of class cgsm
250 
251  } // end of namespace constants
252 
253 } // end of namespace mygsl
254 
255 #endif // MYGSL_CONSTANTS_H
256 
257 // Local Variables:
258 // mode: c++
259 // coding: utf-8
260 // End:
static const double pound_mass
Definition: constants.h:221
static const double phot
Definition: constants.h:80
static const double inch_of_mercury
Definition: constants.h:52
static const double hectare
Definition: constants.h:181
static const double inch
Definition: constants.h:184
static const double calorie
Definition: constants.h:26
static const double pico
Definition: constants.h:137
static const double electron_magnetic_moment
Definition: constants.h:35
static const double bohr_radius
Definition: constants.h:156
static const double plancks_constant_h
Definition: constants.h:82
static const double hour
Definition: constants.h:50
static const double zepto
Definition: constants.h:141
static const double plancks_constant_hbar
Definition: constants.h:216
static const double lux
Definition: constants.h:62
static const double grav_accel
Definition: constants.h:179
static const double fluid_ounce
Definition: constants.h:172
static const double bohr_magneton
Definition: constants.h:155
static const double metric_ton
Definition: constants.h:68
static const double tablespoon
Definition: constants.h:235
static const double exa
Definition: constants.h:127
static const double mega
Definition: constants.h:132
static const double solar_mass
Definition: constants.h:228
static const double parsec
Definition: constants.h:212
static const double standard_gas_volume
Definition: constants.h:230
static const double fathom
Definition: constants.h:171
static const double gram_force
Definition: constants.h:45
static const double canadian_gallon
Definition: constants.h:27
static const double inch
Definition: constants.h:51
static const double milli
Definition: constants.h:134
static const double meter_of_mercury
Definition: constants.h:200
static const double joule
Definition: constants.h:187
static const double nano
Definition: constants.h:135
static const double texpoint
Definition: constants.h:237
static const double thomson_cross_section
Definition: constants.h:106
static const double rydberg
Definition: constants.h:227
static const double mass_electron
Definition: constants.h:196
static const double nautical_mile
Definition: constants.h:75
static const double faraday
Definition: constants.h:170
static const double lumen
Definition: constants.h:194
static const double knot
Definition: constants.h:57
static const double inch_of_water
Definition: constants.h:53
static const double psi
Definition: constants.h:90
static const double horsepower
Definition: constants.h:182
static const double micron
Definition: constants.h:69
static const double joule
Definition: constants.h:54
static const double unified_atomic_mass
Definition: constants.h:245
static const double stokes
Definition: constants.h:101
static const double rad
Definition: constants.h:225
static const double week
Definition: constants.h:247
static const double stefan_boltzmann_constant
Definition: constants.h:99
static const double miles_per_hour
Definition: constants.h:72
static const double boltzmann
Definition: constants.h:157
static const double pound_force
Definition: constants.h:220
static const double quart
Definition: constants.h:91
static const double cup
Definition: constants.h:162
static const double foot
Definition: constants.h:173
static const double day
Definition: constants.h:31
static const double avogadro
Definition: constants.h:126
static const double angstrom
Definition: constants.h:151
static const double mil
Definition: constants.h:70
static const double stilb
Definition: constants.h:100
static const double psi
Definition: constants.h:223
static const double mass_neutron
Definition: constants.h:198
static const double pint
Definition: constants.h:214
static const double minute
Definition: constants.h:206
static const double poundal
Definition: constants.h:86
static const double btu
Definition: constants.h:158
static const double uk_ton
Definition: constants.h:244
static const double boltzmann
Definition: constants.h:24
static const double roentgen
Definition: constants.h:93
static const double debye
Definition: constants.h:32
Units prefixes and constants.
Definition: constants.h:121
static const double plancks_constant_h
Definition: constants.h:215
static const double fluid_ounce
Definition: constants.h:40
static const double pint
Definition: constants.h:81
static const double standard_gas_volume
Definition: constants.h:97
static const double phot
Definition: constants.h:213
static const double astronomical_unit
Definition: constants.h:152
static const double carat
Definition: constants.h:161
static const double meter_of_mercury
Definition: constants.h:67
static const double atto
Definition: constants.h:125
static const double curie
Definition: constants.h:163
static const double zetta
Definition: constants.h:142
static const double electron_volt
Definition: constants.h:36
static const double roentgen
Definition: constants.h:226
static const double proton_magnetic_moment
Definition: constants.h:89
static const double nuclear_magneton
Definition: constants.h:210
static const double therm
Definition: constants.h:238
static const double foot
Definition: constants.h:41
static const double rad
Definition: constants.h:92
static const double bar
Definition: constants.h:153
static const double yotta
Definition: constants.h:140
static const double astronomical_unit
Definition: constants.h:19
static const double gram_force
Definition: constants.h:178
static const double torr
Definition: constants.h:108
static const double nautical_mile
Definition: constants.h:208
static const double point
Definition: constants.h:84
static const double carat
Definition: constants.h:28
static const double mil
Definition: constants.h:203
static const double acre
Definition: constants.h:150
static const double mass_proton
Definition: constants.h:199
static const double bohr_magneton
Definition: constants.h:22
static const double week
Definition: constants.h:116
static const double yocto
Definition: constants.h:139
static const double kilopound_force
Definition: constants.h:56
static const double electron_magnetic_moment
Definition: constants.h:167
static const double day
Definition: constants.h:164
CSGM system of units and constants.
Definition: constants.h:146
static const double lux
Definition: constants.h:195
static const double uk_gallon
Definition: constants.h:110
static const double kilometers_per_hour
Definition: constants.h:188
static const double unified_atomic_mass
Definition: constants.h:112
static const double kilometers_per_hour
Definition: constants.h:55
static const double giga
Definition: constants.h:130
static const double stokes
Definition: constants.h:234
static const double electron_volt
Definition: constants.h:168
static const double yard
Definition: constants.h:117
static const double newton
Definition: constants.h:76
static const double gauss
Definition: constants.h:44
static const double uk_gallon
Definition: constants.h:243
static const double light_year
Definition: constants.h:192
static const double poise
Definition: constants.h:85
static const double inch_of_water
Definition: constants.h:186
static const double hectare
Definition: constants.h:48
static const double mile
Definition: constants.h:71
static const double kilopound_force
Definition: constants.h:189
static const double faraday
Definition: constants.h:38
static const double newton
Definition: constants.h:209
static const double angstrom
Definition: constants.h:18
MKSA system of units and constants.
Definition: constants.h:13
static const double lumen
Definition: constants.h:61
static const double bar
Definition: constants.h:20
static const double mile
Definition: constants.h:204
static const double horsepower
Definition: constants.h:49
static const double footlambert
Definition: constants.h:43
static const double std_atmosphere
Definition: constants.h:231
static const double therm
Definition: constants.h:105
static const double std_atmosphere
Definition: constants.h:98
static const double mass_muon
Definition: constants.h:197
static const double ounce_mass
Definition: constants.h:211
static const double gravitational_constant
Definition: constants.h:47
static const double quart
Definition: constants.h:224
static const double mass_electron
Definition: constants.h:63
static const double dyne
Definition: constants.h:165
static const double mass_muon
Definition: constants.h:64
static const double poundal
Definition: constants.h:219
static const double troy_ounce
Definition: constants.h:242
static const double micron
Definition: constants.h:202
static const double stilb
Definition: constants.h:233
static const double fine_structure
Definition: constants.h:129
static const double rydberg
Definition: constants.h:94
static const double liter
Definition: constants.h:193
static const double pound_mass
Definition: constants.h:88
static const double footcandle
Definition: constants.h:174
Top-level namespace of the Bayeux/mygsl module library.
Definition: base_decay_driver.h:47
static const double point
Definition: constants.h:217
static const double liter
Definition: constants.h:60
static const double ton
Definition: constants.h:240
static const double troy_ounce
Definition: constants.h:109
static const double ton
Definition: constants.h:107
static const double proton_magnetic_moment
Definition: constants.h:222
static const double footcandle
Definition: constants.h:42
static const double kilo
Definition: constants.h:131
static const double erg
Definition: constants.h:37
static const double barn
Definition: constants.h:21
static const double thomson_cross_section
Definition: constants.h:239
static const double solar_mass
Definition: constants.h:95
static const double speed_of_light
Definition: constants.h:96
static const double femto
Definition: constants.h:128
static const double teaspoon
Definition: constants.h:236
static const double calorie
Definition: constants.h:159
static const double teaspoon
Definition: constants.h:103
static const double miles_per_hour
Definition: constants.h:205
static const double electron_charge
Definition: constants.h:34
static const double torr
Definition: constants.h:241
static const double footlambert
Definition: constants.h:175
static const double speed_of_light
Definition: constants.h:229
static const double knot
Definition: constants.h:190
static const double dyne
Definition: constants.h:33
static const double curie
Definition: constants.h:30
static const double erg
Definition: constants.h:169
static const double pound_force
Definition: constants.h:87
static const double light_year
Definition: constants.h:59
static const double us_gallon
Definition: constants.h:246
static const double stefan_boltzmann_constant
Definition: constants.h:232
static const double fathom
Definition: constants.h:39
static const double tera
Definition: constants.h:138
static const double us_gallon
Definition: constants.h:113
static const double molar_gas
Definition: constants.h:74
static const double parsec
Definition: constants.h:79
static const double uk_ton
Definition: constants.h:111
static const double texpoint
Definition: constants.h:104
static const double bohr_radius
Definition: constants.h:23
static const double tablespoon
Definition: constants.h:102
static const double ounce_mass
Definition: constants.h:78
static const double gravitational_constant
Definition: constants.h:180
static const double barn
Definition: constants.h:154
static const double metric_ton
Definition: constants.h:201
static const double micro
Definition: constants.h:133
static const double vacuum_permittivity
Definition: constants.h:115
static const double nuclear_magneton
Definition: constants.h:77
static const double minute
Definition: constants.h:73
static const double cup
Definition: constants.h:29
static const double yard
Definition: constants.h:248
static const double acre
Definition: constants.h:17
static const double lambert
Definition: constants.h:191
static const double electron_charge
Definition: constants.h:166
static const double btu
Definition: constants.h:25
static const double poise
Definition: constants.h:218
static const double canadian_gallon
Definition: constants.h:160
static const double vacuum_permeability
Definition: constants.h:114
static const double inch_of_mercury
Definition: constants.h:185
static const double lambert
Definition: constants.h:58
static const double plancks_constant_hbar
Definition: constants.h:83
static const double molar_gas
Definition: constants.h:207
static const double hour
Definition: constants.h:183
static const double mass_neutron
Definition: constants.h:65
static const double mass_proton
Definition: constants.h:66
static const double grav_accel
Definition: constants.h:46
static const double peta
Definition: constants.h:136