# ifdef DEAL_II_TRILINOS_WITH_TPETRA
namespace TpetraWrappers
{
+ template <typename Number>
class Vector;
}
# endif
# ifdef DEAL_II_WITH_PETSC
template <>
- constexpr bool is_dealii_vector_type<dealii::PETScWrappers::Vector> = true;
+ inline constexpr bool is_dealii_vector_type<dealii::PETScWrappers::Vector> =
+ true;
template <>
- constexpr bool is_dealii_vector_type<dealii::PETScWrappers::BlockVector> =
- true;
+ inline constexpr bool
+ is_dealii_vector_type<dealii::PETScWrappers::BlockVector> = true;
template <>
- constexpr bool is_dealii_vector_type<dealii::PETScWrappers::MPI::Vector> =
- true;
+ inline constexpr bool
+ is_dealii_vector_type<dealii::PETScWrappers::MPI::Vector> = true;
template <>
- constexpr bool
+ inline constexpr bool
is_dealii_vector_type<dealii::PETScWrappers::MPI::BlockVector> = true;
# endif
# ifdef DEAL_II_WITH_TRILINOS
template <>
- constexpr bool
+ inline constexpr bool
is_dealii_vector_type<dealii::TrilinosWrappers::MPI::Vector> = true;
template <>
- constexpr bool
+ inline constexpr bool
is_dealii_vector_type<dealii::TrilinosWrappers::MPI::BlockVector> = true;
template <>
- constexpr bool
+ inline constexpr bool
is_dealii_vector_type<dealii::LinearAlgebra::EpetraWrappers::Vector> =
true;
# ifdef DEAL_II_TRILINOS_WITH_TPETRA
- template <>
- constexpr bool
- is_dealii_vector_type<dealii::LinearAlgebra::TpetraWrappers::Vector> =
- true;
+ template <typename Number>
+ constexpr bool is_dealii_vector_type<
+ dealii::LinearAlgebra::TpetraWrappers::Vector<Number>> = true;
# endif
# endif
} // namespace internal