mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -06:00
Skip bogus warning about missing cells for PINCH NNCs
Cells are only missing if both are in the ghost overlap layer. In this case we do not have a connection here to keep the matrix more sparse.
This commit is contained in:
parent
9e31831917
commit
e743f2aa1e
@ -1048,12 +1048,9 @@ applyPinchNncToGridTrans_(const std::unordered_map<std::size_t,int>& cartesianTo
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (low == -1 || high == -1) {
|
if (low == -1 || high == -1) {
|
||||||
// \todo Check why we end up here for some models in parallel
|
// We can end up here if one of the cells is overlap/ghost, because those
|
||||||
// Discard the NNC if it is between active cell and inactive cell
|
// are lacking connections to other cells in the ghost/overlap.
|
||||||
std::ostringstream sstr;
|
// Hence discard the NNC if it is between active cell and inactive cell
|
||||||
sstr << "PINCH NNC between active and inactive cells ("
|
|
||||||
<< low << " -> " << high << ") with globalcell is (" << c1 << "->" << c2 <<")";
|
|
||||||
OpmLog::warning(sstr.str());
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user