@property def water_flowrate(self): return cfunc.get_water_flowrate( self ) ################################################################# cwrapper = CWrapper(ECL_LIB) cwrapper.registerType( "rft_cell" , RFTCell) cwrapper.registerType( "ecl_rft_cell" , EclRFTCell ) cwrapper.registerType( "ecl_plt_cell" , EclPLTCell ) cfunc = CWrapperNameSpace("ecl_rft_cell") cfunc.alloc_RFT = cwrapper.prototype("c_void_p ecl_rft_cell_alloc_RFT( int, int , int , double , double , double , double)") cfunc.alloc_PLT = cwrapper.prototype("c_void_p ecl_rft_cell_alloc_PLT( int, int , int , double , double , double, double , double, double , double , double , double , double , double )") cfunc.free = cwrapper.prototype("void ecl_rft_cell_free( rft_cell )") cfunc.get_pressure = cwrapper.prototype("double ecl_rft_cell_get_pressure( rft_cell )") cfunc.get_depth = cwrapper.prototype("double ecl_rft_cell_get_depth( rft_cell )") cfunc.get_i = cwrapper.prototype("int ecl_rft_cell_get_i( rft_cell )") cfunc.get_j = cwrapper.prototype("int ecl_rft_cell_get_j( rft_cell )") cfunc.get_k = cwrapper.prototype("int ecl_rft_cell_get_k( rft_cell )") cfunc.get_swat = cwrapper.prototype("double ecl_rft_cell_get_swat( ecl_rft_cell )") cfunc.get_soil = cwrapper.prototype("double ecl_rft_cell_get_soil( ecl_rft_cell )") cfunc.get_sgas = cwrapper.prototype("double ecl_rft_cell_get_sgas( ecl_rft_cell )") cfunc.get_orat = cwrapper.prototype("double ecl_rft_cell_get_orat( ecl_plt_cell )") cfunc.get_grat = cwrapper.prototype("double ecl_rft_cell_get_grat( ecl_plt_cell )")