constants.h

Go to the documentation of this file.
00001 
00015 #ifndef DLR_COMMON_CONSTANTS_H
00016 #define DLR_COMMON_CONSTANTS_H
00017 
00018 namespace dlr {
00019 
00020   namespace common {
00021     
00022     namespace constants {
00023 
00024       // Basic physical constants.
00025       const double e = 2.7182818284590451;
00026       const double pi = 3.141592653589793238;
00027 
00028       // Empirical constants.
00029       const double avogadro = 6.02214179E23;
00030 
00031       // Constants that derive from the basic ones.
00032       const double degreesPerRadian = 180.0 / pi;
00033       const double radiansPerDegree = pi / 180.0;
00034 
00035     } // nameapace contants
00036 
00037   } // namespace common
00038 
00039 } // namespace dlr
00040 
00041 #endif /* #ifndef DLR_COMMON_CONSTANTS_H */

Generated on Tue Nov 24 23:57:55 2009 for dlrCommon Utility Library by  doxygen 1.5.8