mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merged from patch-branch to dev-branch
This commit is contained in:
@@ -92,9 +92,13 @@ void RimCompletionCellIntersectionCalc::calculateWellPathIntersections(const Rim
|
||||
std::vector<double>& values,
|
||||
const QDateTime& fromDate)
|
||||
{
|
||||
std::vector<HexIntersectionInfo> intersections = RigWellPathIntersectionTools::findRawHexCellIntersections(grid,
|
||||
wellPath->wellPathGeometry()->m_wellPathPoints);
|
||||
|
||||
std::vector<HexIntersectionInfo> intersections;
|
||||
if (wellPath->wellPathGeometry())
|
||||
{
|
||||
intersections = RigWellPathIntersectionTools::findRawHexCellIntersections(grid,
|
||||
wellPath->wellPathGeometry()->m_wellPathPoints);
|
||||
}
|
||||
|
||||
for (auto& intersection : intersections)
|
||||
{
|
||||
values[intersection.m_hexIndex] = RiaDefines::WELL_PATH;
|
||||
|
||||
Reference in New Issue
Block a user