From: Guido Kanschat Date: Tue, 5 Jun 2001 19:23:25 +0000 (+0000) Subject: logging of coefficients moved to proper place X-Git-Tag: v8.0.0~19050 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=698585c5a20e4ee8ab77e2dbd634298dd7043aab;p=dealii.git logging of coefficients moved to proper place git-svn-id: https://svn.dealii.org/trunk@4744 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/solver_cg.h b/deal.II/lac/include/lac/solver_cg.h index c4f4479640..df95f6aa67 100644 --- a/deal.II/lac/include/lac/solver_cg.h +++ b/deal.II/lac/include/lac/solver_cg.h @@ -256,9 +256,6 @@ SolverCG::solve (const MATRIX &A, print_vectors(it, x, g, d); - if (additional_data.log_coefficients) - deallog << "alpha-beta:" << alpha << '\t' << beta << std::endl; - conv = control().check(it,res); if (conv) break; @@ -269,6 +266,9 @@ SolverCG::solve (const MATRIX &A, gh = g*h; beta = gh/beta; + if (additional_data.log_coefficients) + deallog << "alpha-beta:" << alpha << '\t' << beta << std::endl; + d.sadd(beta,-1.,h); };