mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3478 Export Cell Result to File : Move code to RicEclipseCellResultToFileImpl
This commit is contained in:
@@ -23,9 +23,7 @@
|
||||
#include "RiaLogging.h"
|
||||
|
||||
#include "RicExportFeatureImpl.h"
|
||||
|
||||
#include "RifEclipseInputFileTools.h"
|
||||
#include "RifReaderInterface.h"
|
||||
#include "RicEclipseCellResultToFileImpl.h"
|
||||
|
||||
#include "RigCaseCellResultsData.h"
|
||||
|
||||
@@ -99,7 +97,7 @@ void RicSaveEclipseResultAsInputPropertyExec::redo()
|
||||
{
|
||||
size_t timeStep = m_cellColors->reservoirView()->currentTimeStep();
|
||||
|
||||
bool isOk = RifEclipseInputFileTools::writeBinaryResultToTextFile(exportSettings.fileName, m_cellColors->reservoirView()->eclipseCase()->eclipseCaseData(), timeStep, m_cellColors, exportSettings.eclipseKeyword, exportSettings.undefinedValue, "saveEclipseResultAsInputPropertyExec");
|
||||
bool isOk = RicEclipseCellResultToFileImpl::writeBinaryResultToTextFile(exportSettings.fileName, m_cellColors->reservoirView()->eclipseCase()->eclipseCaseData(), timeStep, m_cellColors, exportSettings.eclipseKeyword, exportSettings.undefinedValue, "saveEclipseResultAsInputPropertyExec");
|
||||
if (!isOk)
|
||||
{
|
||||
RiaLogging::error("Failed to exported current result to " + exportSettings.fileName);
|
||||
|
||||
Reference in New Issue
Block a user