mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove some debug hardcoded code paths for Well Path Derived Well log extraction curves
This commit is contained in:
@@ -174,7 +174,7 @@ QList<caf::PdmOptionItemInfo> RimGeoMechResultDefinition::calculateValueOptions(
|
|||||||
if (&m_resultPositionTypeUiField == fieldNeedingOptions)
|
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 };
|
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);
|
optionItems.push_back(RIG_WELLPATH_DERIVED);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ void RigGeoMechWellLogExtractor::wellPathDerivedCurveData(const RigFemResultAddr
|
|||||||
|
|
||||||
double trueVerticalDepth = -m_intersections[intersectionIdx].z();
|
double trueVerticalDepth = -m_intersections[intersectionIdx].z();
|
||||||
double porePressure = trueVerticalDepth * 9.81 / 100.0;
|
double porePressure = trueVerticalDepth * 9.81 / 100.0;
|
||||||
if (false && !porePressures.empty())
|
if (!porePressures.empty())
|
||||||
{
|
{
|
||||||
float interpolatedPorePressure = interpolateGridResultValue(porBarResAddr.resultPosType, porePressures, intersectionIdx, false);
|
float interpolatedPorePressure = interpolateGridResultValue(porBarResAddr.resultPosType, porePressures, intersectionIdx, false);
|
||||||
if (interpolatedPorePressure != std::numeric_limits<float>::infinity() &&
|
if (interpolatedPorePressure != std::numeric_limits<float>::infinity() &&
|
||||||
|
|||||||
Reference in New Issue
Block a user