#3243 Completion type. Exclude cells having a subgrid from well path intersection

This commit is contained in:
Bjørn Erik Jensen committed 2018-09-26 15:35:48 +02:00
1 parent 58d07de8d3
commit bd346536c7
1 file changed
+1 -1
@@ -75,7 +75,7 @@ void RigEclipseWellLogExtractor::calculateIntersection()
{ {
const RigCell& cell = m_caseData->mainGrid()->globalCellArray()[globalCellIndex]; const RigCell& cell = m_caseData->mainGrid()->globalCellArray()[globalCellIndex];
if (cell.isInvalid()) continue; if (cell.isInvalid() || cell.subGrid() != nullptr) continue;
m_caseData->mainGrid()->cellCornerVertices(globalCellIndex, hexCorners); m_caseData->mainGrid()->cellCornerVertices(globalCellIndex, hexCorners);