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

Last change on this file since 6630 was 6400, 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);
[6400]15 static Matrix rotX(double Angle);
16 static Matrix rotY(double Angle);
17 static Matrix rotZ(double Angle);
[2579]18
[5801]19 private:
[6268]20 static const double RHO_DEG;
21 static const double RHO_SEC;
22 static const double MJD_J2000;
[2582]23
[5801]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
[5802]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
[5808]55class t_tropo {
56 public:
57 static double delay_saast(const ColumnVector& xyz, double Ele);
58};
59
[5805]60}
61
[2579]62#endif
Note: See TracBrowser for help on using the repository browser.