Changeset 6878 in ntrip
- Timestamp:
- Jun 3, 2015, 5:29:19 PM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r6857 r6878 463 463 t_vTecLayer layer; 464 464 layer._height = ionoLayer.Height; 465 layer._C.ReSize(ionoLayer.Degree , ionoLayer.Order);466 layer._S.ReSize(ionoLayer.Degree , ionoLayer.Order);467 for (unsigned iDeg = 0; iDeg < ionoLayer.Degree; iDeg++) {468 for (unsigned iOrd = 0; iOrd < ionoLayer.Order; iOrd++) {465 layer._C.ReSize(ionoLayer.Degree+1, ionoLayer.Order+1); 466 layer._S.ReSize(ionoLayer.Degree+1, ionoLayer.Order+1); 467 for (unsigned iDeg = 0; iDeg <= ionoLayer.Degree; iDeg++) { 468 for (unsigned iOrd = 0; iOrd <= ionoLayer.Order; iOrd++) { 469 469 layer._C[iDeg][iOrd] = ionoLayer.Cosinus[iDeg][iOrd]; 470 470 layer._S[iDeg][iOrd] = ionoLayer.Sinus[iDeg][iOrd]; -
trunk/BNC/src/satObs.cpp
r6859 r6878 299 299 const t_vTecLayer& layer = vTec._layers[ii]; 300 300 *out << setw(2) << ii+1 << ' ' 301 << setw(2) << layer._C.Nrows() << ' '302 << setw(2) << layer._C.Ncols() << ' '301 << setw(2) << layer._C.Nrows()-1 << ' ' 302 << setw(2) << layer._C.Ncols()-1 << ' ' 303 303 << setw(10) << setprecision(1) << layer._height << endl 304 304 << setw(10) << setprecision(4) << layer._C … … 334 334 in >> dummy >> maxDeg >> maxOrd >> layer._height; 335 335 336 layer._C.ReSize(maxDeg , maxOrd);337 layer._S.ReSize(maxDeg , maxOrd);338 339 for (int iDeg = 0; iDeg < maxDeg; iDeg++) {340 for (int iOrd = 0; iOrd < maxOrd; iOrd++) {336 layer._C.ReSize(maxDeg+1, maxOrd+1); 337 layer._S.ReSize(maxDeg+1, maxOrd+1); 338 339 for (int iDeg = 0; iDeg <= maxDeg; iDeg++) { 340 for (int iOrd = 0; iOrd <= maxOrd; iOrd++) { 341 341 inStream >> layer._C[iDeg][iOrd]; 342 342 } 343 343 } 344 for (int iDeg = 0; iDeg < maxDeg; iDeg++) {345 for (int iOrd = 0; iOrd < maxOrd; iOrd++) {344 for (int iDeg = 0; iDeg <= maxDeg; iDeg++) { 345 for (int iOrd = 0; iOrd <= maxOrd; iOrd++) { 346 346 inStream >> layer._S[iDeg][iOrd]; 347 347 }
Note:
See TracChangeset
for help on using the changeset viewer.