]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add missing instantiation for ConstraintMatrix::distribute_local_to_global() 5136/head
authorDenis Davydov <davydden@gmail.com>
Sun, 24 Sep 2017 06:42:46 +0000 (08:42 +0200)
committerDenis Davydov <davydden@gmail.com>
Sun, 24 Sep 2017 07:04:48 +0000 (09:04 +0200)
source/lac/constraint_matrix.cc

index 036d3f694647760b9837fed2d3db6528d583d53e..6b159a292f79ee3c84938fdd455c045267481c37 100644 (file)
@@ -1427,11 +1427,17 @@ BLOCK_SPARSITY_FUNCTIONS(TrilinosWrappers::BlockSparsityPattern);
 #endif
 
 
-#define ONLY_MATRIX_FUNCTIONS(MatrixType) \
-  template void ConstraintMatrix::distribute_local_to_global<MatrixType > (\
-      const FullMatrix<MatrixType::value_type>        &, \
-      const std::vector<ConstraintMatrix::size_type> &, \
-      const std::vector<ConstraintMatrix::size_type> &, \
+#define ONLY_MATRIX_FUNCTIONS(MatrixType)                                   \
+  template void ConstraintMatrix::distribute_local_to_global<MatrixType > ( \
+      const FullMatrix<MatrixType::value_type>        &,                    \
+      const std::vector<ConstraintMatrix::size_type> &,                     \
+      const std::vector<ConstraintMatrix::size_type> &,                     \
+      MatrixType                      &) const;                             \
+  template void ConstraintMatrix::distribute_local_to_global<MatrixType > ( \
+      const FullMatrix<MatrixType::value_type>        &,                      \
+      const std::vector<ConstraintMatrix::size_type> &,                       \
+      const ConstraintMatrix &,                                               \
+      const std::vector<ConstraintMatrix::size_type> &,                       \
       MatrixType                      &) const
 
 ONLY_MATRIX_FUNCTIONS(FullMatrix<float>);

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.