#8513 Use cell face when leaving cell when well path starts inside cell

This commit is contained in:
Magne Sjaastad committed 2022-03-28 08:46:10 +02:00
1 parent cbaaabf67e
commit 2b45892098
1 file changed
+1 -2
@@ -1132,8 +1132,7 @@ std::vector<WellPathCellIntersectionInfo>
extraIntersection.startMD = initialMD;
extraIntersection.endMD = firstIntersection.startMD;
extraIntersection.intersectedCellFaceIn = cvf::StructGridInterface::NO_FACE;
extraIntersection.intersectedCellFaceOut =
cvf::StructGridInterface::oppositeFace( firstIntersection.intersectedCellFaceIn );
extraIntersection.intersectedCellFaceOut = firstIntersection.intersectedCellFaceOut;
extraIntersection.intersectionLengthsInCellCS = cvf::Vec3d::ZERO;
filteredIntersections.push_back( extraIntersection );