Skip to content

Commit

Permalink
Also instantiate the Trilinos Tpetra VectorReference class.
Browse files Browse the repository at this point in the history
  • Loading branch information
bangerth committed Feb 12, 2024
1 parent 51f2f06 commit f67eb95
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions source/lac/trilinos_tpetra_vector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,27 +36,46 @@ namespace LinearAlgebra
static_assert(concepts::is_vector_space_vector<Vector<float>>);
# endif
template class Vector<float>;
namespace internal
{
template class VectorReference<float>;
}
# endif

# ifdef HAVE_TPETRA_INST_DOUBLE
# ifdef DEAL_II_HAVE_CXX20
static_assert(concepts::is_vector_space_vector<Vector<double>>);
# endif
template class Vector<double>;
namespace internal
{
template class VectorReference<double>;
}
# endif

# ifdef DEAL_II_WITH_COMPLEX_VALUES
# ifdef HAVE_TPETRA_INST_COMPLEX_FLOAT
# ifdef DEAL_II_HAVE_CXX20
static_assert(concepts::is_vector_space_vector <
Vector<std::complex<float>>);
# endif
template class Vector<std::complex<float>>;
namespace internal
{
template class VectorReference<std::complex<float>>;
}
# endif

# ifdef HAVE_TPETRA_INST_COMPLEX_DOUBLE
# ifdef DEAL_II_HAVE_CXX20
static_assert(concepts::is_vector_space_vector <
Vector<std::complex<double>>);
# endif
template class Vector<std::complex<double>>;
namespace internal
{
template class VectorReference<std::complex<double>>;
}
# endif
# endif
} // namespace TpetraWrappers
Expand Down

0 comments on commit f67eb95

Please sign in to comment.