Fix vappars and dr[sv]dt logic

The simulator should either use VAPPERS or dr[sv]dt, both the
combination drsdt and drvdt is allowed.
This commit is contained in:
Tor Harald Sandve
2018-10-17 13:35:25 +02:00
parent 6fee172f16
commit 95179f393c
30 changed files with 428 additions and 214 deletions

View File

@@ -73,7 +73,8 @@ BOOST_AUTO_TEST_CASE(TuningTest) {
EclipseGrid grid(10,10,10);
TableManager table ( deck );
Eclipse3DProperties eclipseProperties ( deck , table, grid);
Schedule schedule( deck, grid , eclipseProperties, Phases(true, true, true) , ParseContext());
Runspec runspec (deck);
Schedule schedule( deck, grid , eclipseProperties, runspec , ParseContext());
auto tuning = schedule.getTuning();
auto event = schedule.getEvents();
@@ -331,7 +332,8 @@ BOOST_AUTO_TEST_CASE(TuningInitTest) {
EclipseGrid grid(10,10,10);
TableManager table ( deck );
Eclipse3DProperties eclipseProperties ( deck , table, grid);
Schedule schedule(deck , grid , eclipseProperties, Phases(true, true, true), ParseContext());
Runspec runspec (deck);
Schedule schedule(deck , grid , eclipseProperties, runspec, ParseContext());
auto tuning = schedule.getTuning();
@@ -361,7 +363,8 @@ BOOST_AUTO_TEST_CASE(TuningResetTest) {
EclipseGrid grid(10,10,10);
TableManager table ( deck );
Eclipse3DProperties eclipseProperties ( deck , table, grid);
Schedule schedule(deck, grid , eclipseProperties, Phases(true, true, true), ParseContext());
Runspec runspec (deck);
Schedule schedule(deck, grid , eclipseProperties, runspec, ParseContext());
auto tuning = schedule.getTuning();