]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Refactor one distribute_local_to_global instantiation.
authorMarc Fehling <mafehling.git@gmail.com>
Sun, 27 Nov 2022 03:13:50 +0000 (20:13 -0700)
committerMarc Fehling <mafehling.git@gmail.com>
Sun, 27 Nov 2022 03:22:58 +0000 (20:22 -0700)
source/lac/affine_constraints.cc
source/lac/affine_constraints.inst.in

index 23fb72a91455b41841680b54bd181d55bbff85dd..4addd18d5f299c3eca9a92bc66b7b223490be305 100644 (file)
@@ -123,6 +123,8 @@ dealii::AffineConstraints<double>::distribute<
 INSTANTIATE_DLTG_VECTOR(TrilinosWrappers::MPI::Vector);
 
 INSTANTIATE_DLTG_VECTORMATRIX(TrilinosWrappers::SparseMatrix, Vector<double>);
+INSTANTIATE_DLTG_VECTORMATRIX(TrilinosWrappers::SparseMatrix,
+                              LinearAlgebra::distributed::Vector<double>);
 INSTANTIATE_DLTG_VECTORMATRIX(TrilinosWrappers::SparseMatrix,
                               TrilinosWrappers::MPI::Vector);
 
index 68112ff9dd947e94942e3af17d8c247489f297a5..16d8a609c13ed9939f8cd085fd833f2e8ef446f6 100644 (file)
@@ -171,24 +171,6 @@ for (S : REAL_AND_COMPLEX_SCALARS; T : DEAL_II_VEC_TEMPLATES)
             std::integral_constant<bool, false>) const;
   }
 
-// TrilinosWrappers::SparseMatrix:
-
-for (T : DEAL_II_VEC_TEMPLATES)
-  {
-#ifdef DEAL_II_WITH_TRILINOS
-    template void AffineConstraints<double>::distribute_local_to_global<
-      TrilinosWrappers::SparseMatrix,
-      LinearAlgebra::distributed::T<double>>(
-      const FullMatrix<double> &,
-      const Vector<double> &,
-      const std::vector<size_type> &,
-      TrilinosWrappers::SparseMatrix &,
-      LinearAlgebra::distributed::T<double> &,
-      bool,
-      std::integral_constant<bool, false>) const;
-#endif
-  }
-
 // BlockSparseMatrix:
 
 for (S : REAL_AND_COMPLEX_SCALARS)

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.