Remove obsolete time and convergence output.

This commit is contained in:
Atgeirr Flø Rasmussen 2017-11-17 15:28:52 +01:00
parent f2a51d29e7
commit 8bd441f431
2 changed files with 0 additions and 19 deletions

View File

@ -690,11 +690,6 @@ namespace Opm
} }
} }
if (output_to_files_) {
std::string filename = output_dir_ + "/walltime.txt";
std::fstream tot_os(filename.c_str(), std::fstream::trunc | std::fstream::out);
successReport.reportParam(tot_os);
}
} else { } else {
if (output_cout_) { if (output_cout_) {
std::cout << "\n\n================ Simulation turned off ===============\n" << std::flush; std::cout << "\n\n================ Simulation turned off ===============\n" << std::flush;

View File

@ -162,16 +162,8 @@ public:
// Create timers and file for writing timing info. // Create timers and file for writing timing info.
Opm::time::StopWatch solver_timer; Opm::time::StopWatch solver_timer;
Opm::time::StopWatch step_timer;
Opm::time::StopWatch total_timer; Opm::time::StopWatch total_timer;
total_timer.start(); total_timer.start();
std::string tstep_filename = output_writer_.outputDirectory() + "/step_timing.txt";
std::ofstream tstep_os;
if ( output_writer_.output() && output_writer_.isIORank() )
{
tstep_os.open(tstep_filename.c_str());
}
// adaptive time stepping // adaptive time stepping
const auto& events = schedule().getEvents(); const auto& events = schedule().getEvents();
@ -225,7 +217,6 @@ public:
// Main simulation loop. // Main simulation loop.
while (!timer.done()) { while (!timer.done()) {
// Report timestep. // Report timestep.
step_timer.start();
if ( terminal_output_ ) if ( terminal_output_ )
{ {
std::ostringstream ss; std::ostringstream ss;
@ -321,11 +312,6 @@ public:
// update timing. // update timing.
report.solver_time += solver_timer.secsSinceStart(); report.solver_time += solver_timer.secsSinceStart();
if ( output_writer_.output() && output_writer_.isIORank() )
{
stepReport.reportParam(tstep_os);
}
// We don't need the reservoir state anymore. It is just passed around to avoid // We don't need the reservoir state anymore. It is just passed around to avoid
// code duplication. Pass empty state instead. // code duplication. Pass empty state instead.
if (timer.initialStep()) { if (timer.initialStep()) {