Changeset 5753 in ntrip
- Timestamp:
- Aug 3, 2014, 11:58:23 AM (11 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/src/PPP/windup.cpp ¶
r5743 r5753 4 4 #include "bncconst.h" 5 5 #include "windup.h" 6 #include "astro.h"7 6 #include "bncutils.h" 7 #include "bnctides.h" 8 8 9 9 using namespace std; … … 35 35 ColumnVector sz = -rSat / rSat.norm_Frobenius(); 36 36 37 ColumnVector xSun = t_astro::Sun(etime);37 ColumnVector xSun = Sun(etime.mjddec()); 38 38 xSun /= xSun.norm_Frobenius(); 39 39 … … 77 77 if (alpha < -1.0) alpha = -1.0; 78 78 79 double dphi = acos(alpha) / 2.0 / t_genConst::pi; // in cycles79 double dphi = acos(alpha) / 2.0 / M_PI; // in cycles 80 80 81 81 if ( DotProduct(rho, crossproduct(dipSat, dipRec)) < 0.0 ) { -
TabularUnified trunk/BNC/src/bncutils.cpp ¶
r5752 r5753 285 285 } 286 286 287 // Round to nearest integer 288 //////////////////////////////////////////////////////////////////////////// 289 double nint(double val) { 290 return ((val < 0.0) ? -floor(fabs(val)+0.5) : floor(val+0.5)); 291 } 292 287 293 // Jacobian XYZ --> NEU 288 294 //////////////////////////////////////////////////////////////////////////// -
TabularUnified trunk/BNC/src/bncutils.h ¶
r5752 r5753 68 68 SymmetricMatrix& Qxyz); 69 69 70 double nint(double val); 71 70 72 ColumnVector rungeKutta4(double xi, const ColumnVector& yi, double dx, 71 73 double* acc, -
TabularUnified trunk/BNC/src/src.pri ¶
r5752 r5753 61 61 PPP/pppThread.h PPP/pppClient.h \ 62 62 PPP/obspool.h PPP/station.h PPP/filter.h PPP/ephpool.h \ 63 PPP/satobs.h PPP/satbias.h PPP/parlist.h 63 PPP/satobs.h PPP/satbias.h PPP/parlist.h PPP/windup.h 64 64 65 65 HEADERS += serial/qextserialbase.h serial/qextserialport.h … … 92 92 PPP/pppThread.cpp PPP/pppClient.cpp \ 93 93 PPP/obspool.cpp PPP/station.cpp PPP/filter.cpp PPP/ephpool.cpp \ 94 PPP/satobs.cpp PPP/satbias.cpp PPP/parlist.cpp 94 PPP/satobs.cpp PPP/satbias.cpp PPP/parlist.cpp PPP/windup.cpp 95 95 96 96 SOURCES += serial/qextserialbase.cpp serial/qextserialport.cpp
Note:
See TracChangeset
for help on using the changeset viewer.