mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Adapt to enum changes
This commit is contained in:
@@ -485,14 +485,14 @@ protected:
|
||||
const auto& wells = simulator_.vanguard().schedule().getWells2(episodeIdx);
|
||||
for (const auto& well : wells) {
|
||||
|
||||
if (well.getStatus() == Opm::WellCommon::SHUT)
|
||||
if (well.getStatus() == Opm::Well2::Status::SHUT)
|
||||
continue;
|
||||
|
||||
const double wtracer = well.getTracerProperties().getConcentration(tracerNames_[tracerIdx]);
|
||||
std::array<int, 3> cartesianCoordinate;
|
||||
for (auto& connection : well.getConnections()) {
|
||||
|
||||
if (connection.state() == Opm::WellCompletion::SHUT)
|
||||
if (connection.state() == Opm::Connection::State::SHUT)
|
||||
continue;
|
||||
|
||||
cartesianCoordinate[0] = connection.getI();
|
||||
|
||||
Reference in New Issue
Block a user