Fix minor output bug and refine output.

Previously the substep summary reports were cumulative, misleading the user.
Also, made output a little more compact and readable, ensuring numbers line up
unless unusually many digits are needed for times and iteration counts.
This commit is contained in:
Atgeirr Flø Rasmussen
2017-04-06 14:54:08 +02:00
parent e325dcd04b
commit 98debed741
4 changed files with 14 additions and 14 deletions

View File

@@ -309,7 +309,7 @@ namespace Opm {
current_relaxation_ -= nonlinear_solver.relaxIncrement();
current_relaxation_ = std::max(current_relaxation_, nonlinear_solver.relaxMax());
if (terminalOutputEnabled()) {
std::string msg = " Oscillating behavior detected: Relaxation set to "
std::string msg = " Oscillating behavior detected: Relaxation set to "
+ std::to_string(current_relaxation_);
OpmLog::info(msg);
}