(#558) Made sure that TVD values are positive for geo mech models

This commit is contained in:
Pål Hagen
2015-10-12 10:33:36 +02:00
parent 1132a0db5e
commit 6b8e51ca87

View File

@@ -186,7 +186,7 @@ void RigGeoMechWellLogExtractor::calculateIntersection()
while (it != sortedIntersections.end())
{
m_measuredDepth.push_back(it->first.measuredDepth);
m_trueVerticalDepth.push_back(it->second.m_intersectionPoint[2]);
m_trueVerticalDepth.push_back(abs(it->second.m_intersectionPoint[2]));
m_intersections.push_back(it->second.m_intersectionPoint);
m_intersectedCells.push_back(it->second.m_hexIndex);
m_intersectedCellFaces.push_back(it->second.m_face);