]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Need a setting that is the same on all processors :-(.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Jan 2009 18:44:12 +0000 (18:44 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Jan 2009 18:44:12 +0000 (18:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@18157 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/trilinos_precondition.cc

index a665e95c4d855a9998d009016a974e283e67fa93..f423d1932fada0d12152f3086207ee623385eab9 100755 (executable)
@@ -585,8 +585,8 @@ namespace TrilinosWrappers
                                   // options?
        if (additional_data.higher_order_elements)
          {
-           if (matrix.local_size() < 5000)
-             parameter_list.set("aggregation: type", "Uncoupled");
+           if (matrix.m()/matrix.matrix->Comm().NumProc() < 5000)
+             parameter_list.set("aggregation: type", "Uncoupled-MIS");
            else
              parameter_list.set("aggregation: type", "MIS");
          }

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.