Remove seconds and add timestep to ITERINFO report.

This commit is contained in:
Atgeirr Flø Rasmussen
2020-05-07 21:19:31 +02:00
parent 769028b591
commit 9dd2275af9
2 changed files with 6 additions and 7 deletions

View File

@@ -188,13 +188,13 @@ namespace Opm
void SimulatorReport::fullReports(std::ostream& os) const
{
os << " Time(sec) Time(day) Assembly LSolve LSetup Update Output WellIt Lins NewtIt LinIt Conv\n";
os << " Time(day) TStep(day) Assembly LSolve LSetup Update Output WellIt Lins NewtIt LinIt Conv\n";
for (size_t i = 0; i < this->stepreports.size(); ++i) {
const SimulatorReportSingle& sr = this->stepreports[i];
os.precision(10);
os << std::defaultfloat;
os << std::setw(11) << sr.global_time << " ";
os << std::setw(11) << unit::convert::to(sr.global_time, unit::day) << " ";
os << std::setw(11) << unit::convert::to(sr.timestep_length, unit::day) << " ";
os.precision(4);
os << std::fixed;
os << std::setw(9) << sr.assemble_time << " ";