mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-26 01:01:00 -06:00
Use EclEpsGridProperties constructor
This commit is contained in:
parent
930f80b8c3
commit
571c24d10c
@ -23,10 +23,12 @@
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
|
||||
#include <opm/material/fluidmatrixinteractions/EclEpsGridProperties.hpp>
|
||||
#include <opm/core/props/satfunc/RelpermDiagnostics.hpp>
|
||||
#include <opm/grid/utility/compressedToCartesian.hpp>
|
||||
#include <opm/grid/GridHelpers.hpp>
|
||||
|
||||
|
||||
namespace Opm {
|
||||
|
||||
template <class GridT>
|
||||
@ -54,8 +56,7 @@ namespace Opm {
|
||||
const auto dims = Opm::UgGridHelpers::cartDims(grid);
|
||||
const auto& compressedToCartesianIdx = Opm::compressedToCartesian(nc, global_cell);
|
||||
scaledEpsInfo_.resize(nc);
|
||||
EclEpsGridProperties epsGridProperties;
|
||||
epsGridProperties.initFromDeck(deck, eclState, /*imbibition=*/false);
|
||||
EclEpsGridProperties epsGridProperties(eclState, false);
|
||||
const auto& satnumData = eclState.get3DProperties().getIntGridProperty("SATNUM").getData();
|
||||
const std::string tag = "Scaled endpoints";
|
||||
for (int c = 0; c < nc; ++c) {
|
||||
|
Loading…
Reference in New Issue
Block a user