Pass actnum mapping to relperm diagnostic

This commit is contained in:
Joakim Hove 2019-11-18 18:22:48 +01:00
parent 5e20144869
commit 2e6b1e36be

View File

@ -56,7 +56,7 @@ namespace Opm {
const auto dims = Opm::UgGridHelpers::cartDims(grid);
const auto& compressedToCartesianIdx = Opm::compressedToCartesian(nc, global_cell);
scaledEpsInfo_.resize(nc);
EclEpsGridProperties epsGridProperties(eclState, false);
EclEpsGridProperties epsGridProperties(eclState, false, compressedToCartesianIdx);
const std::string tag = "Scaled endpoints";
for (int c = 0; c < nc; ++c) {
const int cartIdx = compressedToCartesianIdx[c];