mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Fixes to match new Ert
This commit is contained in:
1 parent
09744af4b8
commit
a5fba8f3f4
1 file changed
+4
-4
@@ -1135,19 +1135,19 @@ void RifReaderEclipseOutput::readWellCells(const ecl_grid_type* mainEclGrid, boo
|
||||
|
||||
// Production type
|
||||
well_type_enum ert_well_type = well_state_get_type(ert_well_state);
|
||||
if (ert_well_type == PRODUCER)
|
||||
if (ert_well_type == ERT_PRODUCER)
|
||||
{
|
||||
wellResFrame.m_productionType = RigWellResultFrame::PRODUCER;
|
||||
}
|
||||
else if (ert_well_type == WATER_INJECTOR)
|
||||
else if (ert_well_type == ERT_WATER_INJECTOR)
|
||||
{
|
||||
wellResFrame.m_productionType = RigWellResultFrame::WATER_INJECTOR;
|
||||
}
|
||||
else if (ert_well_type == GAS_INJECTOR)
|
||||
else if (ert_well_type == ERT_GAS_INJECTOR)
|
||||
{
|
||||
wellResFrame.m_productionType = RigWellResultFrame::GAS_INJECTOR;
|
||||
}
|
||||
else if (ert_well_type == OIL_INJECTOR)
|
||||
else if (ert_well_type == ERT_OIL_INJECTOR)
|
||||
{
|
||||
wellResFrame.m_productionType = RigWellResultFrame::OIL_INJECTOR;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user