]> git.mxchange.org Git - flightgear.git/commit
Finished off the atmosphere model (Troposphere and lower
authordavid <david>
Wed, 15 May 2002 03:00:41 +0000 (03:00 +0000)
committerdavid <david>
Wed, 15 May 2002 03:00:41 +0000 (03:00 +0000)
commit8a5cdbdbc60a598b99a0f1821c0364cb9a813194
treecc51c89791868f4c4c11d4303ba3bc61bbc50206
parentabdb5abb6a239ff159a3bf3540435999f6d1cf82
Finished off the atmosphere model (Troposphere and lower
Stratosphere).  The atmospheric properties are as follow:

/environment/temperature-sea-level-degc
/environment/temperature-degc
/environment/pressure-sea-level-inhg
/environment/pressure-inhg
/environment/density-sea-level-slugft3
/environment/density-slugft3

Setting either the sea-level or altitude value automatically sets the
other value appropriate, except for temperature at altitude above the
Troposphere (where there's no reliable way to back-calculate it).  The
atmosphere model appears in the atmosphere_data array in
environment.cxx, and can easily be extended into the upper
stratosphere and beyond.

These are not yet tied into the FDMs or steam module.
src/Environment/environment.cxx
src/Environment/environment.hxx
src/Environment/environment_mgr.cxx