From a1b243d723ea1e16d4eb9aa40d41e18767800b1f Mon Sep 17 00:00:00 2001 From: Kristian Bendiksen Date: Tue, 23 Dec 2025 10:37:47 +0100 Subject: [PATCH] Remove unused parameter in fishbones. --- .../RicWellPathExportMswTableData.cpp | 11 +---------- .../RicWellPathExportMswTableData.h | 1 - 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/ApplicationLibCode/Commands/CompletionExportCommands/RicWellPathExportMswTableData.cpp b/ApplicationLibCode/Commands/CompletionExportCommands/RicWellPathExportMswTableData.cpp index 0071deab6c..dd6a934ee6 100644 --- a/ApplicationLibCode/Commands/CompletionExportCommands/RicWellPathExportMswTableData.cpp +++ b/ApplicationLibCode/Commands/CompletionExportCommands/RicWellPathExportMswTableData.cpp @@ -342,8 +342,6 @@ void RicWellPathExportMswTableData::appendFishbonesMswExportInfo( const RimEclip bool foundSubGridIntersections = false; - double maxSegmentLength = mswParameters->maxSegmentLength(); - auto unitSystem = exportInfo->unitSystem(); auto fishbonesSubs = wellPath->completions()->fishbonesCollection()->activeFishbonesSubs(); @@ -412,13 +410,7 @@ void RicWellPathExportMswTableData::appendFishbonesMswExportInfo( const RimEclip icdSegment->addCompletion( std::make_unique( label, wellPath, subEndMd, subEndTvd, lateralIndex ) ); } - assignFishbonesLateralIntersections( eclipseCase, - branch->wellPath(), - subs, - icdSegment.get(), - &foundSubGridIntersections, - maxSegmentLength, - unitSystem ); + assignFishbonesLateralIntersections( eclipseCase, branch->wellPath(), subs, icdSegment.get(), &foundSubGridIntersections, unitSystem ); auto icdCompletion = std::make_unique( QString( "ICD" ), wellPath, subEndMd, subEndTvd, nullptr ); icdCompletion->setFlowCoefficient( subs->icdFlowCoefficient() ); @@ -1254,7 +1246,6 @@ void RicWellPathExportMswTableData::assignFishbonesLateralIntersections( const R const RimFishbones* fishbonesSubs, gsl::not_null segment, bool* foundSubGridIntersections, - double maxSegmentLength, RiaDefines::EclipseUnitSystem unitSystem ) { CVF_ASSERT( foundSubGridIntersections != nullptr ); diff --git a/ApplicationLibCode/Commands/CompletionExportCommands/RicWellPathExportMswTableData.h b/ApplicationLibCode/Commands/CompletionExportCommands/RicWellPathExportMswTableData.h index 2065bac5d5..bff982231d 100644 --- a/ApplicationLibCode/Commands/CompletionExportCommands/RicWellPathExportMswTableData.h +++ b/ApplicationLibCode/Commands/CompletionExportCommands/RicWellPathExportMswTableData.h @@ -147,7 +147,6 @@ private: const RimFishbones* fishbonesSubs, gsl::not_null segment, bool* foundSubGridIntersections, - double maxSegmentLength, RiaDefines::EclipseUnitSystem unitSystem ); static void assignFractureCompletionsToCellSegment( const RimEclipseCase* eclipseCase,