Merge pull request #3151 from joakim-hove/starting-timestep

Change output to indicate start of time step
This commit is contained in:
Bård Skaflestad
2021-04-10 15:08:49 +02:00
committed by GitHub

View File

@@ -392,7 +392,7 @@ namespace Opm {
std::ostringstream ss;
boost::posix_time::time_facet* facet = new boost::posix_time::time_facet("%d-%b-%Y");
ss.imbue(std::locale(std::locale::classic(), facet));
ss <<"\nTime step " << substepTimer.currentStepNum() << ", stepsize "
ss <<"\nStarting time step " << substepTimer.currentStepNum() << ", stepsize "
<< unit::convert::to(substepTimer.currentStepLength(), unit::day) << " days,"
<< " at day " << (double)unit::convert::to(substepTimer.simulationTimeElapsed(), unit::day)
<< "/" << (double)unit::convert::to(substepTimer.totalTime(), unit::day)