)
FOREACH(_module
- Amesos Epetra Ifpack AztecOO Teuchos ML MueLu
+ Amesos Epetra Ifpack AztecOO Teuchos ML
)
ITEM_MATCHES(_module_found ${_module} ${Trilinos_PACKAGE_LIST})
IF(_module_found)
IF(DEAL_II_WITH_TRILINOS AND DEAL_II_WITH_PETSC AND NOT DEAL_II_WITH_MPI)
MESSAGE(STATUS "Incompatible configuration settings: "
"MPI must be enabled to use both Trilinos and PETSc, as both libraries "
- "provide mutually incompatible MPI stubs."
+ "provide mutually incompatible MPI stubs."
)
SET(TRILINOS_ADDITIONAL_ERROR_STRING
${TRILINOS_ADDITIONAL_ERROR_STRING}
#
# Check for modules.
#
- FOREACH(_optional_module EpetraExt ROL Sacado Tpetra Zoltan)
+ FOREACH(_optional_module EpetraExt ROL Sacado Tpetra MueLu Zoltan)
ITEM_MATCHES(_module_found ${_optional_module} ${Trilinos_PACKAGE_LIST})
IF(_module_found)
MESSAGE(STATUS "Found ${_optional_module}")
#cmakedefine DEAL_II_TRILINOS_WITH_ROL
#cmakedefine DEAL_II_TRILINOS_WITH_SACADO
#cmakedefine DEAL_II_TRILINOS_WITH_TPETRA
+#cmakedefine DEAL_II_TRILINOS_WITH_MUELU
#cmakedefine DEAL_II_TRILINOS_WITH_ZOLTAN
-# if defined(DOXYGEN) || DEAL_II_TRILINOS_VERSION_GTE(11, 14, 0)
+# if defined(DOXYGEN) || defined(DEAL_II_TRILINOS_WITH_MUELU)
/**
* This class implements an algebraic multigrid (AMG) preconditioner based
* on the Trilinos MueLu implementation, which is a black-box preconditioner
* except for the higher_order_elements parameter which does not exist in
* PreconditionerAMGMueLu.
*
- * @note This class requires Trilinos 11.14 or higher. At the moment 64bit-indices
- * are not supported.
+ * @note At the moment 64bit-indices are not supported.
*
* @warning This interface should not be considered as stable.
*
#include <deal.II/lac/trilinos_precondition.h>
#ifdef DEAL_II_WITH_TRILINOS
-# if DEAL_II_TRILINOS_VERSION_GTE(11, 14, 0)
+# ifdef DEAL_II_TRILINOS_WITH_MUELU
# include <deal.II/lac/sparse_matrix.h>
# include <deal.II/lac/trilinos_sparse_matrix.h>
DEAL_II_NAMESPACE_CLOSE
-# endif // DEAL_II_TRILINOS_VERSION_GTE(11,14,0)
+# endif // DEAL_II_TRILINOS_WITH_MUELU
#endif // DEAL_II_WITH_TRILINOS