From: kronbichler Date: Wed, 19 Nov 2008 13:55:29 +0000 (+0000) Subject: Simplified a bit of code in AMG preconditioner init. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c17360a33c763f18706e544ab993e4dd82cda721;p=dealii-svn.git Simplified a bit of code in AMG preconditioner init. git-svn-id: https://svn.dealii.org/trunk@17643 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/trilinos_precondition.cc b/deal.II/lac/source/trilinos_precondition.cc index ffc68d79b2..cdf1e1e914 100755 --- a/deal.II/lac/source/trilinos_precondition.cc +++ b/deal.II/lac/source/trilinos_precondition.cc @@ -513,18 +513,16 @@ namespace TrilinosWrappers { ML_Epetra::SetDefaults("SA",parameter_list); parameter_list.set("smoother: type", "Chebyshev"); - parameter_list.set("smoother: sweeps", - (int)additional_data.smoother_sweeps); } else { ML_Epetra::SetDefaults("NSSA",parameter_list); parameter_list.set("aggregation: type", "Uncoupled"); parameter_list.set("aggregation: block scaling", true); - parameter_list.set("smoother: sweeps", - (int)additional_data.smoother_sweeps); } + parameter_list.set("smoother: sweeps", + (int)additional_data.smoother_sweeps); parameter_list.set("smoother: ifpack overlap", (int)additional_data.smoother_overlap); parameter_list.set("aggregation: threshold",