Acceleration.cc

Go to the documentation of this file.
00001 
00004 /* Copyright (C) 2002 - 2009, 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 // Quantity includes
00028 #include "PhysicalQuantities/Acceleration.h"
00029 
00030 namespace quantity {
00031   namespace acceleration {
00032 /* the metre per square second, m/s^2 */
00033 
00034 /* the Gal */
00035 
00036 template<> const std::string Gal::Namestring  = "gal"; 
00037 template<> const std::string Gal::Symbolstring = "Gal";
00038 template<> const bool Gal::SI = false;
00039 
00040 /* the acceleration of free fall */
00041 
00042 template<> const 
00043   std::string StandardAccelerationOfFreeFall::Namestring 
00044                                      = "standardaccelerationoffreefall";
00045 template<> const 
00046          std::string StandardAccelerationOfFreeFall::Symbolstring = "g";
00047 template<> const bool StandardAccelerationOfFreeFall::SI = false;
00048 
00049   }
00050   
00051 const std::string QuantityTraits<acceleration::Class>::NameString = "acceleration";
00052 const std::string QuantityTraits<acceleration::Class>::SymbolString = "a";
00053 
00054 }
00055 
00056 #endif /* _Acceleration_cc */

Generated on Mon Jul 27 15:55:44 2009 for Quantities by  doxygen 1.5.3