From 3ccd149fbdf25e1fe23391fb88a8b6e29819aa1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Wed, 13 Jun 2012 14:55:54 +0200 Subject: [PATCH] Remove unused code. --- opm/core/simulator/SimulatorTwophase.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/opm/core/simulator/SimulatorTwophase.cpp b/opm/core/simulator/SimulatorTwophase.cpp index 52e31d4c..46b338dc 100644 --- a/opm/core/simulator/SimulatorTwophase.cpp +++ b/opm/core/simulator/SimulatorTwophase.cpp @@ -256,9 +256,6 @@ namespace Opm TwophaseState& state, WellState& well_state) { - std::vector totmob; - std::vector omega; // Will remain empty if no gravity. - std::vector rc; // Will remain empty if no rock compressibility. std::vector transport_src; // Initialisation. @@ -305,16 +302,6 @@ namespace Opm } // Solve pressure. - if (gravity_) { - computeTotalMobilityOmega(props_, allcells_, state.saturation(), totmob, omega); - } else { - computeTotalMobility(props_, allcells_, state.saturation(), totmob); - } - std::vector wdp; - if (wells_) { - Opm::computeWDP(*wells_, grid_, state.saturation(), props_.density(), - gravity_ ? gravity_[2] : 0.0, true, wdp); - } do { pressure_timer.start(); psolver_.solve(timer.currentStepLength(), state, well_state);