mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use SegmentState for rates
This commit is contained in:
@@ -213,7 +213,8 @@ namespace {
|
||||
}
|
||||
|
||||
const auto rateTop = 1000.0 * wellID;
|
||||
auto segRates = wstate.segRates(wellID);
|
||||
auto& segments = wstate.segments(wellID);
|
||||
auto& segRates = segments.rates;
|
||||
|
||||
if (wat) { segRates[iw] = rateTop; }
|
||||
if (oil) { segRates[io] = rateTop; }
|
||||
|
Reference in New Issue
Block a user