use STONE1EX from table manager
This commit is contained in:
parent
861a6ad4b4
commit
5f2d7c6308
@ -139,12 +139,13 @@ public:
|
||||
oilWaterConfig->initFromDeck(deck, eclState, Opm::EclOilWaterSystem);
|
||||
|
||||
unscaledEpsInfo_.resize(numSatRegions);
|
||||
if (deck.hasKeyword("STONE1EX"))
|
||||
const auto& stone1exTable = eclState.getTableManager().getStone1exTable();
|
||||
if (!stone1exTable.empty())
|
||||
stoneEtas.resize(numSatRegions);
|
||||
for (unsigned satRegionIdx = 0; satRegionIdx < numSatRegions; ++satRegionIdx) {
|
||||
unscaledEpsInfo_[satRegionIdx].extractUnscaled(deck, eclState, satRegionIdx);
|
||||
if (!stoneEtas.empty())
|
||||
stoneEtas[satRegionIdx] = deck.getKeyword("STONE1EX").getRecord(satRegionIdx).getItem(0).getSIDouble(0);
|
||||
stoneEtas[satRegionIdx] = stone1exTable[satRegionIdx].eta;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user