From cff02ee10553d2c64cc4159a1b0aca26f9d088e0 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Tue, 17 Nov 2020 12:28:19 +0100 Subject: [PATCH] remove unused variable --- opm/simulators/aquifers/AquiferCarterTracy.hpp | 2 -- opm/simulators/aquifers/AquiferFetkovich.hpp | 3 --- 2 files changed, 5 deletions(-) diff --git a/opm/simulators/aquifers/AquiferCarterTracy.hpp b/opm/simulators/aquifers/AquiferCarterTracy.hpp index 264fcd7c8..4d41ff61b 100644 --- a/opm/simulators/aquifers/AquiferCarterTracy.hpp +++ b/opm/simulators/aquifers/AquiferCarterTracy.hpp @@ -95,8 +95,6 @@ protected: const auto& ugrid = this->ebos_simulator_.vanguard().grid(); const auto& grid = eclState.getInputGrid(); - auto globalCellIdx = ugrid.globalCell(); - // We hack the cell depth values for now. We can actually get it from elementcontext pos this->cell_depth_.resize(this->size(), this->aquiferDepth()); this->alphai_.resize(this->size(), 1.0); diff --git a/opm/simulators/aquifers/AquiferFetkovich.hpp b/opm/simulators/aquifers/AquiferFetkovich.hpp index 469ac04e1..efd5ff4f7 100644 --- a/opm/simulators/aquifers/AquiferFetkovich.hpp +++ b/opm/simulators/aquifers/AquiferFetkovich.hpp @@ -98,9 +98,6 @@ protected: const auto& ugrid = this->ebos_simulator_.vanguard().grid(); const auto& grid = eclState.getInputGrid(); - auto globalCellIdx = ugrid.globalCell(); - - // We hack the cell depth values for now. We can actually get it from elementcontext pos this->cell_depth_.resize(this->size(), this->aquiferDepth()); this->alphai_.resize(this->size(), 1.0);