diff --git a/opm/core/simulator/SimulatorReport.cpp b/opm/core/simulator/SimulatorReport.cpp index cf436db3a..3eb17b1c1 100644 --- a/opm/core/simulator/SimulatorReport.cpp +++ b/opm/core/simulator/SimulatorReport.cpp @@ -50,6 +50,16 @@ namespace Opm << "\n Overall Linear Iterations: " << total_linear_iterations << std::endl; } + + void SimulatorReport::reportFullyImplicit(std::ostream& os) + { + os << "Total time taken (seconds): " << total_time + << "\nSolver time (seconds): " << pressure_time + << "\nOverall Newton Iterations: " << total_newton_iterations + << "\nOverall Linear Iterations: " << total_linear_iterations + << std::endl; + } + void SimulatorReport::reportParam(std::ostream& os) { os << "/timing/total_time=" << total_time diff --git a/opm/core/simulator/SimulatorReport.hpp b/opm/core/simulator/SimulatorReport.hpp index 99869dc7c..45225b5ac 100644 --- a/opm/core/simulator/SimulatorReport.hpp +++ b/opm/core/simulator/SimulatorReport.hpp @@ -41,6 +41,8 @@ namespace Opm void operator+=(const SimulatorReport& sr); /// Print a report to the given stream. void report(std::ostream& os); + /// Print a report, leaving out the transport time. + void reportFullyImplicit(std::ostream& os); void reportParam(std::ostream& os); };