Use EclipseState based Schedule constructor

This commit is contained in:
Joakim Hove 2019-11-27 00:18:28 +01:00
parent e7a837e463
commit b35e5c10b6

View File

@ -36,11 +36,7 @@ BOOST_AUTO_TEST_CASE(TestStoppedWells)
Opm::Parser parser;
Opm::Deck deck(parser.parseFile(filename));
Opm::EclipseState eclipseState(deck);
const auto& grid = eclipseState.getInputGrid();
const TableManager table ( deck );
const Eclipse3DProperties eclipseProperties ( deck , table, grid);
const Opm::Runspec runspec (deck);
const Schedule sched(deck, grid, eclipseProperties, runspec);
const Schedule sched(deck, eclipseState);
// Both wells are open in the first schedule step
{