From a2fcfe8ff5e288bc7ce1618b0a32b275c03462a0 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Sun, 24 Sep 2017 08:42:46 +0200 Subject: [PATCH] add missing instantiation for ConstraintMatrix::distribute_local_to_global() --- source/lac/constraint_matrix.cc | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/source/lac/constraint_matrix.cc b/source/lac/constraint_matrix.cc index 036d3f6946..6b159a292f 100644 --- a/source/lac/constraint_matrix.cc +++ b/source/lac/constraint_matrix.cc @@ -1427,11 +1427,17 @@ BLOCK_SPARSITY_FUNCTIONS(TrilinosWrappers::BlockSparsityPattern); #endif -#define ONLY_MATRIX_FUNCTIONS(MatrixType) \ - template void ConstraintMatrix::distribute_local_to_global (\ - const FullMatrix &, \ - const std::vector &, \ - const std::vector &, \ +#define ONLY_MATRIX_FUNCTIONS(MatrixType) \ + template void ConstraintMatrix::distribute_local_to_global ( \ + const FullMatrix &, \ + const std::vector &, \ + const std::vector &, \ + MatrixType &) const; \ + template void ConstraintMatrix::distribute_local_to_global ( \ + const FullMatrix &, \ + const std::vector &, \ + const ConstraintMatrix &, \ + const std::vector &, \ MatrixType &) const ONLY_MATRIX_FUNCTIONS(FullMatrix); -- 2.39.5