- Timestamp:
- Sep 3, 2008, 12:55:53 PM (16 years ago)
- Location:
- trunk/BNS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.cpp
r1077 r1100 470 470 dx(2) = 0.051; 471 471 dx(3) = -0.048; 472 const staticdouble arcSec = 180.0 * 3600.0 / M_PI;473 const staticdouble ox = 0.000081 / arcSec;474 const staticdouble oy = 0.000490 / arcSec;475 const staticdouble 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; 476 476 477 477 Matrix rMat(3,3); rMat = 0.0; -
trunk/BNS/bnseph.cpp
r1089 r1100 221 221 ColumnVector& vv) const { 222 222 223 const staticdouble secPerWeek = 7 * 86400.0;224 const staticdouble omegaEarth = 7292115.1467e-11;225 const staticdouble 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; 226 226 227 227 if (xc.Nrows() < 4) { … … 366 366 // Acceleration 367 367 // ------------ 368 const staticdouble GM = 398.60044e12;369 const staticdouble AE = 6378136.0;370 const staticdouble OMEGA = 7292115.e-11;371 const staticdouble 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; 372 372 373 373 double rho = rr.norm_Frobenius(); … … 396 396 ColumnVector& vv) const { 397 397 398 const staticdouble secPerWeek = 7 * 86400.0;399 const staticdouble nominalStep = 10.0;398 static const double secPerWeek = 7 * 86400.0; 399 static const double nominalStep = 10.0; 400 400 401 401 double dtPos = GPSweeks - _tt; -
trunk/BNS/bnsutils.cpp
r930 r1100 98 98 void mjdFromDateAndTime(const QDateTime& dateTime, int& mjd, double& dayfrac) { 99 99 100 const staticQDate zeroDate(1858, 11, 17);100 static const QDate zeroDate(1858, 11, 17); 101 101 102 102 mjd = zeroDate.daysTo(dateTime.date());
Note:
See TracChangeset
for help on using the changeset viewer.