Changeset 5801 in ntrip for trunk/BNC/src/PPP/pppModel.h


Ignore:
Timestamp:
Aug 6, 2014, 10:24:02 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppModel.h

    r5800 r5801  
    1 #ifndef BNCTIDES_H
    2 #define BNCTIDES_H
     1#ifndef PPPMODEL_H
     2#define PPPMODEL_H
    33
    44#include <newmat.h>
    55#include "bnctime.h"
    66
    7 ColumnVector Sun(double Mjd_TT);
     7class t_astro {
     8 public:
     9  static ColumnVector Sun(double Mjd_TT);
     10  static ColumnVector Moon(double Mjd_TT);
    811
    9 void         tides(const bncTime& time, ColumnVector& xyz);
     12 private:
     13  static const double RHO_DEG   = 180.0 / M_PI;
     14  static const double RHO_SEC   = 3600.0 * 180.0 / M_PI;
     15  static const double MJD_J2000 = 51544.5;
     16
     17  static Matrix rotX(double Angle);
     18  static Matrix rotY(double Angle);
     19  static Matrix rotZ(double Angle);
     20
     21  static double GMST(double Mjd_UT1);
     22  static Matrix NutMatrix(double Mjd_TT);
     23  static Matrix PrecMatrix (double Mjd_1, double Mjd_2);
     24};
     25
     26class t_tides {
     27 public:
     28  t_tides() {
     29    _lastMjd = 0.0;
     30  }
     31  ~t_tides() {}
     32  ColumnVector displacement(const bncTime& time, const ColumnVector& xyz);
     33 private:
     34  double       _lastMjd;
     35  ColumnVector _xSun;
     36  ColumnVector _xMoon;
     37  double       _rSun;
     38  double       _rMoon;
     39};
    1040
    1141#endif
Note: See TracChangeset for help on using the changeset viewer.