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