Changeset 1100 in ntrip


Ignore:
Timestamp:
Sep 3, 2008, 12:55:53 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r1077 r1100  
    470470  dx(2) =  0.051;
    471471  dx(3) = -0.048;
    472   const static double arcSec = 180.0 * 3600.0 / M_PI;
    473   const static double ox =  0.000081 / arcSec;
    474   const static double oy =  0.000490 / arcSec;
    475   const static double oz = -0.000792 / arcSec;
     472  static const double arcSec = 180.0 * 3600.0 / M_PI;
     473  static const double ox =  0.000081 / arcSec;
     474  static const double oy =  0.000490 / arcSec;
     475  static const double oz = -0.000792 / arcSec;
    476476
    477477  Matrix rMat(3,3); rMat = 0.0;
  • trunk/BNS/bnseph.cpp

    r1089 r1100  
    221221                        ColumnVector& vv) const {
    222222
    223   const static double secPerWeek = 7 * 86400.0;
    224   const static double omegaEarth = 7292115.1467e-11;
    225   const static double gmWGS      = 398.6005e12;
     223  static const double secPerWeek = 7 * 86400.0;
     224  static const double omegaEarth = 7292115.1467e-11;
     225  static const double gmWGS      = 398.6005e12;
    226226
    227227  if (xc.Nrows() < 4) {
     
    366366  // Acceleration
    367367  // ------------
    368   const static double GM    = 398.60044e12;
    369   const static double AE    = 6378136.0;
    370   const static double OMEGA = 7292115.e-11;
    371   const static double C20   = -1082.63e-6;
     368  static const double GM    = 398.60044e12;
     369  static const double AE    = 6378136.0;
     370  static const double OMEGA = 7292115.e-11;
     371  static const double C20   = -1082.63e-6;
    372372
    373373  double rho = rr.norm_Frobenius();
     
    396396                        ColumnVector& vv) const {
    397397
    398   const static double secPerWeek  = 7 * 86400.0;
    399   const static double nominalStep = 10.0;
     398  static const double secPerWeek  = 7 * 86400.0;
     399  static const double nominalStep = 10.0;
    400400
    401401  double dtPos = GPSweeks - _tt;
  • trunk/BNS/bnsutils.cpp

    r930 r1100  
    9898void mjdFromDateAndTime(const QDateTime& dateTime, int& mjd, double& dayfrac) {
    9999
    100   const static QDate zeroDate(1858, 11, 17);
     100  static const QDate zeroDate(1858, 11, 17);
    101101
    102102  mjd     = zeroDate.daysTo(dateTime.date());
Note: See TracChangeset for help on using the changeset viewer.