#1744 Load and update data for fractures when loading project file

This commit is contained in:
Magne Sjaastad
2017-08-14 22:16:03 +02:00
parent f756d1d2cb
commit 7dfcfde1d1
7 changed files with 50 additions and 4 deletions

View File

@@ -97,7 +97,6 @@ void RimSimWellFracture::updateAzimuthBasedOnWellAzimuthAngle()
else azimuth = simWellAzimuth - 90;
}
}
}
//--------------------------------------------------------------------------------------------------
@@ -120,6 +119,17 @@ double RimSimWellFracture::wellDipAtFracturePosition()
double simWellDip = m_branchCenterLines[m_branchIndex].simWellDipAngle(fracturePosition());
return simWellDip;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimSimWellFracture::loadDataAndUpdate()
{
setBranchGeometry();
updateFracturePositionFromLocation();
updateAzimuthBasedOnWellAzimuthAngle();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------