Update grid part naming (#10879)

* Rename parts
* Make sure well extraction goes along model, not fault
* Match part naming with parts
This commit is contained in:
jonjenssen
2023-11-28 02:26:09 +01:00
committed by GitHub
parent da6757e9fa
commit 52259a69f3
8 changed files with 60 additions and 25 deletions

View File

@@ -670,9 +670,10 @@ bool RimFaultReactivationModel::exportModelSettings()
auto [topPosition, bottomPosition] = m_2Dmodel->faultTopBottom();
auto faultNormal = m_2Dmodel->faultNormal();
// make sure we move horizontally
// make sure we move horizontally, and along the 2D model
faultNormal.z() = 0.0;
faultNormal.normalize();
faultNormal = faultNormal ^ cvf::Vec3d::Z_AXIS;
RimFaultReactivationTools::addSettingsToMap( settings, faultNormal, topPosition, bottomPosition );