Merged function containers. Added HDF5 output and reworked Logger class into Base class and 2 derived classes ASCI_Logger and H5_Logger
37 lines
743 B
C++
37 lines
743 B
C++
//
|
|
// constants.hpp
|
|
// mc_electron
|
|
//
|
|
// Created by Christian Reiling on 08.10.18.
|
|
// Copyright © 2018 Christian Reiling. All rights reserved.
|
|
//
|
|
|
|
#ifndef constants_hpp
|
|
#define constants_hpp
|
|
|
|
|
|
typedef const double constant;
|
|
|
|
// 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 */
|
|
|