mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Implement correct ignore thresholds for NNC with/without EDITNNC.
It seems like eclipse ignores NNCs with small transmissibility. Small means less than 1e-6 for Eclipse (Even if it says that it is ignoring values below 1e-5 and/or zero values)!. This commit now implements the same threshold during IO. Also fixes a bug when applying EDITNNC, it needs to have cell1<=cell2 to work.
This commit is contained in:
committed by
Arne Morten Kvarving
parent
7849ce690d
commit
d2efdcfaa5
@@ -619,9 +619,7 @@ private:
|
||||
if (!nnc.hasNNC())
|
||||
return make_tuple(processedNnc, unprocessedNnc);
|
||||
|
||||
auto nncData = nnc.nncdata();
|
||||
auto editnncData = vanguard_.eclState().getInputEDITNNC().data();
|
||||
sortNncAndApplyEditnnc(nncData, editnncData);
|
||||
auto nncData = sortNncAndApplyEditnnc(nnc.nncdata(), vanguard_.eclState().getInputEDITNNC().data());
|
||||
|
||||
for (const auto& nncEntry : nncData) {
|
||||
auto c1 = nncEntry.cell1;
|
||||
|
||||
Reference in New Issue
Block a user