From 184be292ea7475f11e424ce06e5989fcf5ab4bb4 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Fri, 26 Apr 2019 21:25:59 +0200 Subject: [PATCH] [bugfix] Use NNC data with applied EDITNCC for transmissibility. Unfortunately, we first created NNC with applied EDITNNC and then still used the original NNC data to set the transmissibility. Thus we were actually ignoring EDITNNC. This commit fixes this by using the data structure that has EDITNNC applied. --- ebos/ecltransmissibility.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebos/ecltransmissibility.hh b/ebos/ecltransmissibility.hh index f9cb1663d..06b4db3d8 100644 --- a/ebos/ecltransmissibility.hh +++ b/ebos/ecltransmissibility.hh @@ -663,7 +663,7 @@ private: candidate = firstCandidate; } - for (const auto& nncEntry : nnc.nncdata()) { + for (const auto& nncEntry : nncData) { auto c1 = nncEntry.cell1; auto c2 = nncEntry.cell2; auto low = cartesianToCompressed[c1];