From 51631fda6e8561521dbec71273257e8d7b67704f Mon Sep 17 00:00:00 2001 From: Gaute Lindkvist Date: Wed, 20 Jun 2018 09:53:33 +0200 Subject: [PATCH] #3027 Disable averaging of Fracture Gradient and Shear Failure Gradient --- .../ReservoirDataModel/RigGeoMechWellLogExtractor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.cpp b/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.cpp index 6deb9779fb..e43606190b 100644 --- a/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.cpp +++ b/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.cpp @@ -137,7 +137,7 @@ void RigGeoMechWellLogExtractor::wellPathDerivedCurveData(const RigFemResultAddr double porePressure = trueVerticalDepth * 9.81 / 100.0; if (false && !porePressures.empty()) { - float interpolatedPorePressure = interpolateGridResultValue(porBarResAddr.resultPosType, porePressures, intersectionIdx, true); + float interpolatedPorePressure = interpolateGridResultValue(porBarResAddr.resultPosType, porePressures, intersectionIdx, false); if (interpolatedPorePressure != std::numeric_limits::infinity() && interpolatedPorePressure != -std::numeric_limits::infinity()) { @@ -145,7 +145,7 @@ void RigGeoMechWellLogExtractor::wellPathDerivedCurveData(const RigFemResultAddr } } - caf::Ten3d interpolatedStress = interpolateGridResultValue(stressResAddr.resultPosType, vertexStresses, intersectionIdx, true); + caf::Ten3d interpolatedStress = interpolateGridResultValue(stressResAddr.resultPosType, vertexStresses, intersectionIdx, false); cvf::Vec3d wellPathTangent = calculateWellPathTangent(intersectionIdx); caf::Ten3d wellPathStressFloat = transformTensorToWellPathOrientation(wellPathTangent, interpolatedStress); caf::Ten3d wellPathStressDouble(wellPathStressFloat);