Skip to content

Commit 997acd8

Browse files
committed
Pass optional variable allow_deactive_cells=true to grid constructor
1 parent b629ae7 commit 997acd8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

opm/upscaling/initCPGrid.cpp

+7-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,13 @@ void Opm::initCPGrid(Dune::CpGrid& grid, const Opm::ParameterGroup& param) {
6161
Opm::Parser parser;
6262
auto deck = parser.parseFile(filename);
6363
Opm::EclipseGrid inputGrid(deck);
64-
grid.processEclipseFormat(inputGrid, periodic_extension , turn_normals );
64+
grid.processEclipseFormat(inputGrid,
65+
periodic_extension,
66+
turn_normals,
67+
false, // clip_z
68+
{}, // porevolume
69+
{}, // NNCFace
70+
true);
6571
} else if (fileformat == "cartesian") {
6672
std::array<int, 3> dims = {{ param.getDefault<int>("nx", 1),
6773
param.getDefault<int>("ny", 1),

0 commit comments

Comments
 (0)