diff options
author | willem ferguson <willemferguson@zoology.up.ac.za> | 2014-08-27 08:13:05 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-27 07:08:13 -0700 |
commit | 0fa324d775d41cdea45094d9ae5008cc96e24181 (patch) | |
tree | 805ebe15eb5d55f602c4085200d8c0ddb9efe905 /save-html.c | |
parent | dba3aa12a3e16b5302af551cdf356b3442d9803f (diff) | |
download | subsurface-0fa324d775d41cdea45094d9ae5008cc96e24181.tar.gz |
CCR Patch: Adapt pressure interpolation for CCR
This patch adapts pressure interpolation (function pr_interpolate_data)
in order to process CCR diluent gas as well. A flag diluent_flag is
added to the variables for calling this function indicating whether the
gas being worked with is diluent gas or not. This is necessitated by
the fact that the diluent gas storage is separate from that of the other
gases. The data used for interpolation are selected from the appropriate
array, depending on nthe value of diluent_flag.
In function fill_missing_tank_pressures, diluent_flag is set to 0
in order for the code to work with the current CCR adaptations.
The above constitutes no. 1 of a four-part set of patches that allows
pressure calculations for CCR gases. There will be CCR functionality
only after the whole set of patches is complete.
Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-html.c')
0 files changed, 0 insertions, 0 deletions