]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix instantiations
authorTimo Heister <timo.heister@gmail.com>
Thu, 21 Nov 2024 18:11:26 +0000 (13:11 -0500)
committerTimo Heister <timo.heister@gmail.com>
Fri, 22 Nov 2024 08:23:10 +0000 (03:23 -0500)
source/lac/trilinos_sparse_matrix.cc

index 20f6029a40df8c6976de31ab88d02876c13eeac9..7bc5c9db89ede45e0262330c7199d3254743bc2e 100644 (file)
@@ -3042,8 +3042,15 @@ namespace TrilinosWrappers
 
   template void
   SparseMatrix::vmult(
-    dealii::LinearAlgebra::distributed::Vector<double> &,
-    const dealii::LinearAlgebra::distributed::Vector<double> &) const;
+    dealii::LinearAlgebra::distributed::Vector<double, MemorySpace::Host> &,
+    const dealii::LinearAlgebra::distributed::Vector<double, MemorySpace::Host>
+      &) const;
+
+  template void
+  SparseMatrix::vmult(
+    dealii::LinearAlgebra::distributed::Vector<float, MemorySpace::Host> &,
+    const dealii::LinearAlgebra::distributed::Vector<float, MemorySpace::Host>
+      &) const;
 
 #    ifdef DEAL_II_TRILINOS_WITH_TPETRA
 #      if defined(HAVE_TPETRA_INST_DOUBLE)
@@ -3093,8 +3100,9 @@ namespace TrilinosWrappers
 
   template void
   SparseMatrix::Tvmult(
-    dealii::LinearAlgebra::distributed::Vector<double> &,
-    const dealii::LinearAlgebra::distributed::Vector<double> &) const;
+    dealii::LinearAlgebra::distributed::Vector<double, MemorySpace::Host> &,
+    const dealii::LinearAlgebra::distributed::Vector<double, MemorySpace::Host>
+      &) const;
 
 #    ifdef DEAL_II_TRILINOS_WITH_TPETRA
 #      if defined(HAVE_TPETRA_INST_DOUBLE)
@@ -3144,8 +3152,9 @@ namespace TrilinosWrappers
 
   template void
   SparseMatrix::vmult_add(
-    dealii::LinearAlgebra::distributed::Vector<double> &,
-    const dealii::LinearAlgebra::distributed::Vector<double> &) const;
+    dealii::LinearAlgebra::distributed::Vector<double, MemorySpace::Host> &,
+    const dealii::LinearAlgebra::distributed::Vector<double, MemorySpace::Host>
+      &) const;
 
 #    ifdef DEAL_II_TRILINOS_WITH_TPETRA
 #      if defined(HAVE_TPETRA_INST_DOUBLE)
@@ -3195,8 +3204,16 @@ namespace TrilinosWrappers
 
   template void
   SparseMatrix::Tvmult_add(
-    dealii::LinearAlgebra::distributed::Vector<double> &,
-    const dealii::LinearAlgebra::distributed::Vector<double> &) const;
+    dealii::LinearAlgebra::distributed::Vector<double, MemorySpace::Host> &,
+    const dealii::LinearAlgebra::distributed::Vector<double, MemorySpace::Host>
+      &) const;
+
+  template void
+  SparseMatrix::Tvmult_add(
+    dealii::LinearAlgebra::distributed::Vector<float, MemorySpace::Host> &,
+    const dealii::LinearAlgebra::distributed::Vector<float, MemorySpace::Host>
+      &) const;
+
 
 #    ifdef DEAL_II_TRILINOS_WITH_TPETRA
 #      if defined(HAVE_TPETRA_INST_DOUBLE)

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.