mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05: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:
1 parent
da6757e9fa
commit
52259a69f3
8 files changed
+60
-25
No files matched your search
@@ -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