mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
gas pressures: use an actual compressibility table for air
We could in theory make this dependent on the gasmix, but for now let's just assume (incorrectly) that everything we breathe acts like air. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
adaeb506b7
commit
45ed0ec757
2 changed files with 49 additions and 11 deletions
|
@ -129,6 +129,7 @@ extern int units_to_sac(double volume);
|
|||
|
||||
/* Volume in mliter of a cylinder at pressure 'p' */
|
||||
extern int gas_volume(cylinder_t *cyl, pressure_t p);
|
||||
extern double gas_compressibility_factor(struct gasmix *gas, double bar);
|
||||
|
||||
|
||||
static inline int get_o2(const struct gasmix *mix)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue