Skip to content

Commit

Permalink
Pass optional variable allow_deactive_cells=true to grid constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
joakim-hove committed Oct 4, 2019
1 parent b629ae7 commit 997acd8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion opm/upscaling/initCPGrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@ void Opm::initCPGrid(Dune::CpGrid& grid, const Opm::ParameterGroup& param) {
Opm::Parser parser;
auto deck = parser.parseFile(filename);
Opm::EclipseGrid inputGrid(deck);
grid.processEclipseFormat(inputGrid, periodic_extension , turn_normals );
grid.processEclipseFormat(inputGrid,
periodic_extension,
turn_normals,
false, // clip_z
{}, // porevolume
{}, // NNCFace
true);
} else if (fileformat == "cartesian") {
std::array<int, 3> dims = {{ param.getDefault<int>("nx", 1),
param.getDefault<int>("ny", 1),
Expand Down

0 comments on commit 997acd8

Please sign in to comment.