Merge pull request #789 from atgeirr/minor-output-fixes

Minor output fixes
This commit is contained in:
Bård Skaflestad 2015-04-21 11:37:18 +02:00
commit 25a0857fd5
3 changed files with 17 additions and 3 deletions

View File

@ -68,9 +68,11 @@ namespace EclipseWriterDetails {
swat,
sgas);
if (well->getPLTActive(simulatorTimer.currentStepNum())) {
std::cerr << "PLT not supported, writing RFT data" << std::endl;
}
// TODO: replace this silenced warning with an appropriate
// use of the OpmLog facilities.
// if (well->getPLTActive(simulatorTimer.currentStepNum())) {
// std::cerr << "PLT not supported, writing RFT data" << std::endl;
// }
rft_nodes.push_back(ecl_node);
}

View File

@ -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

View File

@ -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);
};