X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2FYASim%2FAtmosphere.hpp;h=b0cfd3d868adfbdb0977c1a22c4f60ded6e56fc8;hb=195eadc739395dcf105075726833cafb48745fcc;hp=2c10ff321366a30cf53b9f58f85d57ceca130a7f;hpb=f0e6716953604730579a5e45f785fd063737dce4;p=flightgear.git diff --git a/src/FDM/YASim/Atmosphere.hpp b/src/FDM/YASim/Atmosphere.hpp index 2c10ff321..b0cfd3d86 100644 --- a/src/FDM/YASim/Atmosphere.hpp +++ b/src/FDM/YASim/Atmosphere.hpp @@ -10,9 +10,12 @@ public: static float getStdDensity(float alt); static float calcVCAS(float spd, float pressure, float temp); - static float calcVEAS(float spd, float pressure, float temp); + static float calcVEAS(float spd, float pressure, float temp, float density); static float calcMach(float spd, float temp); - static float calcDensity(float pressure, float temp); + static float calcStdDensity(float pressure, float temp); + + static float spdFromMach(float mach, float temp); + static float spdFromVCAS(float vcas, float pressure, float temp); // Given ambient ("0") pressure/density/temperature values, // calculate the properties of static air (air accelerated to the