mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
remove unused variables
This commit is contained in:
parent
d81d528207
commit
0f010daaf8
@ -351,7 +351,6 @@ exportNncStructure_(const std::unordered_map<int,int>& cartesianToActive, const
|
|||||||
std::size_t ny = eclState_.getInputGrid().getNY();
|
std::size_t ny = eclState_.getInputGrid().getNY();
|
||||||
auto nncData = eclState_.getInputNNC().input();
|
auto nncData = eclState_.getInputNNC().input();
|
||||||
const auto& unitSystem = eclState_.getDeckUnitSystem();
|
const auto& unitSystem = eclState_.getDeckUnitSystem();
|
||||||
std::size_t index = 0;
|
|
||||||
|
|
||||||
for( const auto& entry : nncData ) {
|
for( const auto& entry : nncData ) {
|
||||||
// test whether NNC is not a neighboring connection
|
// 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 )
|
if ( tt >= 1.0e-6 )
|
||||||
outputNnc_.emplace_back(entry.cell1, entry.cell2, entry.trans);
|
outputNnc_.emplace_back(entry.cell1, entry.cell2, entry.trans);
|
||||||
}
|
}
|
||||||
++index;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
using GlobalGridView = typename EquilGrid::LeafGridView;
|
using GlobalGridView = typename EquilGrid::LeafGridView;
|
||||||
|
@ -512,14 +512,11 @@ BOOST_AUTO_TEST_CASE(RegMapping)
|
|||||||
for (const auto& r : eqlmap.activeRegions()) {
|
for (const auto& r : eqlmap.activeRegions()) {
|
||||||
ptable.equilibrate(region[r], vspan);
|
ptable.equilibrate(region[r], vspan);
|
||||||
|
|
||||||
PVal::size_type i = 0;
|
|
||||||
for (const auto& c : eqlmap.cells(r)) {
|
for (const auto& c : eqlmap.cells(r)) {
|
||||||
const auto depth = centerDepth(*simulator, c);
|
const auto depth = centerDepth(*simulator, c);
|
||||||
|
|
||||||
ppress[0][c] = ptable.water(depth);
|
ppress[0][c] = ptable.water(depth);
|
||||||
ppress[1][c] = ptable.oil (depth);
|
ppress[1][c] = ptable.oil (depth);
|
||||||
|
|
||||||
++i;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user