mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Remove seconds and add timestep to ITERINFO report.
This commit is contained in:
@@ -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 << " ";
|
||||
|
||||
Reference in New Issue
Block a user