00001 #pragma ident "$Id: RelativityEffect.hpp 3140 2012-06-18 15:03:02Z susancummins $" 00002 00008 #ifndef GPSTK_RELATIVITY_EFFECT_HPP 00009 #define GPSTK_RELATIVITY_EFFECT_HPP 00010 00011 //============================================================================ 00012 // 00013 // This file is part of GPSTk, the GPS Toolkit. 00014 // 00015 // The GPSTk is free software; you can redistribute it and/or modify 00016 // it under the terms of the GNU Lesser General Public License as published 00017 // by the Free Software Foundation; either version 2.1 of the License, or 00018 // any later version. 00019 // 00020 // The GPSTk is distributed in the hope that it will be useful, 00021 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00023 // GNU Lesser General Public License for more details. 00024 // 00025 // You should have received a copy of the GNU Lesser General Public 00026 // License along with GPSTk; if not, write to the Free Software Foundation, 00027 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA 00028 // 00029 // Wei Yan - Chinese Academy of Sciences . 2009, 2010 00030 // 00031 //============================================================================ 00032 00033 #include "ForceModel.hpp" 00034 00035 00036 namespace gpstk 00037 { 00040 00047 class RelativityEffect : public ForceModel 00048 { 00049 public: 00051 RelativityEffect(){} 00052 00054 virtual ~RelativityEffect(){} 00055 00057 virtual void doCompute(UTCTime utc, EarthBody& rb, Spacecraft& sc); 00058 00060 virtual std::string modelName() const 00061 { return "RelativityEffect"; } 00062 00064 virtual int forceIndex() const 00065 { return FMI_RELATIVE; } 00066 00067 protected: 00068 00069 00070 }; // End of class 'RelativityEffect' 00071 00072 // @} 00073 00074 } // End of namespace 'gpstk' 00075 00076 #endif // GPSTK_RELATIVITY_EFFECT_HPP
1.3.9.1