From ad1f0b55ad3edfd0001acce337dbb8dba7b9e48c Mon Sep 17 00:00:00 2001 From: kronbichler Date: Tue, 21 May 2013 14:30:26 +0000 Subject: [PATCH] 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 --- deal.II/source/lac/trilinos_precondition.cc | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5