mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 15:10:22 -05:00
Add support for SICD valves (#13496)
* Add SICD parameters * Add wsegsicd valves to completion export * Add python method to read template info from valve * Update tests
This commit is contained in:
44 files changed
+1193
-109
No files matched your search
@@ -3309,7 +3309,9 @@ void RimWellLogTrack::updateWellPathAttributesOnPlot()
|
||||
{ RiaDefines::WellPathComponentType::ICD, 7 },
|
||||
{ RiaDefines::WellPathComponentType::AICD, 8 },
|
||||
{ RiaDefines::WellPathComponentType::ICV, 9 },
|
||||
{ RiaDefines::WellPathComponentType::MSW_SEGMENT, 10 } };
|
||||
{ RiaDefines::WellPathComponentType::MSW_SEGMENT, 10 },
|
||||
{ RiaDefines::WellPathComponentType::SICD, 11 },
|
||||
{ RiaDefines::WellPathComponentType::UNDEFINED_COMPONENT, 12 } };
|
||||
|
||||
std::stable_sort( allWellPathComponents.begin(),
|
||||
allWellPathComponents.end(),
|
||||
@@ -3319,6 +3321,11 @@ void RimWellLogTrack::updateWellPathAttributesOnPlot()
|
||||
std::set<QString> completionsAssignedToLegend;
|
||||
for ( const RimWellPathComponentInterface* component : allWellPathComponents )
|
||||
{
|
||||
if ( component->componentType() == RiaDefines::WellPathComponentType::UNDEFINED_COMPONENT )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
std::unique_ptr<RiuWellPathComponentPlotItem> plotItem( new RiuWellPathComponentPlotItem( wellPathAttributeSource(), component ) );
|
||||
QString legendTitle = plotItem->legendTitle();
|
||||
bool contributeToLegend = m_wellPathCompletionsInLegend() && !completionsAssignedToLegend.count( legendTitle );
|
||||
|
||||
Reference in new issue
Block a user