00001 #pragma ident "$Id: SunForce.hpp 2457 2010-08-18 14:20:12Z coandrei $" 00002 00008 #ifndef GPSTK_SUN_FORCE_HPP 00009 #define GPSTK_SUN_FORCE_HPP 00010 00011 00012 //============================================================================ 00013 // 00014 // This file is part of GPSTk, the GPS Toolkit. 00015 // 00016 // The GPSTk is free software; you can redistribute it and/or modify 00017 // it under the terms of the GNU Lesser General Public License as published 00018 // by the Free Software Foundation; either version 2.1 of the License, or 00019 // any later version. 00020 // 00021 // The GPSTk is distributed in the hope that it will be useful, 00022 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00023 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00024 // GNU Lesser General Public License for more details. 00025 // 00026 // You should have received a copy of the GNU Lesser General Public 00027 // License along with GPSTk; if not, write to the Free Software Foundation, 00028 // Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00029 // 00030 // Wei Yan - Chinese Academy of Sciences . 2009, 2010 00031 // 00032 //============================================================================ 00033 00034 #include "ForceModel.hpp" 00035 00036 namespace gpstk 00037 { 00040 00046 class SunForce : public ForceModel 00047 { 00048 public: 00050 SunForce(); 00051 00053 ~SunForce(void){}; 00054 00055 00062 virtual void doCompute(UTCTime utc, EarthBody& rb, Spacecraft& sc); 00063 00064 00066 virtual std::string modelName() const 00067 { return "SunForce"; } 00068 00069 00071 virtual int forceIndex() const 00072 { return FMI_GEOSUN; } 00073 00074 void test(); 00075 00076 protected: 00077 00079 double mu; 00080 00081 00082 }; // End of class 'SunForce' 00083 00084 // @} 00085 00086 } // End of namespace 'gpstk' 00087 00088 #endif // GPSTK_SUN_FORCE_HPP 00089 00090
1.3.9.1