Changeset 7259 in ntrip
- Timestamp:
- Aug 28, 2015, 1:20:35 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppModel.cpp
r7256 r7259 428 428 piercePoint(vTec->_layers[ii]._height, epoch, geocSta.data(), sphEle, sphAzi); 429 429 double vtec = vtecSingleLayerContribution(vTec->_layers[ii]); 430 stec += vtec * sin(sphEle *_psiPP);430 stec += vtec * sin(sphEle + _psiPP); 431 431 } 432 432 return stec; … … 461 461 return 0.0; 462 462 } 463 463 464 return vtec; 464 465 } … … 469 470 double q = (t_CST::rgeoc + geocSta[2]) / (t_CST::rgeoc + layerHeight); 470 471 471 _psiPP = M_PI /2 - sphEle - asin(q * cos(sphEle));472 _psiPP = M_PI/2 - sphEle - asin(q * cos(sphEle)); 472 473 473 474 _phiPP = asin(sin(geocSta[0]) * cos(_psiPP) + cos(geocSta[0]) * sin(_psiPP) * cos(sphAzi)); … … 480 481 } 481 482 482 _lonS = fmod((_lambdaPP + (epoch - 50400) * (M_PI / 43200)), 2*M_PI);483 _lonS = fmod((_lambdaPP + (epoch - 50400) * M_PI / 43200), 2*M_PI); 483 484 484 485 return;
Note:
See TracChangeset
for help on using the changeset viewer.