source: ntrip/trunk/BNC/src/pppModel.h@ 6352

Last change on this file since 6352 was 6268, checked in by mervart, 10 years ago
File size: 1.2 KB
RevLine 
[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]9namespace BNC_PPP {
[5805]10
[5801]11class t_astro {
12 public:
13 static ColumnVector Sun(double Mjd_TT);
14 static ColumnVector Moon(double Mjd_TT);
[2579]15
[5801]16 private:
[6268]17 static const double RHO_DEG;
18 static const double RHO_SEC;
19 static const double MJD_J2000;
[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
30class 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]45class 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]56class 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.