summaryrefslogtreecommitdiffstats
path: root/deco.c
diff options
context:
space:
mode:
authorGravatar Rick Walsh <rickmwalsh@gmail.com>2015-07-07 18:52:29 +1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-07 06:25:28 -0700
commitb2d27ca6859a44ccb7327f318e81e2a8a4fb0e3d (patch)
tree561563a0de385431fa65198ab779332f61cc5b90 /deco.c
parente46f6a5231ebde918b7ec2b0d2b16d5a6b6e4968 (diff)
downloadsubsurface-b2d27ca6859a44ccb7327f318e81e2a8a4fb0e3d.tar.gz
Use common VPM configuration parameters
Adopt the same critical radii used by Eric Baker's original VPM Fortran code and V-Planner. Standard critical volume lambda = 7500 fsw-min (numerous sources). We need to convert it properly. λ = 7500 fsw-min = 7500/33 = 227.2727 ata-min = 227.2727 * 1.01325 bar-min = 230.284 bar-min Signed-off-by: Rick Walsh <rickmwalsh@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'deco.c')
-rw-r--r--deco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deco.c b/deco.c
index f1bc8039f..1ec4caee5 100644
--- a/deco.c
+++ b/deco.c
@@ -43,7 +43,7 @@ struct vpmb_config {
double regeneration_time; //! Time needed for the bubble to regenerate to the start radius.
double other_gases_pressure; //! Always present pressure of other gasses in tissues.
};
-struct vpmb_config vpmb_config = { 0.6, 0.5, 250.0, 8.2, 0.179, 2.57, 20160, 0.1359888 };
+struct vpmb_config vpmb_config = { 0.8, 0.7, 230.284, 8.2, 0.179, 2.57, 20160, 0.1359888 };
const double buehlmann_N2_a[] = { 1.1696, 1.0, 0.8618, 0.7562,
0.62, 0.5043, 0.441, 0.4,