]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Include MueLu.hpp only in .cc file. 934/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 14 May 2015 12:04:42 +0000 (14:04 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 14 May 2015 12:04:42 +0000 (14:04 +0200)
include/deal.II/lac/trilinos_precondition.h
source/lac/trilinos_precondition.cc

index 62784dd17998bb6cab5a33fcae2c9feb8b5b2190..4fce4157c28ebf5fe070d25175cc965ec309766d 100644 (file)
@@ -38,11 +38,6 @@ DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #  include <Teuchos_ParameterList.hpp>
 #  include <Epetra_RowMatrix.h>
 #  include <Epetra_Vector.h>
-
-#  if DEAL_II_TRILINOS_VERSION_GTE(11,14,0)
-#  include <MueLu.hpp>
-#  include <Teuchos_RCP.hpp>
-#  endif
 DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
 // forward declarations
index b5e0bc6a1352990a0a114bdc161a5630c0629e41..e7582f617ee095e407199ef0ceed09a6e3db9c87 100644 (file)
@@ -25,13 +25,15 @@ DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #  include <Ifpack.h>
 #  include <Ifpack_Chebyshev.h>
 #  include <Teuchos_ParameterList.hpp>
+#  include <Teuchos_RCP.hpp>
 #  include <Epetra_MultiVector.h>
 #  include <ml_include.h>
 #  include <ml_MultiLevelPreconditioner.h>
 
 #if DEAL_II_TRILINOS_VERSION_GTE(11,14,0)
-#include <MueLu_EpetraOperator.hpp>
-#include <MueLu_MLParameterListInterpreter.hpp>
+#  include <MueLu.hpp>
+#  include <MueLu_EpetraOperator.hpp>
+#  include <MueLu_MLParameterListInterpreter.hpp>
 #endif
 DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 

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.