]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Also instantiate the Trilinos Tpetra VectorReference class. 16610/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 8 Feb 2024 21:21:07 +0000 (14:21 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 8 Feb 2024 21:27:16 +0000 (14:27 -0700)
source/lac/trilinos_tpetra_vector.cc

index dc3805712488bda1e2011818c4b4741bef563185..f858d8d0bfb22d83fa2e1b92d6c93d79863757ed 100644 (file)
@@ -36,13 +36,23 @@ 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
@@ -50,13 +60,22 @@ namespace LinearAlgebra
                   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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.