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

Last change on this file since 7625 was 7625, checked in by stuerze, 8 years ago

some value initialization in constructor is added

File size: 1.8 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"
[7240]8#include "satObs.h"
[7246]9#include "bncutils.h"
[2579]10
[5814]11namespace BNC_PPP {
[5805]12
[5801]13class t_astro {
14 public:
15 static ColumnVector Sun(double Mjd_TT);
16 static ColumnVector Moon(double Mjd_TT);
[6400]17 static Matrix rotX(double Angle);
18 static Matrix rotY(double Angle);
19 static Matrix rotZ(double Angle);
[2579]20
[5801]21 private:
[6268]22 static const double RHO_DEG;
23 static const double RHO_SEC;
24 static const double MJD_J2000;
[2582]25
[5801]26 static double GMST(double Mjd_UT1);
27 static Matrix NutMatrix(double Mjd_TT);
28 static Matrix PrecMatrix (double Mjd_1, double Mjd_2);
29};
30
31class t_tides {
32 public:
33 t_tides() {
34 _lastMjd = 0.0;
[7625]35 _rSun = 0.0;
36 _rMoon = 0.0;
[5801]37 }
38 ~t_tides() {}
39 ColumnVector displacement(const bncTime& time, const ColumnVector& xyz);
40 private:
41 double _lastMjd;
42 ColumnVector _xSun;
43 ColumnVector _xMoon;
44 double _rSun;
45 double _rMoon;
46};
47
[5802]48class t_windUp {
49 public:
50 t_windUp();
51 ~t_windUp() {};
52 double value(const bncTime& etime, const ColumnVector& rRec, t_prn prn,
53 const ColumnVector& rSat);
54 private:
55 double lastEtime[t_prn::MAXPRN+1];
56 double sumWind[t_prn::MAXPRN+1];
57};
58
[5808]59class t_tropo {
[7625]60 public:
[5808]61 static double delay_saast(const ColumnVector& xyz, double Ele);
62};
63
[7240]64class t_iono {
65 public:
66 t_iono();
67 ~t_iono();
[7246]68 double stec(const t_vTec* vTec, double signalPropagationTime,
69 const ColumnVector& rSat, const bncTime& epochTime,
70 const ColumnVector& xyzSta);
[7240]71 private:
[7246]72 double vtecSingleLayerContribution(const t_vTecLayer& vTecLayer);
73 void piercePoint(double layerHeight, double epoch, const double* geocSta,
74 double sphEle, double sphAzi);
75 double _psiPP;
76 double _phiPP;
77 double _lambdaPP;
78 double _lonS;
[7240]79
80
81};
82
[5805]83}
84
[2579]85#endif
Note: See TracBrowser for help on using the repository browser.