From 02ab5b0f22bc1f3f210530c66c7e68ad0636b13c Mon Sep 17 00:00:00 2001 From: Kai Bao Date: Thu, 8 May 2014 17:19:02 +0200 Subject: [PATCH] Cleaning up some commented lines. --- opm/autodiff/FullyImplicitBlackoilSolver_impl.hpp | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/opm/autodiff/FullyImplicitBlackoilSolver_impl.hpp b/opm/autodiff/FullyImplicitBlackoilSolver_impl.hpp index d83a8bf1a..1207df5de 100644 --- a/opm/autodiff/FullyImplicitBlackoilSolver_impl.hpp +++ b/opm/autodiff/FullyImplicitBlackoilSolver_impl.hpp @@ -266,12 +266,9 @@ namespace { bool converged = false; const double r0 = residualNorm(); - // { - // const SolutionState state = constantState(x, xw); - // const SolutionState state = variableState(x, xw); - // converged = getConvergence(state, dt); - converged = getConvergence(dt); - // } + + converged = getConvergence(dt); + int it = 0; std::cout << "\nIteration Residual\n" << std::setw(9) << it << std::setprecision(9) @@ -289,11 +286,8 @@ namespace { const double r = residualNorm(); resTooLarge = (r > atol) && (r > rtol*r0); - // { - // const SolutionState state = constantState(x, xw); - // converged = getConvergence(state, dt); + converged = getConvergence(dt); - // } it += 1; std::cout << std::setw(9) << it << std::setprecision(9)