From: wolf Date: Tue, 18 Jun 2002 12:37:43 +0000 (+0000) Subject: Set number of inner iterations to A.m(), instead of the fixed value 100. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=021931439b6db38e07d55e20a82ad90d9f3abea6;p=dealii-svn.git Set number of inner iterations to A.m(), instead of the fixed value 100. git-svn-id: https://svn.dealii.org/trunk@6157 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/eigen.h b/deal.II/lac/include/lac/eigen.h index 8190b61c11..98b56e9e0c 100644 --- a/deal.II/lac/include/lac/eigen.h +++ b/deal.II/lac/include/lac/eigen.h @@ -297,7 +297,7 @@ EigenInverse::solve (double &value, ShiftedMatrix A_s(A, -value); // Define solver - ReductionControl inner_control (100, 1.e-16, 1.e-8, false, false); + ReductionControl inner_control (A.m(), 1.e-16, 1.e-8, false, false); PreconditionIdentity prec; SolverCG solver(inner_control, memory);