From c7a0ce669d53cc793b8dae8d78818f2af61ccc15 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Thu, 19 Mar 2009 15:44:46 +0000 Subject: [PATCH] Fixed a problem with Trilinos sparse matrix and vector in distribute_local_to_global. git-svn-id: https://svn.dealii.org/trunk@18493 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/constraint_matrix.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/deal.II/lac/source/constraint_matrix.cc b/deal.II/lac/source/constraint_matrix.cc index 3734785d59..7d165e7dc5 100644 --- a/deal.II/lac/source/constraint_matrix.cc +++ b/deal.II/lac/source/constraint_matrix.cc @@ -2106,9 +2106,16 @@ MATRIX_FUNCTIONS(PETScWrappers::MPI::BlockSparseMatrix ,PETScWrappers::MPI::Bloc #endif #ifdef DEAL_II_USE_TRILINOS -MATRIX_FUNCTIONS(TrilinosWrappers::SparseMatrix, TrilinosWrappers::VectorBase); +MATRIX_FUNCTIONS(TrilinosWrappers::SparseMatrix, TrilinosWrappers::Vector); MATRIX_FUNCTIONS(TrilinosWrappers::BlockSparseMatrix, TrilinosWrappers::BlockVector); template void ConstraintMatrix::distribute_local_to_global + + (const FullMatrix &, + const Vector &, + const std::vector &, + TrilinosWrappers::SparseMatrix &, + TrilinosWrappers::MPI::Vector &) const; +template void ConstraintMatrix::distribute_local_to_global (const FullMatrix &, const Vector &, -- 2.39.5