My Project
variousConstants.h
1 
8 #ifndef VARIOUS_CONSTANTS_H
9 #define VARIOUS_CONSTANTS_H
10 
12 namespace VC {
13  static const double zero_f = 1e-31;
14  static const double mc2 = 0.511;
15  static const double pi = 3.141592653589793238462643;
16  static const double m = 9.10953e-28;
17  static const double c_cgs = 2.998e10;
18  static const double c_si = 2.998e8;
19  static const double qe = 4.803242e-10;
20  static const double B_0 = 0.311;
21 
22  static const double exp = 2.7183;
23 
24  static const double RE = 6.371e6;
25 
26  //#define VC::mc2 0.511
27  //#define VC::pi 3.141592653589793238462643
28  //#define VC::m 9.10953e-28 // g
29  //#define VC::c 3.e10 // cm/s
30  //#define VC::qe 4.803242e-10 // CGS units
31  //#define VC::B_0 0.31 // Gauss
32 }
33 
34 #endif
Various mathematical constants.