Format fix-up

This commit is contained in:
Alf B. Rustad 2017-11-16 15:42:01 +01:00
parent 18419be734
commit 7dba2c4d70
2 changed files with 3 additions and 2 deletions

View File

@ -266,7 +266,8 @@ public:
std::ostringstream step_msg;
boost::posix_time::time_facet* facet = new boost::posix_time::time_facet("%d-%b-%Y");
step_msg.imbue(std::locale(std::locale::classic(), facet));
step_msg << "\nReport step " << std::setw(4) <<timer.currentStepNum()
step_msg << "\nReport step " << std::setw(2) <<timer.currentStepNum()
<< "/" << timer.numSteps()
<< " at day " << (double)unit::convert::to(timer.simulationTimeElapsed(), unit::day)
<< "/" << (double)unit::convert::to(timer.totalTime(), unit::day)
<< ", date = " << timer.currentDateTime();

View File

@ -225,7 +225,7 @@ namespace Opm {
if( timestep_verbose_ )
{
std::ostringstream ss;
ss <<"Time step " << substepTimer.currentStepNum() << ", stepsize "
ss <<"\nTime step " << substepTimer.currentStepNum() << ", stepsize "
<< unit::convert::to(substepTimer.currentStepLength(), unit::day) << " days.";
OpmLog::info(ss.str());
}