Skip to content

Commit 425052b

Browse files
committed
Add explict check cell-to-face and face-to-cell in simple grid, with 1x2x1 children per parent
1 parent fb16cf3 commit 425052b

2 files changed

Lines changed: 209 additions & 64 deletions

File tree

opm/grid/cpgrid/LgrHelpers.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ void populateRefinedCells(const Dune::cpgrid::CpGridData& current_data,
13931393
if (!Opm::Lgr::areClose(w,v)) {
13941394
continue;
13951395
}
1396-
else { std::cout<< v[0]<< " " << v[1] << " " << v[2] <<std::endl;
1396+
else {
13971397
return lastCellAndCorner;
13981398
}
13991399
}
@@ -1553,7 +1553,7 @@ void populateLeafGridFaces(const Dune::cpgrid::CpGridData& current_data,
15531553
if (!Opm::Lgr::areClose(w,v)) {
15541554
continue;
15551555
}
1556-
else { std::cout<< v[0]<< " " << v[1] << " " << v[2] <<std::endl;
1556+
else {
15571557
return lastCellAndCorner;
15581558
}
15591559
}
@@ -1667,7 +1667,7 @@ void populateLeafGridCells(const Dune::cpgrid::CpGridData& current_data,
16671667
if (!Opm::Lgr::areClose(w,v)) {
16681668
continue;
16691669
}
1670-
else { std::cout<< v[0]<< " " << v[1] << " " << v[2] <<std::endl;
1670+
else {
16711671
return lastCellAndCorner;
16721672
}
16731673
}

0 commit comments

Comments
 (0)