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

Last change on this file since 5805 was 5805, checked in by mervart, 10 years ago
File size: 1.2 KB
Line 
1#ifndef PPPMODEL_H
2#define PPPMODEL_H
3
4#include <newmat.h>
5#include "bnctime.h"
6#include "t_prn.h"
7
8namespace BNC {
9
10class t_astro {
11 public:
12 static ColumnVector Sun(double Mjd_TT);
13 static ColumnVector Moon(double Mjd_TT);
14
15 private:
16 static const double RHO_DEG = 180.0 / M_PI;
17 static const double RHO_SEC = 3600.0 * 180.0 / M_PI;
18 static const double MJD_J2000 = 51544.5;
19
20 static Matrix rotX(double Angle);
21 static Matrix rotY(double Angle);
22 static Matrix rotZ(double Angle);
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
29class 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
44class 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}
56
57#endif
Note: See TracBrowser for help on using the repository browser.