From: Marc Fehling Date: Sun, 27 Nov 2022 03:13:50 +0000 (-0700) Subject: Refactor one distribute_local_to_global instantiation. X-Git-Tag: v9.5.0-rc1~802^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52ff54435e4342fd14b94a6eed8be8afa59e09b1;p=dealii.git Refactor one distribute_local_to_global instantiation. --- 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)