From: Wolfgang Bangerth Date: Thu, 8 Feb 2024 21:21:07 +0000 (-0700) Subject: Also instantiate the Trilinos Tpetra VectorReference class. X-Git-Tag: relicensing~47^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16610%2Fhead;p=dealii.git Also instantiate the Trilinos Tpetra VectorReference class. --- 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