From f654cd2bccf272a6570361ad0a27cf9a0b77b441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Wed, 4 Oct 2017 11:18:11 +0200 Subject: [PATCH] #1960 Code adjustments --- .../RifEclipseUnifiedRestartFileAccess.cpp | 12 ++++++------ .../RifEclipseUnifiedRestartFileAccess.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ApplicationCode/FileInterface/RifEclipseUnifiedRestartFileAccess.cpp b/ApplicationCode/FileInterface/RifEclipseUnifiedRestartFileAccess.cpp index 2cd78a1de0..cc85026cae 100644 --- a/ApplicationCode/FileInterface/RifEclipseUnifiedRestartFileAccess.cpp +++ b/ApplicationCode/FileInterface/RifEclipseUnifiedRestartFileAccess.cpp @@ -165,12 +165,12 @@ void RifEclipseUnifiedRestartFileAccess::extractTimestepsFromEclipse() ecl_file_push_block(m_ecl_file); // <------------------------------------------------------- { // ecl_file_subselect_block(m_ecl_file, SEQNUM_KW, block_nr); // Ensure that the status - { // is not changed as a side - const ecl_kw_type * seqnum_kw = ecl_file_iget_named_kw(m_ecl_file, SEQNUM_KW, 0); // effect. - int report_nr = ecl_kw_iget_int(seqnum_kw, 0); // + { // is not changed as a side + const ecl_kw_type * seqnum_kw = ecl_file_iget_named_kw(m_ecl_file, SEQNUM_KW, 0); // effect. + int report_nr = ecl_kw_iget_int(seqnum_kw, 0); // m_reportNr.push_back(report_nr); - } // + } // } // ecl_file_pop_block(m_ecl_file); // <------------------------------------------------------- } @@ -311,9 +311,9 @@ void RifEclipseUnifiedRestartFileAccess::readWellData(well_info_type* well_info, if (openFile()) { - // cvf::Trace::show("well_info_add_UNRST_wells Start"); + // cvf::Trace::show("well_info_add_UNRST_wells Start"); // Use for profiling well_info_add_UNRST_wells(well_info, m_ecl_file, importCompleteMswData); - // cvf::Trace::show("well_info_add_UNRST_wells End"); + // cvf::Trace::show("well_info_add_UNRST_wells End"); // Use for profiling } } diff --git a/ApplicationCode/FileInterface/RifEclipseUnifiedRestartFileAccess.h b/ApplicationCode/FileInterface/RifEclipseUnifiedRestartFileAccess.h index 629681148b..0b67a6143a 100644 --- a/ApplicationCode/FileInterface/RifEclipseUnifiedRestartFileAccess.h +++ b/ApplicationCode/FileInterface/RifEclipseUnifiedRestartFileAccess.h @@ -60,12 +60,12 @@ public: private: bool openFile(); bool useResultIndexFile() const; + void extractTimestepsFromEclipse(); private: QString m_filename; ecl_file_type* m_ecl_file; - void extractTimestepsFromEclipse(); std::vector m_timeSteps; std::vector m_daysSinceSimulationStart; std::vector m_reportNr;