Part 2: Use Opm::time_point

This commit is contained in:
Joakim Hove
2021-02-28 17:04:35 +01:00
parent 5698883040
commit 7b896359f6
46 changed files with 300 additions and 239 deletions

View File

@@ -27,6 +27,7 @@
#include <opm/parser/eclipse/Units/UnitSystem.hpp>
#include <opm/parser/eclipse/Units/Units.hpp>
#include <opm/common/utility/TimeService.hpp>
#include <opm/io/eclipse/OutputStream.hpp>
@@ -46,7 +47,7 @@ namespace {
Opm::SummaryState sum_state_TEST1()
{
auto state = Opm::SummaryState{std::chrono::system_clock::now()};
auto state = Opm::SummaryState{Opm::TimeService::now()};
state.update_well_var("OPU01", "WWPR", 21.);
state.update_well_var("OPU02", "WWPR", 22.);
state.update_well_var("OPL01", "WWPR", 23.);