From 583741d5b1529ee126d74728a5a6d9b9414ed88e Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Fri, 26 Apr 2019 14:34:16 +0200 Subject: [PATCH] Ignore NNCs with zero transmissibility during output. --- ebos/eclwriter.hh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ebos/eclwriter.hh b/ebos/eclwriter.hh index 02890621c..92e0c4779 100644 --- a/ebos/eclwriter.hh +++ b/ebos/eclwriter.hh @@ -455,12 +455,10 @@ private: if ( candidate != end && candidate->cell1 == cc1 && candidate->cell2 == cc2) { t -= candidate->trans; - if ( t != 0 ) - outputNnc.push_back({cc1, cc2, t}); } - else { + + if ( t != 0 ) // eclipse definitely ignores NNCs with zero transmissibility (or is it < 1e-5?) outputNnc.push_back({cc1, cc2, t}); - } } } }