From 3786adc9b79b39fe23c104c68b9df191f634742f Mon Sep 17 00:00:00 2001 From: Rebecca Cox Date: Thu, 11 Jan 2018 11:35:31 +0100 Subject: [PATCH] #2347 Elm Props: Evaluate result type ELEMENT for WellLogExtractor --- .../ReservoirDataModel/RigGeoMechWellLogExtractor.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.cpp b/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.cpp index 9c451682f3..e070dd9a1e 100644 --- a/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.cpp +++ b/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.cpp @@ -70,6 +70,12 @@ void RigGeoMechWellLogExtractor::curveData(const RigFemResultAddress& resAddr, i if (!(elmType == HEX8 || elmType == HEX8P)) continue; + if (convResAddr.resultPosType == RIG_ELEMENT) + { + (*values)[cpIdx] = resultValues[elmIdx]; + continue; + } + cvf::StructGridInterface::FaceType cellFace = m_intersectedCellFaces[cpIdx]; int faceNodeCount = 0;