Pass sim start argument to SummaryState constructor

This commit is contained in:
Joakim Hove
2019-09-20 00:49:40 +02:00
parent 37854bcdcb
commit bbb9cd3483
8 changed files with 33 additions and 23 deletions

View File

@@ -37,6 +37,7 @@
#include <opm/grid/GridManager.hpp>
#include <chrono>
#include <cstddef>
#include <string>
@@ -51,7 +52,7 @@ struct Setup
, pu (Opm::phaseUsageFromDeck(es))
, grid (es.getInputGrid())
, sched(deck, es)
, st()
, st(std::chrono::system_clock::from_time_t(sched.getStartTime()))
{}
Opm::EclipseState es;