- Timestamp:
- Nov 25, 2020, 10:00:08 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppModel.cpp
r8905 r9279 651 651 xyz2ell(xyz.data(), ell); 652 652 double height = ell[2]; 653 // Prevent pp from causing segmentation fault (Loukis) 654 if (height > 40000.0 ) { 655 return 0.000000001; 656 } 653 657 654 658 double pp = 1013.25 * pow(1.0 - 2.26e-5 * height, 5.225);
Note:
See TracChangeset
for help on using the changeset viewer.