mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 17:26:27 -06:00
Compacted time step report
This commit is contained in:
parent
e8c030be17
commit
90b2e8b8ef
@ -73,15 +73,14 @@ namespace Opm
|
||||
|
||||
void SimulatorReportSingle::reportStep(std::ostringstream& ss) const
|
||||
{
|
||||
ss << "Time step summary: ";
|
||||
if (total_well_iterations != 0) {
|
||||
ss << "well its = " << std::setw(2) << total_well_iterations << ", ";
|
||||
ss << "Well its=" << std::setw(2) << total_well_iterations << ", ";
|
||||
}
|
||||
ss << "newton its = " << std::setw(2) << total_newton_iterations << ", "
|
||||
<< "linearizations = " << std::setw(2) << total_linearizations
|
||||
<< " (" << std::fixed << std::setprecision(3) << std::setw(6) << assemble_time << " sec), "
|
||||
<< "linear its = " << std::setw(3) << total_linear_iterations
|
||||
<< " (" << std::fixed << std::setprecision(3) << std::setw(6) << linear_solve_time << " sec)";
|
||||
ss << "Newton its=" << std::setw(2) << total_newton_iterations << ", "
|
||||
<< "linearizations=" << std::setw(2) << total_linearizations
|
||||
<< " (" << std::fixed << std::setprecision(1) << std::setw(2) << assemble_time << "sec), "
|
||||
<< "linear its=" << std::setw(3) << total_linear_iterations
|
||||
<< " (" << std::fixed << std::setprecision(1) << std::setw(2) << linear_solve_time << "sec)";
|
||||
}
|
||||
|
||||
void SimulatorReportSingle::reportFullyImplicit(std::ostream& os, const SimulatorReportSingle* failureReport) const
|
||||
|
Loading…
Reference in New Issue
Block a user