Removed some unused variables.

This commit is contained in:
Atgeirr Flø Rasmussen 2012-06-12 11:16:26 +02:00
parent a558878917
commit d8580716de

View File

@ -293,13 +293,10 @@ namespace Opm
Opm::WellReport wellreport; Opm::WellReport wellreport;
std::vector<double> fractional_flows; std::vector<double> fractional_flows;
std::vector<double> well_resflows_phase; std::vector<double> well_resflows_phase;
int num_wells = 0;
if (wells_) { if (wells_) {
num_wells = wells_->number_of_wells;
well_resflows_phase.resize((wells_->number_of_phases)*(wells_->number_of_wells), 0.0); well_resflows_phase.resize((wells_->number_of_phases)*(wells_->number_of_wells), 0.0);
wellreport.push(props_, *wells_, state.saturation(), 0.0, well_state.bhp(), well_state.perfRates()); wellreport.push(props_, *wells_, state.saturation(), 0.0, well_state.bhp(), well_state.perfRates());
} }
const int num_cells = grid_.number_of_cells;
for (; !timer.done(); ++timer) { for (; !timer.done(); ++timer) {
// Report timestep and (optionally) write state to disk. // Report timestep and (optionally) write state to disk.
timer.report(std::cout); timer.report(std::cout);