Ignore segments with no active cells above or below.

This commit is contained in:
Tor Harald Sandve 2015-11-13 14:11:22 +01:00
parent 97525de43a
commit b8f54e4e59

View File

@ -395,6 +395,7 @@ namespace Opm
break;
}
}
break;
}
pinFaces.push_back(interface_(grid, topCell, Opm::FaceDir::ZPlus));
pinCells.push_back(topCell);
@ -406,11 +407,14 @@ namespace Opm
botCell = getGlobalIndex_(ijk2[0], ijk2[1], botk, dims);
if (actnum[botCell]) {
break;
}
}
break;
}
pinFaces.push_back(interface_(grid, botCell, Opm::FaceDir::ZMinus));
pinCells.push_back(botCell);
}
}