mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
Adapt to removal of GridProperty::iget()
This commit is contained in:
@@ -56,12 +56,11 @@ namespace Opm {
|
||||
scaledEpsInfo_.resize(nc);
|
||||
EclEpsGridProperties epsGridProperties;
|
||||
epsGridProperties.initFromDeck(deck, eclState, /*imbibition=*/false);
|
||||
const auto& satnum = eclState.get3DProperties().getIntGridProperty("SATNUM");
|
||||
|
||||
const auto& satnumData = eclState.get3DProperties().getIntGridProperty("SATNUM").getData();
|
||||
const std::string tag = "Scaled endpoints";
|
||||
for (int c = 0; c < nc; ++c) {
|
||||
const int cartIdx = compressedToCartesianIdx[c];
|
||||
const std::string satnumIdx = std::to_string(satnum.iget(cartIdx));
|
||||
const std::string satnumIdx = std::to_string(satnumData[cartIdx]);
|
||||
std::array<int, 3> ijk;
|
||||
ijk[0] = cartIdx % dims[0];
|
||||
ijk[1] = (cartIdx / dims[0]) % dims[1];
|
||||
|
||||
Reference in New Issue
Block a user