CARMA C++
Physical.h
Go to the documentation of this file.
1 // $Id: Physical.h,v 1.7 2006/01/20 16:03:22 mpound Exp $
2 
13 #ifndef CARMA_SERVICES_CONSTANTS_PHYSICAL_H
14 #define CARMA_SERVICES_CONSTANTS_PHYSICAL_H
15 
16 namespace carma {
17  namespace services {
18  namespace constants {
19 
29  class Physical {
30  public:
35  static const double C = 299792458.0;
36 
41  static const double G = 6.6742E-11;
42 
47  static const double K = 1.3806505E-23;
48 
53  static const double H = 6.6260693E-34;
54 
59  static const double ABS_ZERO = -273.15;
60 
65  static const double R_WATER = 461.5;
66 
71  static const double NANOSEC_PER_METER = 3.33564095198;
72 
73 
74  // destructor is public because compiler will complain about
75  // private destructor with no friends
76  ~Physical();
77 
78  private: /* no subclassing allowed */
79  Physical();
80  };
81  }
82  }
83 }
84 
85 #endif //CARMA_SERVICES_CONSTANTS_PHYSICAL_H
static const double R_WATER
Individual gas constant for water Units: Joule/(kg*K)
Definition: Physical.h:65
static const double NANOSEC_PER_METER
conversion of nanoseconds of delay to meters of delay
Definition: Physical.h:71
static const double H
Planck's constant Units: J*s.
Definition: Physical.h:53
static const double K
Boltzmann's extern constant Units: Joule/K.
Definition: Physical.h:47
static const double G
Newton's gravitational extern constant Units: m^3 kg^-1 s^-1.
Definition: Physical.h:41
static const double ABS_ZERO
Absolute zero.
Definition: Physical.h:59
static const double C
Speed of light Units: m/s.
Definition: Physical.h:35
Standard physical constants CARMA-wide.
Definition: Physical.h:29