Line | |
---|
1 | #ifndef PPPMODEL_H
|
---|
2 | #define PPPMODEL_H
|
---|
3 |
|
---|
4 | #include <newmat.h>
|
---|
5 | #include "bnctime.h"
|
---|
6 |
|
---|
7 | class 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 |
|
---|
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 | };
|
---|
40 |
|
---|
41 | class t_windUp {
|
---|
42 | public:
|
---|
43 | t_windUp();
|
---|
44 | ~t_windUp() {};
|
---|
45 | double value(const bncTime& etime, const ColumnVector& rRec, t_prn prn,
|
---|
46 | const ColumnVector& rSat);
|
---|
47 | private:
|
---|
48 | double lastEtime[t_prn::MAXPRN+1];
|
---|
49 | double sumWind[t_prn::MAXPRN+1];
|
---|
50 | };
|
---|
51 |
|
---|
52 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.