mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-26 01:01:00 -06:00
Merge pull request #873 from blattms/nnc-fix-flows-flores
[bugfix] Do not try to save FLOWS or FLOWRES values for NNCs.
This commit is contained in:
commit
edbe1a113a
@ -665,6 +665,9 @@ public:
|
||||
OPM_TIMEBLOCK_LOCAL(fluxCalculationForEachCell);
|
||||
for (const auto& nbInfo : nbInfos) {
|
||||
OPM_TIMEBLOCK_LOCAL(fluxCalculationForEachFace);
|
||||
// not for NNCs
|
||||
if (nbInfo.res_nbinfo.dirId < 0)
|
||||
continue;
|
||||
unsigned globJ = nbInfo.neighbor;
|
||||
assert(globJ != globI);
|
||||
adres = 0.0;
|
||||
|
Loading…
Reference in New Issue
Block a user