From a86d4aefc46728a6a08515de340a6efe23df5674 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 8 Feb 2024 14:21:07 -0700 Subject: [PATCH] Also instantiate the Trilinos Tpetra VectorReference class. --- source/lac/trilinos_tpetra_vector.cc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/source/lac/trilinos_tpetra_vector.cc b/source/lac/trilinos_tpetra_vector.cc index dc38057124..f858d8d0bf 100644 --- a/source/lac/trilinos_tpetra_vector.cc +++ b/source/lac/trilinos_tpetra_vector.cc @@ -36,13 +36,23 @@ namespace LinearAlgebra static_assert(concepts::is_vector_space_vector>); # endif template class Vector; + namespace internal + { + template class VectorReference; + } # endif + # ifdef HAVE_TPETRA_INST_DOUBLE # ifdef DEAL_II_HAVE_CXX20 static_assert(concepts::is_vector_space_vector>); # endif template class Vector; + namespace internal + { + template class VectorReference; + } # endif + # ifdef DEAL_II_WITH_COMPLEX_VALUES # ifdef HAVE_TPETRA_INST_COMPLEX_FLOAT # ifdef DEAL_II_HAVE_CXX20 @@ -50,13 +60,22 @@ namespace LinearAlgebra Vector>); # endif template class Vector>; + namespace internal + { + template class VectorReference>; + } # endif + # ifdef HAVE_TPETRA_INST_COMPLEX_DOUBLE # ifdef DEAL_II_HAVE_CXX20 static_assert(concepts::is_vector_space_vector < Vector>); # endif template class Vector>; + namespace internal + { + template class VectorReference>; + } # endif # endif } // namespace TpetraWrappers -- 2.39.5