Changeset 5801 in ntrip for trunk/BNC/src/PPP/pppModel.h
- Timestamp:
- Aug 6, 2014, 10:24:02 AM (10 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppModel.h
r5800 r5801 1 #ifndef BNCTIDES_H2 #define BNCTIDES_H1 #ifndef PPPMODEL_H 2 #define PPPMODEL_H 3 3 4 4 #include <newmat.h> 5 5 #include "bnctime.h" 6 6 7 ColumnVector Sun(double Mjd_TT); 7 class t_astro { 8 public: 9 static ColumnVector Sun(double Mjd_TT); 10 static ColumnVector Moon(double Mjd_TT); 8 11 9 void tides(const bncTime& time, ColumnVector& xyz); 12 private: 13 static const double RHO_DEG = 180.0 / M_PI; 14 static const double RHO_SEC = 3600.0 * 180.0 / M_PI; 15 static const double MJD_J2000 = 51544.5; 16 17 static Matrix rotX(double Angle); 18 static Matrix rotY(double Angle); 19 static Matrix rotZ(double Angle); 20 21 static double GMST(double Mjd_UT1); 22 static Matrix NutMatrix(double Mjd_TT); 23 static Matrix PrecMatrix (double Mjd_1, double Mjd_2); 24 }; 25 26 class t_tides { 27 public: 28 t_tides() { 29 _lastMjd = 0.0; 30 } 31 ~t_tides() {} 32 ColumnVector displacement(const bncTime& time, const ColumnVector& xyz); 33 private: 34 double _lastMjd; 35 ColumnVector _xSun; 36 ColumnVector _xMoon; 37 double _rSun; 38 double _rMoon; 39 }; 10 40 11 41 #endif
Note:
See TracChangeset
for help on using the changeset viewer.