mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5254 Support estimating RKB-diff from TVDMSL and MDRKB when first TVDMSL == 0
* Add warning when the RKB-diff cannot be estimated
This commit is contained in:
@@ -77,6 +77,10 @@ double RigWellPath::rkbDiff() const
|
||||
|
||||
return diff;
|
||||
}
|
||||
else if ( cvf::Math::abs( m_wellPathPoints[0].z() ) < epsilon )
|
||||
{
|
||||
return m_measuredDepths[0]; // Assume a vertical drop before the first md point.
|
||||
}
|
||||
}
|
||||
return HUGE_VAL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user