Remove some debug hardcoded code paths for Well Path Derived Well log extraction curves

This commit is contained in:
Gaute Lindkvist 2018-06-22 08:26:38 +02:00
parent 20d05a9561
commit 9fe1c7de6c
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ QList<caf::PdmOptionItemInfo> RimGeoMechResultDefinition::calculateValueOptions(
if (&m_resultPositionTypeUiField == fieldNeedingOptions)
{
std::vector<RigFemResultPosEnum> optionItems = { RIG_NODAL, RIG_ELEMENT_NODAL, RIG_INTEGRATION_POINT, RIG_ELEMENT_NODAL_FACE, RIG_FORMATION_NAMES, RIG_ELEMENT };
if (true || m_addWellPathDerivedResults)
if (m_addWellPathDerivedResults)
{
optionItems.push_back(RIG_WELLPATH_DERIVED);
}

View File

@ -135,7 +135,7 @@ void RigGeoMechWellLogExtractor::wellPathDerivedCurveData(const RigFemResultAddr
double trueVerticalDepth = -m_intersections[intersectionIdx].z();
double porePressure = trueVerticalDepth * 9.81 / 100.0;
if (false && !porePressures.empty())
if (!porePressures.empty())
{
float interpolatedPorePressure = interpolateGridResultValue(porBarResAddr.resultPosType, porePressures, intersectionIdx, false);
if (interpolatedPorePressure != std::numeric_limits<float>::infinity() &&