mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -23,8 +23,8 @@ namespace RimFaultReactivation
|
||||
|
||||
enum class GridPart
|
||||
{
|
||||
PART1,
|
||||
PART2
|
||||
FW, // footwall
|
||||
HW // hanging wall
|
||||
};
|
||||
|
||||
enum class BorderSurface
|
||||
|
||||
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user