[PATCH] Cylinder pressure interpolation and end pressure display for CCR

Robert C. Helling robert at euve10195.vserver.de
Sat Nov 8 06:21:24 PST 2014


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


More information about the subsurface mailing list