mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
@@ -842,7 +842,7 @@ namespace Opm {
|
|||||||
IsNumericalAquiferCell isNumericalAquiferCell(gridView.grid());
|
IsNumericalAquiferCell isNumericalAquiferCell(gridView.grid());
|
||||||
|
|
||||||
OPM_BEGIN_PARALLEL_TRY_CATCH();
|
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
|
// Skip cells of numerical Aquifer
|
||||||
if (isNumericalAquiferCell(elem))
|
if (isNumericalAquiferCell(elem))
|
||||||
|
|||||||
Reference in New Issue
Block a user