From d972f271e4ce6e1c0dddef8869ce2e3c33b593c4 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Fri, 9 Jan 2009 18:44:12 +0000 Subject: [PATCH] Need a setting that is the same on all processors :-(. git-svn-id: https://svn.dealii.org/trunk@18157 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/trilinos_precondition.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/lac/source/trilinos_precondition.cc b/deal.II/lac/source/trilinos_precondition.cc index a665e95c4d..f423d1932f 100755 --- a/deal.II/lac/source/trilinos_precondition.cc +++ b/deal.II/lac/source/trilinos_precondition.cc @@ -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"); } -- 2.39.5