From 52ff54435e4342fd14b94a6eed8be8afa59e09b1 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Sat, 26 Nov 2022 20:13:50 -0700 Subject: [PATCH] Refactor one distribute_local_to_global instantiation. --- source/lac/affine_constraints.cc | 2 ++ source/lac/affine_constraints.inst.in | 18 ------------------ 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/source/lac/affine_constraints.cc b/source/lac/affine_constraints.cc index 23fb72a914..4addd18d5f 100644 --- a/source/lac/affine_constraints.cc +++ b/source/lac/affine_constraints.cc @@ -123,6 +123,8 @@ dealii::AffineConstraints::distribute< INSTANTIATE_DLTG_VECTOR(TrilinosWrappers::MPI::Vector); INSTANTIATE_DLTG_VECTORMATRIX(TrilinosWrappers::SparseMatrix, Vector); +INSTANTIATE_DLTG_VECTORMATRIX(TrilinosWrappers::SparseMatrix, + LinearAlgebra::distributed::Vector); INSTANTIATE_DLTG_VECTORMATRIX(TrilinosWrappers::SparseMatrix, TrilinosWrappers::MPI::Vector); diff --git a/source/lac/affine_constraints.inst.in b/source/lac/affine_constraints.inst.in index 68112ff9dd..16d8a609c1 100644 --- a/source/lac/affine_constraints.inst.in +++ b/source/lac/affine_constraints.inst.in @@ -171,24 +171,6 @@ for (S : REAL_AND_COMPLEX_SCALARS; T : DEAL_II_VEC_TEMPLATES) std::integral_constant) const; } -// TrilinosWrappers::SparseMatrix: - -for (T : DEAL_II_VEC_TEMPLATES) - { -#ifdef DEAL_II_WITH_TRILINOS - template void AffineConstraints::distribute_local_to_global< - TrilinosWrappers::SparseMatrix, - LinearAlgebra::distributed::T>( - const FullMatrix &, - const Vector &, - const std::vector &, - TrilinosWrappers::SparseMatrix &, - LinearAlgebra::distributed::T &, - bool, - std::integral_constant) const; -#endif - } - // BlockSparseMatrix: for (S : REAL_AND_COMPLEX_SCALARS) -- 2.39.5