Merge pull request #816 from joakim-hove/remove-summary-args

Remove unused arguments from EclipseIO::writeTimestep()
This commit is contained in:
Joakim Hove
2019-06-14 16:05:50 +02:00
committed by GitHub
7 changed files with 6 additions and 29 deletions

View File

@@ -114,10 +114,7 @@ void msim::output(const SummaryState& st, size_t report_step, bool /* substep */
report_step,
false,
seconds_elapsed,
value,
{},
{},
{});
value);
}

View File

@@ -177,9 +177,6 @@ public:
bool isSubstep,
double seconds_elapsed,
RestartValue value,
const std::map<std::string, double>& single_summary_values,
const std::map<std::string, std::vector<double>>& region_summary_values,
const std::map<std::pair<std::string, int>, double>& block_summary_values,
const bool write_double = false);

View File

@@ -493,9 +493,6 @@ void EclipseIO::writeTimeStep(const SummaryState& st,
bool isSubstep,
double secs_elapsed,
RestartValue value,
const std::map<std::string, double>& single_summary_values,
const std::map<std::string, std::vector<double> >& region_summary_values,
const std::map<std::pair<std::string, int>, double>& block_summary_values,
const bool write_double)
{

View File

@@ -334,12 +334,7 @@ BOOST_AUTO_TEST_CASE(EclipseIOIntegration) {
i,
false,
first_step - start_time,
restart_value,
{},
{},
{});
restart_value);
checkRestartFile( i );
}

View File

@@ -158,10 +158,7 @@ BOOST_AUTO_TEST_CASE(test_RFT) {
2,
false,
step_time - start_time,
restart_value,
{},
{},
{});
restart_value);
}
verifyRFTFile("TESTRFT.RFT");
@@ -253,10 +250,7 @@ BOOST_AUTO_TEST_CASE(test_RFT2) {
step,
false,
step_time - start_time,
restart_value,
{},
{},
{});
restart_value);
}
verifyRFTFile2("TESTRFT.RFT");
}

View File

@@ -483,7 +483,7 @@ RestartValue first_sim(const EclipseState& es, EclipseIO& eclWriter, SummaryStat
false,
first_step - start_time,
restart_value,
{}, {}, {}, write_double);
write_double);
return restart_value;
}

View File

@@ -164,10 +164,7 @@ BOOST_AUTO_TEST_CASE(EclipseWriteRestartWellInfo) {
timestep,
false,
timestep,
RestartValue(solution, wells),
{},
{},
{} );
RestartValue(solution, wells));
}
verifyWellState(eclipse_restart_filename, grid, schedule);