Compute and display gas density

This appears to be critical for work of breathing so it might be
worthwhile to compute. So far only in infobox.

For background, see

https://www.youtube.com/watch?v=QBajM3xmOtc

Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2017-05-12 15:36:24 +02:00 committed by Dirk Hohndel
parent e6d884cf26
commit bb6ceba4ac
5 changed files with 17 additions and 2 deletions

View file

@ -14,7 +14,7 @@ extern "C" {
#define O2_IN_AIR 209 // permille
#define N2_IN_AIR 781
#define O2_DENSITY 1429 // mg/Liter
#define N2_DENSITY 1251
#define N2_DENSITY 1165
#define HE_DENSITY 179
#define SURFACE_PRESSURE 1013 // mbar
#define SURFACE_PRESSURE_STRING "1013"