mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1768 Create index file name based on result file name
This commit is contained in:
parent
19be1c09a4
commit
d19c256333
@ -371,6 +371,18 @@ cvf::ref<RifEclipseRestartDataAccess> RifEclipseOutputFileTools::createDynamicRe
|
|||||||
return resultsAccess;
|
return resultsAccess;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
QString RifEclipseOutputFileTools::createIndexFileName(const QString& resultFileName)
|
||||||
|
{
|
||||||
|
QFileInfo fi(resultFileName);
|
||||||
|
|
||||||
|
QString indexFileName = fi.path() + "/" + fi.completeBaseName() + ".RESINSIGHT_IDX";
|
||||||
|
|
||||||
|
return indexFileName;
|
||||||
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
@ -67,6 +67,7 @@ public:
|
|||||||
|
|
||||||
static cvf::ref<RifEclipseRestartDataAccess> createDynamicResultAccess(const QString& fileName);
|
static cvf::ref<RifEclipseRestartDataAccess> createDynamicResultAccess(const QString& fileName);
|
||||||
|
|
||||||
|
static QString createIndexFileName(const QString& resultFileName);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static void createReportStepsMetaData(std::vector<ecl_file_type*> ecl_files, std::vector<RifRestartReportStep>* reportSteps);
|
static void createReportStepsMetaData(std::vector<ecl_file_type*> ecl_files, std::vector<RifRestartReportStep>* reportSteps);
|
||||||
|
Loading…
Reference in New Issue
Block a user