Cylinder pressure interpolation and end pressure display for CCR

Willem Ferguson willemferguson at zoology.up.ac.za
Sat Nov 8 07:01:38 PST 2014


Robert,
Specifically for Poseidon input, one needs to know which is the oxygen 
and which is the diluent. Like, I suppose, for any specific machine 
there will be a particular assignment of cylinders. Nowhere outside of 
the code that specifically reads Poseidon CSV do I use specific cylinder 
assignments as numbers.
Does this make sense at all?
Kind regards,
willem


On 08/11/2014 16:21, Robert C. Helling wrote:
> Willem,
>
>
>
>> Am 08.11.2014 um 13:34 schrieb Willem Ferguson <willemferguson at zoology.up.ac.za>:
>>
>> in file.c, for Poseidon input, ensure that the cylinder index is
>>     hard-coded by setting sample->sensor to 0.
>> 2) For the three cases above, ensure that function
>>     populate_pressure_information() in gaspressures.c assigns the
>>     correct cylinder indices. This is performed by using a small
>>     lookup-table, rather than using complex if--else constructs.
> I thought we had decided against using magic numbers. Why would you force a specific number rather than setting the appropriate label?
>
> Best
> Robert


-- 
Willem Ferguson
Director: Centre for Environmental Studies,
University of Pretoria
Tel: 012-4202017 / 012-4204048
e-mail: willemferguson at zoology.up.ac.za



More information about the subsurface mailing list