Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

Acceleration.cc

Go to the documentation of this file.
00001 
00004 /* Copyright (C) 2002-2004, Bernd Speiser */
00005 
00006 /* This file is part of PhysicalQuantities.
00007 
00008 PhysicalQuantities is free software; you can redistribute it and/or
00009 modify it under the terms of the GNU General Public License
00010 as published by the Free Software Foundation; either version 2
00011 of the License, or (at your option) any later version.
00012 
00013 PhysicalQuantities is distributed in the hope that it will be useful,
00014 but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 GNU General Public License for more details.
00017   
00018 You should have received a copy of the GNU General Public License
00019 along with this program; if not, write to the Free Software
00020 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00021 02111-1307, USA.
00022 */
00023 
00024 #ifndef _Acceleration_cc
00025 #define _Acceleration_cc
00026 
00027 #include "Quantity/Variable.h"
00028 
00029 #include "PhysicalQuantities/Acceleration.h"
00030 
00031 namespace Quantities {
00032   namespace AccelerationUnits {
00033 /* the metre per square second, m/s^2 */
00034 
00035 /* the Gal */
00036 
00037 template<> const double Gal::StandardRatio = 1.0e-2;
00038 template<> const std::string Gal::Namestring  = "gal"; 
00039 template<> const std::string Gal::Symbolstring = "Gal";
00040 template<> const bool Gal::SI = false;
00041 template<> const bool Gal::Exact = true; 
00042 
00043 /* the acceleration of free fall */
00044 
00045 template<> const double StandardAccelerationOfFreeFall::StandardRatio
00046                                                               = 9.80665;
00047 template<> const 
00048   std::string StandardAccelerationOfFreeFall::Namestring 
00049                                      = "standardaccelerationoffreefall";
00050 template<> const 
00051          std::string StandardAccelerationOfFreeFall::Symbolstring = "g";
00052 template<> const bool StandardAccelerationOfFreeFall::SI = false;
00053 template<> const bool StandardAccelerationOfFreeFall::Exact = true; 
00054 
00055   }
00056   
00057 const std::string Name<AccelerationQuantities>::String = "acceleration";
00058 const std::string Symbol<AccelerationQuantities>::String = "a";
00059 
00060 }
00061 
00062 #endif /* _Acceleration_cc */

Generated on Sun Jan 15 13:58:03 2006 for PhysicalQuantities by doxygen 1.3.6