]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fixed a problem with Trilinos sparse matrix and vector in distribute_local_to_global.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 19 Mar 2009 15:44:46 +0000 (15:44 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 19 Mar 2009 15:44:46 +0000 (15:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@18493 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/constraint_matrix.cc

index 3734785d59326c5f1fe7b72cfc12abff9867e89e..7d165e7dc5a2dd1d11ad68a2bd92837655dcebac 100644 (file)
@@ -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
+<TrilinosWrappers::SparseMatrix,TrilinosWrappers::MPI::Vector> 
+  (const FullMatrix<double>        &, 
+   const Vector<double>            &, 
+   const std::vector<unsigned int> &, 
+   TrilinosWrappers::SparseMatrix &, 
+   TrilinosWrappers::MPI::Vector  &) const;
+template void ConstraintMatrix::distribute_local_to_global
 <TrilinosWrappers::BlockSparseMatrix,TrilinosWrappers::MPI::BlockVector> 
   (const FullMatrix<double>        &, 
    const Vector<double>            &, 

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.