]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix TrilinosWrappers::PreconditionMueLu
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 26 Jan 2019 14:34:33 +0000 (15:34 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 26 Jan 2019 15:03:30 +0000 (16:03 +0100)
source/lac/trilinos_precondition_muelu.cc

index f36f7cbd6746e0b382296323c2b0ccd79753141c..cbaa3124a40a934241aff1d3458b903e8f460a89 100644 (file)
 
 #ifdef DEAL_II_WITH_TRILINOS
 #  if DEAL_II_TRILINOS_VERSION_GTE(11, 14, 0)
-
 #    include <deal.II/lac/sparse_matrix.h>
-#    include <deal.II/lac/trilinos_index_access.h>
 #    include <deal.II/lac/trilinos_sparse_matrix.h>
-#    include <deal.II/lac/vector.h>
 
-#    include <Epetra_MultiVector.h>
-#    include <MueLu.hpp>
 #    include <MueLu_CreateEpetraPreconditioner.hpp>
-#    include <MueLu_EpetraOperator.hpp>
-#    include <MueLu_MLParameterListInterpreter.hpp>
-#    include <Teuchos_ParameterList.hpp>
-#    include <Teuchos_RCP.hpp>
 #    include <ml_MultiLevelPreconditioner.h>
-#    include <ml_include.h>
 
 DEAL_II_NAMESPACE_OPEN
 
@@ -98,6 +88,8 @@ namespace TrilinosWrappers
     // Build the AMG preconditioner.
     Teuchos::ParameterList parameter_list;
 
+    parameter_list.set("parameterlist: syntax", "ml");
+
     if (additional_data.elliptic == true)
       ML_Epetra::SetDefaults("SA", parameter_list);
     else

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.