Files
katrin-plasma/src/mc_electron/constants.hpp
T
Christian 62772f8477 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
2019-04-02 10:44:33 +02:00

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 */