00001 #pragma ident "$Id: EarthSolidTide.hpp 2457 2010-08-18 14:20:12Z coandrei $" 00002 00008 #ifndef GPSTK_SOLID_TIDE_HPP 00009 #define GPSTK_SOLID_TIDE_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 00035 namespace gpstk 00036 { 00039 00043 class EarthSolidTide 00044 { 00045 public: 00046 00048 EarthSolidTide(){} 00049 00051 ~EarthSolidTide(){} 00052 00060 void getSolidTide(double mjdUtc, double dC[], double dS[] ); 00061 00062 00063 void test(); 00064 00065 protected: 00066 00068 // relevant formula can be found in "satellite orbits"(3.23,3.24,3.25 in chapter 3.2.4) 00069 static double legendrePoly(int n,int m,double u); 00070 00071 double normFactor (int n, int m) ; 00072 00074 static const double Argu_C20[21][7]; 00075 static const double Argu_C21[48][7]; 00076 static const double Argu_C22[2][6]; 00077 00078 }; // End of class 'EarthSolidTide' 00079 00080 // @} 00081 00082 } // End of namespace 'gpstk' 00083 00084 #endif //GPSTK_SOLID_TIDE_HPP 00085 00086 00087 00088
1.3.9.1