- Timestamp:
- May 8, 2008, 5:44:02 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnseph.cpp
r891 r892 367 367 } 368 368 369 // Position and Velocity 370 // --------------------- 369 371 xc(1) = _xv(1); 370 372 xc(2) = _xv(2); 371 373 xc(3) = _xv(3); 372 374 373 xc(4) = 0.0;374 375 375 vv(1) = _xv(4); 376 376 vv(2) = _xv(5); 377 377 vv(3) = _xv(6); 378 } 379 378 379 // Clock Correction 380 // ---------------- 381 double dtClk = GPSweeks - _GPSweeks; 382 if (GPSweek != _GPSweek) { 383 dtClk += (GPSweek - _GPSweek) * secPerWeek; 384 } 385 xc(4) = _tau + _gamma * dtClk / 86400.0; 386 } 387
Note:
See TracChangeset
for help on using the changeset viewer.