mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Format fix-up
This commit is contained in:
@@ -266,7 +266,8 @@ public:
|
|||||||
std::ostringstream step_msg;
|
std::ostringstream step_msg;
|
||||||
boost::posix_time::time_facet* facet = new boost::posix_time::time_facet("%d-%b-%Y");
|
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.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)
|
<< " at day " << (double)unit::convert::to(timer.simulationTimeElapsed(), unit::day)
|
||||||
<< "/" << (double)unit::convert::to(timer.totalTime(), unit::day)
|
<< "/" << (double)unit::convert::to(timer.totalTime(), unit::day)
|
||||||
<< ", date = " << timer.currentDateTime();
|
<< ", date = " << timer.currentDateTime();
|
||||||
|
|||||||
@@ -225,7 +225,7 @@ namespace Opm {
|
|||||||
if( timestep_verbose_ )
|
if( timestep_verbose_ )
|
||||||
{
|
{
|
||||||
std::ostringstream ss;
|
std::ostringstream ss;
|
||||||
ss <<"Time step " << substepTimer.currentStepNum() << ", stepsize "
|
ss <<"\nTime step " << substepTimer.currentStepNum() << ", stepsize "
|
||||||
<< unit::convert::to(substepTimer.currentStepLength(), unit::day) << " days.";
|
<< unit::convert::to(substepTimer.currentStepLength(), unit::day) << " days.";
|
||||||
OpmLog::info(ss.str());
|
OpmLog::info(ss.str());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user