mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use well and group controls from opm-common.
This PR remove the usage of well_control_ from opm-core and instead uses the control classes for wells and groups from opm-common. This PR also removes the usage of the group classes from opm-core.
This commit is contained in:
@@ -222,7 +222,9 @@ void test_readWriteWells()
|
||||
w1.rates = r1;
|
||||
w1.bhp = 1.23;
|
||||
w1.temperature = 3.45;
|
||||
w1.control = 1;
|
||||
w1.injectionControl = 1;
|
||||
w1.productionControl = 1;
|
||||
|
||||
|
||||
/*
|
||||
* the connection keys (active indices) and well names correspond to the
|
||||
@@ -234,7 +236,8 @@ void test_readWriteWells()
|
||||
w2.rates = r2;
|
||||
w2.bhp = 2.34;
|
||||
w2.temperature = 4.56;
|
||||
w2.control = 2;
|
||||
w1.injectionControl = 2;
|
||||
w1.productionControl = 2;
|
||||
w2.connections.push_back( { 188, rc3, 36.22, 19.28, 0.0, 0.0, 0.0, 0.0 } );
|
||||
|
||||
Opm::data::Wells wellRates;
|
||||
|
||||
Reference in New Issue
Block a user