mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
WELSEGS Export : Avoid duplicate perforation segments in WELSEGS table
This commit is contained in:
1 parent
e1b71481ec
commit
51b72ce7be
1 file changed
+5
+5
@@ -395,6 +395,11 @@ void RicWellPathExportMswCompletionsImpl::writeWelsegsSegmentsRecursively( RifTe
|
||||
|
||||
for ( auto& completion : segment->completions() )
|
||||
{
|
||||
// For a well with perforation intervals, the WELSEGS segments are reported twice if if we include the
|
||||
// RicMswPerforation completions. Investigate when this class is intended to be exported to file
|
||||
auto performationMsw = dynamic_cast<RicMswPerforation*>( completion );
|
||||
if ( performationMsw ) continue;
|
||||
|
||||
auto segmentValve = dynamic_cast<RicMswValve*>( completion );
|
||||
if ( segmentValve != nullptr )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user