Simulation Input: Remove unused argument.

This commit is contained in:
Kristian Bendiksen committed 2025-11-19 16:47:27 +01:00
1 parent fcbafb69b9
commit 59584b5681
3 files changed
+3 -4

No files matched your search

@@ -175,7 +175,7 @@ void RicExportEclipseSectorModelFeature::executeCommand( RimEclipseView*
settings.setInputDeckFileName( dataFileName );
settings.setOutputDeckFileName( exportSettings.exportGridFilename() );
if ( auto result = RigSimulationInputTool::exportSimulationInput( *view, *view->eclipseCase(), settings ); !result )
if ( auto result = RigSimulationInputTool::exportSimulationInput( *view->eclipseCase(), settings ); !result )
{
RiaLogging::error( QString( "Failed to export simulation input: %1" ).arg( result.error() ) );
}
@@ -55,8 +55,7 @@
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
std::expected<void, QString> RigSimulationInputTool::exportSimulationInput( RimEclipseView& view,
RimEclipseCase& eclipseCase,
std::expected<void, QString> RigSimulationInputTool::exportSimulationInput( RimEclipseCase& eclipseCase,
const RigSimulationInputSettings& settings )
{
// Load the deck file
@@ -48,7 +48,7 @@ class RigSimulationInputTool
{
public:
static std::expected<void, QString>
exportSimulationInput( RimEclipseView& view, RimEclipseCase& eclipseCase, const RigSimulationInputSettings& settings );
exportSimulationInput( RimEclipseCase& eclipseCase, const RigSimulationInputSettings& settings );
static std::expected<Opm::DeckRecord, QString>
processEqualsRecord( const Opm::DeckRecord& record, const caf::VecIjk0& min, const caf::VecIjk0& max, const cvf::Vec3st& refinement );