mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
VPM-B: add basic algorithm settings.
Created vpmb_config structure based on buehlmann_config. Set it's default values to ones taken from the existing C implementation. Signed-off-by: Jan Darowski <jan.darowski@gmail.com>
This commit is contained in:
parent
5ae5aedab3
commit
1147100930
1 changed files with 13 additions and 0 deletions
13
deco.c
13
deco.c
|
@ -32,6 +32,19 @@ struct buehlmann_config {
|
|||
};
|
||||
struct buehlmann_config buehlmann_config = { 1.0, 1.01, 0, 0.75, 0.35, 1.0, false };
|
||||
|
||||
//! Option structure for VPM-B decompression.
|
||||
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.
|
||||
double gradient_of_imperm; //! Gradient after which bubbles become impermeable.
|
||||
double surface_tension_gamma; //! Nucleons surface tension constant.
|
||||
double skin_compression_gammaC; //!
|
||||
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 };
|
||||
|
||||
const double buehlmann_N2_a[] = { 1.1696, 1.0, 0.8618, 0.7562,
|
||||
0.62, 0.5043, 0.441, 0.4,
|
||||
0.375, 0.35, 0.3295, 0.3065,
|
||||
|
|
Loading…
Add table
Reference in a new issue