step/stepcore
constants.h
Go to the documentation of this file.00001 /* This file is part of StepCore library. 00002 Copyright (C) 2007 Vladimir Kuznetsov <ks.vladimir@gmail.com> 00003 00004 StepCore library is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU General Public License as published by 00006 the Free Software Foundation; either version 2 of the License, or 00007 (at your option) any later version. 00008 00009 StepCore library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with StepCore; if not, write to the Free Software 00016 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00017 */ 00018 00019 #ifndef STEPCORE_CONSTANTS_H 00020 #define STEPCORE_CONSTANTS_H 00021 00026 namespace StepCore { 00027 00033 class Constants { 00034 public: 00036 static const double Pi; 00037 00039 static const double SpeedOfLight; 00041 static const double Electric; 00043 static const double Magnetic; 00044 00046 static const double Coulomb; 00048 static const double CoulombError; 00049 00051 static const double Gravitational; 00053 static const double GravitationalError; 00054 00056 static const double Planck; 00058 static const double PlanckError; 00059 00061 static const double Boltzmann; 00063 static const double BoltzmannError; 00064 00066 static const double WeightAccel; 00068 static const double WeightAccelError; 00069 }; 00070 00071 } // namespace StepCore 00072 00073 #endif 00074
KDE 4.2 API Reference