Merge pull request #4088 from GitPaean/removing_unused_function

removing unused setupCartesianToCompressed_ function for BlackoilWellModel
This commit is contained in:
Bård Skaflestad 2022-09-08 14:58:23 +02:00 committed by GitHub
commit 4778cf9d60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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_ =