mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Renaming well is shut to well is stopped.
Rename the the meaning for shut as whats used in Eclipse. STOP: Well stopped off above the formation. I.e. allow for flow in the well. SHUT: Well completely isolated from the formation. The well is removed from the well list.
This commit is contained in:
@@ -103,15 +103,15 @@ BOOST_AUTO_TEST_CASE(OpenClose)
|
||||
struct WellControls * ctrls = well_controls_create();
|
||||
|
||||
BOOST_CHECK_EQUAL( true , well_controls_well_is_open(ctrls) );
|
||||
BOOST_CHECK_EQUAL( false , well_controls_well_is_shut(ctrls) );
|
||||
BOOST_CHECK_EQUAL( false , well_controls_well_is_stopped(ctrls) );
|
||||
|
||||
well_controls_open_well( ctrls );
|
||||
BOOST_CHECK_EQUAL( true , well_controls_well_is_open(ctrls) );
|
||||
BOOST_CHECK_EQUAL( false , well_controls_well_is_shut(ctrls) );
|
||||
BOOST_CHECK_EQUAL( false , well_controls_well_is_stopped(ctrls) );
|
||||
|
||||
well_controls_shut_well( ctrls );
|
||||
well_controls_stop_well( ctrls );
|
||||
BOOST_CHECK_EQUAL( false , well_controls_well_is_open(ctrls) );
|
||||
BOOST_CHECK_EQUAL( true , well_controls_well_is_shut(ctrls) );
|
||||
BOOST_CHECK_EQUAL( true , well_controls_well_is_stopped(ctrls) );
|
||||
|
||||
well_controls_destroy( ctrls );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user