mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-10 08:03:05 -06:00
Remove some debug hardcoded code paths for Well Path Derived Well log extraction curves
This commit is contained in:
parent
20d05a9561
commit
9fe1c7de6c
@ -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);
|
||||
}
|
||||
|
@ -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() &&
|
||||
|
Loading…
Reference in New Issue
Block a user