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.
This commit is contained in:
Bård Skaflestad 2024-04-24 13:25:56 +02:00
parent 0cafaf92cb
commit 1e9943bfe6

View File

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