diff options
author | Robert C. Helling <helling@atdotde.de> | 2015-08-31 22:15:43 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-31 15:15:19 -0700 |
commit | d9306125d97a90b3e589fe263ae08e12b7327773 (patch) | |
tree | 0cb823330a63b837b238e15d5754f7dab9cc4c9d /divelist.c | |
parent | 3a7109e44ef49fb654af3d04d0b9a132c30eb34b (diff) | |
download | subsurface-d9306125d97a90b3e589fe263ae08e12b7327773.tar.gz |
Do the Boyle compensation when the gradient is needed
and not some time before and store the result in a global variable.
This stores only the bottom gradients and computes the Boyle compensation
when computing the allowed ambient pressure.
As the Boyle compensation needs a reference ambient pressure, to find the ceiling,
we have to iterate this computation until the reference pressure is close enough to
the ceiling.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divelist.c')
0 files changed, 0 insertions, 0 deletions