From 3948e08bae54222344ac92de71f4f92df604d591 Mon Sep 17 00:00:00 2001 From: guido Date: Sat, 24 Nov 2001 18:47:28 +0000 Subject: [PATCH] reverted to previous behavior git-svn-id: https://svn.dealii.org/trunk@5263 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/solver_richardson.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/deal.II/lac/include/lac/solver_richardson.h b/deal.II/lac/include/lac/solver_richardson.h index a59da8dc8a..8700443a62 100644 --- a/deal.II/lac/include/lac/solver_richardson.h +++ b/deal.II/lac/include/lac/solver_richardson.h @@ -58,7 +58,7 @@ class SolverRichardson : public Solver * to one. */ AdditionalData(double omega=1, - bool use_preconditioned_residual = true): + bool use_preconditioned_residual = false): omega(omega), use_preconditioned_residual(use_preconditioned_residual) {}; @@ -207,10 +207,7 @@ SolverRichardson::solve (const MATRIX &A, if (!additional_data.use_preconditioned_residual) { res = r*r; -// cout << '[' << res << ' '; res=sqrt(res); -// cout << res << ' ' << r.l1_norm() << ']'; -// r.print(cout); conv = control().check (iter, criterion()); if (conv != SolverControl::iterate) break; @@ -220,10 +217,7 @@ SolverRichardson::solve (const MATRIX &A, if (additional_data.use_preconditioned_residual) { res = d*d; -// cout << '[' << res << ' '; res=sqrt(res); -// cout << res << ' ' << r.l1_norm() << ']'; -// r.print(cout); conv = control().check (iter, criterion()); if (conv != SolverControl::iterate) break; -- 2.39.5