#10754: Exclude COMPDAT for de-activated laterals

This commit is contained in:
Magne Sjaastad
2023-11-13 07:44:44 +01:00
parent 76fdac0b80
commit 68a4d54af2
2 changed files with 6 additions and 1 deletions

View File

@@ -193,6 +193,11 @@ void RicWellPathExportCompletionDataFeatureImpl::exportCompletions( const std::v
for ( auto wellPathLateral : allWellPathLaterals )
{
// Skip well paths that are not enabled, no export of WELSEGS or COMPDAT
// https://github.com/OPM/ResInsight/issues/10754
//
if ( !wellPathLateral->isEnabled() ) continue;
// Generate completion data
if ( exportSettings.includePerforations )