mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
e6d884cf26
commit
bb6ceba4ac
5 changed files with 17 additions and 2 deletions
|
@ -139,6 +139,8 @@ extern int units_to_sac(double volume);
|
|||
extern int gas_volume(cylinder_t *cyl, pressure_t p);
|
||||
extern double gas_compressibility_factor(struct gasmix *gas, double bar);
|
||||
extern double isothermal_pressure(struct gasmix *gas, double p1, int volume1, int volume2);
|
||||
extern double gas_density(struct gasmix *gas, int pressure);
|
||||
|
||||
|
||||
|
||||
static inline int get_o2(const struct gasmix *mix)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue