From b708bb0ac3f314ada1e8a1160c0e0d73053884ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Mon, 6 Nov 2017 22:21:42 +0100 Subject: [PATCH] #2035 Add MD to the intesection struct available from the WellLogExtractors --- ApplicationCode/ReservoirDataModel/RigWellLogExtractor.cpp | 3 +++ ApplicationCode/ReservoirDataModel/RigWellLogExtractor.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ApplicationCode/ReservoirDataModel/RigWellLogExtractor.cpp b/ApplicationCode/ReservoirDataModel/RigWellLogExtractor.cpp index adefe5ea52..5c1edbe2b8 100644 --- a/ApplicationCode/ReservoirDataModel/RigWellLogExtractor.cpp +++ b/ApplicationCode/ReservoirDataModel/RigWellLogExtractor.cpp @@ -55,6 +55,9 @@ std::vector RigWellLogExtractor::intersectionInfo() const cellInfo.globCellIndex = m_intersectedCellsGlobIdx[i]; cellInfo.startPoint = m_intersections[i]; cellInfo.endPoint = m_intersections[i+1]; + cellInfo.startMD = m_measuredDepth[i]; + cellInfo.endMD = m_measuredDepth[i+1]; + cellInfo.intersectedCellFaceIn = m_intersectedCellFaces[i]; cellInfo.intersectedCellFaceOut = m_intersectedCellFaces[i+1]; diff --git a/ApplicationCode/ReservoirDataModel/RigWellLogExtractor.h b/ApplicationCode/ReservoirDataModel/RigWellLogExtractor.h index b5d0bd7a76..3e462162e6 100644 --- a/ApplicationCode/ReservoirDataModel/RigWellLogExtractor.h +++ b/ApplicationCode/ReservoirDataModel/RigWellLogExtractor.h @@ -40,6 +40,9 @@ struct CellIntersectionInfo size_t globCellIndex; cvf::Vec3d startPoint; cvf::Vec3d endPoint; + double startMD; + double endMD; + cvf::StructGridInterface::FaceType intersectedCellFaceIn; cvf::StructGridInterface::FaceType intersectedCellFaceOut; };