mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1960 Code adjustments
This commit is contained in:
parent
777a231606
commit
f654cd2bcc
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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<QDateTime> m_timeSteps;
|
||||
std::vector<double> m_daysSinceSimulationStart;
|
||||
std::vector<int> m_reportNr;
|
||||
|
Loading…
Reference in New Issue
Block a user