Restructuring Code. Removed some small classes which provided only 1 function, like parameter. Now each class calls it own parameters and stores them as static const.
Merged function containers. Added HDF5 output and reworked Logger class into Base class and 2 derived classes ASCI_Logger and H5_Logger
This commit is contained in:
@@ -12,29 +12,24 @@
|
||||
|
||||
typedef const double constant;
|
||||
|
||||
class Constants {
|
||||
public:
|
||||
Constants() {};
|
||||
// Natural Constants
|
||||
static constant pi;
|
||||
static constant c_ms;
|
||||
static constant kb_eVK;
|
||||
static constant e_C;
|
||||
static constant rBohr_m;
|
||||
static constant ERyd_eV;
|
||||
|
||||
// Particle Properties
|
||||
static constant me_eV;
|
||||
static constant re_m;
|
||||
static constant ZT2;
|
||||
static constant mT2_eV;
|
||||
static constant EionT2_eV;
|
||||
|
||||
// Beta Decay
|
||||
static constant BetaDecayConst;
|
||||
static constant TritiumDecayEndpoint_eV;
|
||||
// Natural Constants
|
||||
constant pi = 3.1415;
|
||||
constant c_ms = 299792458;
|
||||
constant kb_eVK = 8.6173303e-5;
|
||||
constant e_C = 1.602176462e-19;
|
||||
constant rBohr_m = 0.52917721067e-10;
|
||||
constant ERyd_eV = 13.605693009;
|
||||
|
||||
};
|
||||
// Particle Properties
|
||||
constant me_eV = 0.511e6;
|
||||
constant re_m = 2.817940322719e-15;
|
||||
constant ZT2 = 2.;
|
||||
constant mT2_eV = 5.61886404234e9;
|
||||
constant EionT2_eV = 15.43;
|
||||
|
||||
// Beta Decay
|
||||
constant BetaDecayConst = 1.2072343416696292e-47;
|
||||
constant TritiumDecayEndpoint_eV = 18.574e3;
|
||||
|
||||
|
||||
#endif /* constants_hpp */
|
||||
|
||||
Reference in New Issue
Block a user