Changeset 5753 in ntrip for trunk/BNC/src/PPP
- Timestamp:
- Aug 3, 2014, 11:58:23 AM (11 years ago)
- File:
-
- 1 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 ) {
Note:
See TracChangeset
for help on using the changeset viewer.