From a085ee1b937b470b7ea4c41fe7faad9cc5746e18 Mon Sep 17 00:00:00 2001 From: Antonella Ritorto Date: Thu, 26 Jun 2025 15:32:10 +0200 Subject: [PATCH] Delete unused equilLevelCartesianIndexMapper_ --- opm/simulators/flow/GenericCpGridVanguard.cpp | 2 -- opm/simulators/flow/GenericCpGridVanguard.hpp | 1 - 2 files changed, 3 deletions(-) diff --git a/opm/simulators/flow/GenericCpGridVanguard.cpp b/opm/simulators/flow/GenericCpGridVanguard.cpp index 49e338ae45..c2adeae1b2 100644 --- a/opm/simulators/flow/GenericCpGridVanguard.cpp +++ b/opm/simulators/flow/GenericCpGridVanguard.cpp @@ -552,8 +552,6 @@ void GenericCpGridVanguard::doCreateGrids_(Eclips this->equilGrid_ = std::make_unique(*this->grid_); this->equilCartesianIndexMapper_ = std::make_unique(*this->equilGrid_); - this->equilLevelCartesianIndexMapper_ = - std::make_unique(*this->equilGrid_); eclState.reset_actnum(UgGridHelpers::createACTNUM(*this->grid_)); eclState.set_active_indices(this->grid_->globalCell()); diff --git a/opm/simulators/flow/GenericCpGridVanguard.hpp b/opm/simulators/flow/GenericCpGridVanguard.hpp index def8bf026f..b29b8cab55 100644 --- a/opm/simulators/flow/GenericCpGridVanguard.hpp +++ b/opm/simulators/flow/GenericCpGridVanguard.hpp @@ -234,7 +234,6 @@ protected: std::unique_ptr cartesianIndexMapper_; std::unique_ptr equilCartesianIndexMapper_; std::unique_ptr levelCartesianIndexMapper_; - std::unique_ptr equilLevelCartesianIndexMapper_; int mpiRank; std::vector cell_part_{};