removing unused setupCartesianToCompressed_ function

for BlackoilWellModel
This commit is contained in:
Kai Bao 2022-09-08 13:33:39 +02:00
parent fc259fdb91
commit 4e4606c705
2 changed files with 4 additions and 10 deletions

View File

@ -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,

View File

@ -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_ =