diff --git a/opm/simulators/wells/BlackoilWellModel.hpp b/opm/simulators/wells/BlackoilWellModel.hpp index 2b41cbcdc..1cde2e3bb 100644 --- a/opm/simulators/wells/BlackoilWellModel.hpp +++ b/opm/simulators/wells/BlackoilWellModel.hpp @@ -383,8 +383,6 @@ namespace Opm { // setting the well_solutions_ based on well_state. void updatePrimaryVariables(DeferredLogger& deferred_logger); - void setupCartesianToCompressed_(); - void updateAverageFormationFactor(); void computePotentials(const std::size_t widx, diff --git a/opm/simulators/wells/BlackoilWellModel_impl.hpp b/opm/simulators/wells/BlackoilWellModel_impl.hpp index 3da43ddaa..a53d21a38 100644 --- a/opm/simulators/wells/BlackoilWellModel_impl.hpp +++ b/opm/simulators/wells/BlackoilWellModel_impl.hpp @@ -51,17 +51,13 @@ namespace Opm { // Number of cells the global grid view global_num_cells_ = ebosSimulator_.vanguard().globalNumCells(); - // Set up cartesian mapping. { - // this->setupCartesianToCompressed_(); auto& parallel_wells = ebosSimulator.vanguard().parallelWells(); - this->parallel_well_info_.reserve(parallel_wells.size()); - for( const auto& name_bool: parallel_wells) - { - this->parallel_well_info_.emplace_back(name_bool, - grid().comm()); - } + this->parallel_well_info_.reserve(parallel_wells.size()); + for( const auto& name_bool : parallel_wells) { + this->parallel_well_info_.emplace_back(name_bool, grid().comm()); + } } this->alternative_well_rate_init_ =