diff --git a/opm/autodiff/FullyImplicitBlackoilSolver_impl.hpp b/opm/autodiff/FullyImplicitBlackoilSolver_impl.hpp index fc6678cad..69a678340 100644 --- a/opm/autodiff/FullyImplicitBlackoilSolver_impl.hpp +++ b/opm/autodiff/FullyImplicitBlackoilSolver_impl.hpp @@ -1886,20 +1886,19 @@ namespace { bool converged = converged_MB && converged_CNV && converged_Well; - std::cout << "\nIteration OIL WATER GAS WELL-FLOW WELL-CONTROL\n" - << std::setw(9) << iteration << std::setprecision(4) - << std::setw(13) << mass_balance_residual_water - << std::setw(13) << mass_balance_residual_oil - << std::setw(13) << mass_balance_residual_gas - << std::setw(13) << residualWellFlux - << std::setw(13) << residualWell + if (iteration == 0) { + std::cout << "\nIter MB(OIL) MB(WATER) MB(GAS) CNVO CNVO CNVW WELL-FLOW WELL-CNTRL\n"; + } + std::cout << std::setw(4) << iteration << std::setprecision(4) + << std::setw(11) << mass_balance_residual_water + << std::setw(11) << mass_balance_residual_oil + << std::setw(11) << mass_balance_residual_gas + << std::setw(11) << CNVW + << std::setw(11) << CNVO + << std::setw(11) << CNVG + << std::setw(11) << residualWellFlux + << std::setw(11) << residualWell << std::endl; - -#ifdef OPM_VERBOSE - std::cout << " CNVW " << CNVW << " CNVO " << CNVO << " CNVG " << CNVG << std::endl; - std::cout << " converged_MB " << converged_MB << " converged_CNV " << converged_CNV - << " converged_Well " << converged_Well << " converged " << converged << std::endl; -#endif return converged; }