mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Changed to TimeMap api - using std::time_t
This commit is contained in:
parent
56cef57c8d
commit
66931cb030
@ -58,9 +58,7 @@ namespace Opm
|
|||||||
}
|
}
|
||||||
|
|
||||||
setCurrentStepNum(report_step);
|
setCurrentStepNum(report_step);
|
||||||
|
start_date_ = boost::posix_time::from_time_t( timeMap.getStartTime(0)).date();
|
||||||
boost::posix_time::ptime start_time = timeMap.getStartTime(0);
|
|
||||||
start_date_ = start_time.date();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Whether the current step is the first step.
|
/// Whether the current step is the first step.
|
||||||
|
Loading…
Reference in New Issue
Block a user