From 1e9943bfe69ffe11703cf2809cd66e55228d6b98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Wed, 24 Apr 2024 13:25:56 +0200 Subject: [PATCH] Accumulate CNV Pore-Volume Sum for Interior Cells Only The 'interiorBorder' category is *probably* equivalent to the 'interior' category for codimension zero elements, but it's better to be safe than sorry. We don't want to accumulate pore-volume contributions twice. --- opm/simulators/flow/BlackoilModel.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/simulators/flow/BlackoilModel.hpp b/opm/simulators/flow/BlackoilModel.hpp index d7a0becbd..61c8c86a4 100644 --- a/opm/simulators/flow/BlackoilModel.hpp +++ b/opm/simulators/flow/BlackoilModel.hpp @@ -842,7 +842,7 @@ namespace Opm { IsNumericalAquiferCell isNumericalAquiferCell(gridView.grid()); OPM_BEGIN_PARALLEL_TRY_CATCH(); - for (const auto& elem : elements(gridView, Dune::Partitions::interiorBorder)) + for (const auto& elem : elements(gridView, Dune::Partitions::interior)) { // Skip cells of numerical Aquifer if (isNumericalAquiferCell(elem))