From: Martin Kronbichler Date: Tue, 21 May 2013 14:30:26 +0000 (+0000) Subject: Use better max coarse size for Trilinos AMG preconditioner. The default (128) is... X-Git-Tag: v8.0.0~497 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9763abbd947e5f8eb4aa4ad3f1dc3693d3c3764;p=dealii.git Use better max coarse size for Trilinos AMG preconditioner. The default (128) is way too small; a direct solver with not more than 2000 entries is very quick indeed. git-svn-id: https://svn.dealii.org/trunk@29539 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/lac/trilinos_precondition.cc b/deal.II/source/lac/trilinos_precondition.cc index b57d0d403e..e812285533 100644 --- a/deal.II/source/lac/trilinos_precondition.cc +++ b/deal.II/source/lac/trilinos_precondition.cc @@ -566,6 +566,7 @@ namespace TrilinosWrappers static_cast(additional_data.smoother_overlap)); parameter_list.set("aggregation: threshold", additional_data.aggregation_threshold); + parameter_list.set("coarse: max size", 2000); if (additional_data.output_details) parameter_list.set("ML output", 10);