mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1603 Adjust start MD when importing fishbones laterals
This commit is contained in:
@@ -143,6 +143,14 @@ void RimFishbonesCollection::recalculateStartMD()
|
||||
}
|
||||
}
|
||||
|
||||
for (const RimFishboneWellPath* wellPath : m_wellPathCollection->wellPaths())
|
||||
{
|
||||
if (wellPath->measuredDepths().size() > 0)
|
||||
{
|
||||
minStartMD = std::min(minStartMD, wellPath->measuredDepths()[0] - 13.0);
|
||||
}
|
||||
}
|
||||
|
||||
if (!manuallyModifiedStartMD || minStartMD < m_startMD())
|
||||
{
|
||||
m_startMD = minStartMD;
|
||||
|
||||
Reference in New Issue
Block a user