remove unused variables

This commit is contained in:
Arne Morten Kvarving 2023-05-31 09:33:23 +02:00
parent d81d528207
commit 0f010daaf8
2 changed files with 0 additions and 5 deletions

View File

@ -351,7 +351,6 @@ exportNncStructure_(const std::unordered_map<int,int>& cartesianToActive, const
std::size_t ny = eclState_.getInputGrid().getNY();
auto nncData = eclState_.getInputNNC().input();
const auto& unitSystem = eclState_.getDeckUnitSystem();
std::size_t index = 0;
for( const auto& entry : nncData ) {
// test whether NNC is not a neighboring connection
@ -365,7 +364,6 @@ exportNncStructure_(const std::unordered_map<int,int>& cartesianToActive, const
if ( tt >= 1.0e-6 )
outputNnc_.emplace_back(entry.cell1, entry.cell2, entry.trans);
}
++index;
}
using GlobalGridView = typename EquilGrid::LeafGridView;

View File

@ -512,14 +512,11 @@ BOOST_AUTO_TEST_CASE(RegMapping)
for (const auto& r : eqlmap.activeRegions()) {
ptable.equilibrate(region[r], vspan);
PVal::size_type i = 0;
for (const auto& c : eqlmap.cells(r)) {
const auto depth = centerDepth(*simulator, c);
ppress[0][c] = ptable.water(depth);
ppress[1][c] = ptable.oil (depth);
++i;
}
}