summaryrefslogtreecommitdiffstats
path: root/deco.c
diff options
context:
space:
mode:
authorGravatar Jan Darowski <jan.darowski@gmail.com>2015-08-15 15:55:46 +0200
committerGravatar Jan Darowski <jan.darowski@gmail.com>2015-08-15 15:55:46 +0200
commitffe2884f72ace4d04158b72fc806823c87a62e4b (patch)
tree5d23568ca6363e698f4d99f6c806ebd22c063aaf /deco.c
parent6856e87689c554bfa7ac058451e030fecfe941f5 (diff)
downloadsubsurface-ffe2884f72ace4d04158b72fc806823c87a62e4b.tar.gz
VPM-B: Set radius constants to values reccomended by V-Planner.
V-Planner reccomends smaller values for the VPM with the Boyles compensation. Also missing units comments were added. Signed-off-by: Jan Darowski <jan.darowski@gmail.com>
Diffstat (limited to 'deco.c')
-rw-r--r--deco.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/deco.c b/deco.c
index 934818647..796bb9e5b 100644
--- a/deco.c
+++ b/deco.c
@@ -36,14 +36,14 @@ struct buehlmann_config buehlmann_config = { 1.0, 1.01, 0, 0.75, 0.35, 1.0, fals
struct vpmb_config {
double crit_radius_N2; //! Critical radius of N2 nucleon (microns).
double crit_radius_He; //! Critical radius of He nucleon (microns).
- double crit_volume_lambda; //! Constant corresponding to critical gas volume (bar-min).
+ double crit_volume_lambda; //! Constant corresponding to critical gas volume (bar * min).
double gradient_of_imperm; //! Gradient after which bubbles become impermeable (bar).
- double surface_tension_gamma; //! Nucleons surface tension constant.
- double skin_compression_gammaC; //! Skin compression gammaC.
+ double surface_tension_gamma; //! Nucleons surface tension constant (N / 10m).
+ double skin_compression_gammaC; //! Skin compression gammaC (N / 10m).
double regeneration_time; //! Time needed for the bubble to regenerate to the start radius (min).
double other_gases_pressure; //! Always present pressure of other gasses in tissues (bar).
};
-struct vpmb_config vpmb_config = { 0.8, 0.7, 230.284, 8.2, 0.179, 2.57, 20160, 0.1359888 };
+struct vpmb_config vpmb_config = { 0.55, 0.45, 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,