mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use EclipseState based Schedule constructor
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user