Use EclipseState based Schedule constructor

This commit is contained in:
Joakim Hove
2019-11-27 10:41:00 +01:00
parent 4b2960c0d3
commit 099fbc05d0

View File

@@ -72,7 +72,7 @@ struct SetupTest {
const Opm::TableManager table ( deck ); const Opm::TableManager table ( deck );
const Opm::Eclipse3DProperties eclipseProperties ( deck , table, ecl_state->getInputGrid()); const Opm::Eclipse3DProperties eclipseProperties ( deck , table, ecl_state->getInputGrid());
const Opm::Runspec runspec (deck); const Opm::Runspec runspec (deck);
schedule.reset( new Opm::Schedule(deck, ecl_state->getInputGrid(), eclipseProperties, runspec)); schedule.reset( new Opm::Schedule(deck, *ecl_state));
summaryState.reset( new Opm::SummaryState(std::chrono::system_clock::from_time_t(schedule->getStartTime()))); summaryState.reset( new Opm::SummaryState(std::chrono::system_clock::from_time_t(schedule->getStartTime())));
} }
current_timestep = 0; current_timestep = 0;