Ignore NNCs with zero transmissibility during output.

This commit is contained in:
Markus Blatt 2019-04-26 14:34:16 +02:00 committed by Arne Morten Kvarving
parent 5aa0399c67
commit 583741d5b1

View File

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