mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-30 17:42:13 -06:00
#11109 Improve visualization of MSW with valve branches
Increase default segment threshold to 4 Add an optional setting to override the default value Use this threshold to merge short branches into parent branch
This commit is contained in:
1 parent
85672f5ef5
commit
7d601ac067
11 files changed
+87
-39
No files matched your search
@@ -23,6 +23,7 @@
|
||||
|
||||
#include "RigEclipseCaseData.h"
|
||||
#include "RigMainGrid.h"
|
||||
#include "RigSimulationWellCenterLineCalculator.h"
|
||||
#include "RigWellPath.h"
|
||||
|
||||
#include "Rim2dIntersectionView.h"
|
||||
@@ -868,11 +869,10 @@ void RimExtrudedCurveIntersection::updateSimulationWellCenterline() const
|
||||
{
|
||||
if ( m_simulationWellBranchCenterlines.empty() )
|
||||
{
|
||||
auto branches = m_simulationWell->wellPipeBranches();
|
||||
for ( const auto& branch : branches )
|
||||
{
|
||||
m_simulationWellBranchCenterlines.push_back( branch->wellPathPoints() );
|
||||
}
|
||||
auto simWells = m_simulationWell()->wellBranchesForVisualization();
|
||||
const auto& [coords, wellCells] = RigSimulationWellCenterLineCalculator::extractBranchData( simWells );
|
||||
|
||||
m_simulationWellBranchCenterlines = coords;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -209,4 +209,4 @@ private:
|
||||
|
||||
caf::PdmField<bool> m_kFilterCollectionOverride;
|
||||
caf::PdmField<QString> m_kFilterCollectionText;
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user