From: kronbichler Date: Fri, 9 Jan 2009 18:44:12 +0000 (+0000) Subject: Need a setting that is the same on all processors :-(. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d972f271e4ce6e1c0dddef8869ce2e3c33b593c4;p=dealii-svn.git Need a setting that is the same on all processors :-(. git-svn-id: https://svn.dealii.org/trunk@18157 0785d39b-7218-0410-832d-ea1e28bc413d --- 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"); }