source: ntrip/trunk/BNC/src/PPP/pppModel.h@ 5801

Last change on this file since 5801 was 5801, checked in by mervart, 10 years ago
File size: 891 bytes
Line 
1#ifndef PPPMODEL_H
2#define PPPMODEL_H
3
4#include <newmat.h>
5#include "bnctime.h"
6
7class t_astro {
8 public:
9 static ColumnVector Sun(double Mjd_TT);
10 static ColumnVector Moon(double Mjd_TT);
11
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
26class 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};
40
41#endif
Note: See TracBrowser for help on using the repository browser.