]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Set number of inner iterations to A.m(), instead of the fixed value 100.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 18 Jun 2002 12:37:43 +0000 (12:37 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 18 Jun 2002 12:37:43 +0000 (12:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@6157 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/eigen.h

index 8190b61c117fca97e48798dd4eb9f014faf67ecc..98b56e9e0c040f0bf4db246029eff75631bf3036 100644 (file)
@@ -297,7 +297,7 @@ EigenInverse<VECTOR>::solve (double       &value,
   ShiftedMatrix <MATRIX> 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<VECTOR>
     solver(inner_control, memory);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.