blob: 1db7a949b5514019716dd6c701bcd0d2c8aacd0e (
plain)
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
|
#pragma once
#define TP template <typename T = double> constexpr const T
namespace conv {
TP C_to_K = 273.15; // Celsius-Kelvin
TP K_to_C = -273.15;
TP J_to_eV = 6.2415e+18;
TP eV_to_J = 1 / 6.2415e+18;
} // namespace conv
namespace prak {
TP g = 9.81;
TP c = 299792458;
TP h = 6.62607015e-34;
TP hh = 1.054571817e-34;
TP k = 1.380649e-23;
TP G = 6.67430151515e-11;
TP e = 1.602176634e-19;
TP m_e = 9.109383713928e-31;
TP m_p = 1.672621925955252e-27;
TP m_n = 1.674927500568585e-27;
TP R = 8.31446261815324;
TP N_A = 6.02214076e23;
} // namespace prak
|