Line | |
---|
1 | #ifndef PPPMODEL_H
|
---|
2 | #define PPPMODEL_H
|
---|
3 |
|
---|
4 | #include <math.h>
|
---|
5 | #include <newmat.h>
|
---|
6 | #include "bnctime.h"
|
---|
7 | #include "t_prn.h"
|
---|
8 |
|
---|
9 | namespace BNC_PPP {
|
---|
10 |
|
---|
11 | class t_astro {
|
---|
12 | public:
|
---|
13 | static ColumnVector Sun(double Mjd_TT);
|
---|
14 | static ColumnVector Moon(double Mjd_TT);
|
---|
15 | static Matrix rotX(double Angle);
|
---|
16 | static Matrix rotY(double Angle);
|
---|
17 | static Matrix rotZ(double Angle);
|
---|
18 |
|
---|
19 | private:
|
---|
20 | static const double RHO_DEG;
|
---|
21 | static const double RHO_SEC;
|
---|
22 | static const double MJD_J2000;
|
---|
23 |
|
---|
24 | static double GMST(double Mjd_UT1);
|
---|
25 | static Matrix NutMatrix(double Mjd_TT);
|
---|
26 | static Matrix PrecMatrix (double Mjd_1, double Mjd_2);
|
---|
27 | };
|
---|
28 |
|
---|
29 | class t_tides {
|
---|
30 | public:
|
---|
31 | t_tides() {
|
---|
32 | _lastMjd = 0.0;
|
---|
33 | }
|
---|
34 | ~t_tides() {}
|
---|
35 | ColumnVector displacement(const bncTime& time, const ColumnVector& xyz);
|
---|
36 | private:
|
---|
37 | double _lastMjd;
|
---|
38 | ColumnVector _xSun;
|
---|
39 | ColumnVector _xMoon;
|
---|
40 | double _rSun;
|
---|
41 | double _rMoon;
|
---|
42 | };
|
---|
43 |
|
---|
44 | class t_windUp {
|
---|
45 | public:
|
---|
46 | t_windUp();
|
---|
47 | ~t_windUp() {};
|
---|
48 | double value(const bncTime& etime, const ColumnVector& rRec, t_prn prn,
|
---|
49 | const ColumnVector& rSat);
|
---|
50 | private:
|
---|
51 | double lastEtime[t_prn::MAXPRN+1];
|
---|
52 | double sumWind[t_prn::MAXPRN+1];
|
---|
53 | };
|
---|
54 |
|
---|
55 | class t_tropo {
|
---|
56 | public:
|
---|
57 | static double delay_saast(const ColumnVector& xyz, double Ele);
|
---|
58 | };
|
---|
59 |
|
---|
60 | }
|
---|
61 |
|
---|
62 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.