]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add missing instantiations
authorMatthias Maier <tamiko@43-1.org>
Tue, 9 Jun 2020 01:56:11 +0000 (20:56 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 9 Jun 2020 02:00:11 +0000 (21:00 -0500)
source/lac/affine_constraints.cc

index dd160ed0926612e160aa159b6bf5d3be6438d298..04ebc8ea521f02421c36a7be1dc216875d9f9782 100644 (file)
@@ -125,6 +125,14 @@ INSTANTIATE_DLTG_BLOCK_VECTORMATRIX(TrilinosWrappers::BlockSparseMatrix,
 
 INSTANTIATE_DLTG_MATRIX(TrilinosWrappers::SparseMatrix);
 INSTANTIATE_DLTG_MATRIX(TrilinosWrappers::BlockSparseMatrix);
+
+#  ifdef DEAL_II_TRILINOS_WITH_TPETRA
+// FIXME: This mixed variant is needed for multigrid and matrix free.
+template void
+dealii::AffineConstraints<double>::distribute<
+  dealii::LinearAlgebra::TpetraWrappers::Vector<float>>(
+  dealii::LinearAlgebra::TpetraWrappers::Vector<float> &) const;
+#  endif
 #endif
 
 /*

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.