From 4535ef7f896dc27590d0d45231b604bb17cb23e1 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Tue, 25 Sep 2012 17:51:58 +0000 Subject: [PATCH] SparsityTools::distribute_sparsity_pattern() git-svn-id: https://svn.dealii.org/trunk@26733 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/news/changes.h | 6 ++++++ deal.II/source/lac/sparsity_tools.cc | 2 ++ 2 files changed, 8 insertions(+) diff --git a/deal.II/doc/news/changes.h b/deal.II/doc/news/changes.h index 0995a7e034..28ebe63f83 100644 --- a/deal.II/doc/news/changes.h +++ b/deal.II/doc/news/changes.h @@ -68,6 +68,12 @@ never working correctly and it is not used.
    +
  1. New: Added SparsityTools::distribute_sparsity_pattern() for +BlockCompressedSimpleSparsityPattern. This allows parallel computations +with distributed::Triangulation and PETScWrappers::MPI::BlockSparseMatrix. +
    +(Timo Heister, 2012/09/25) +
  2. Simplifications of the internal structures of Triangulation and DoFHandler, in particular removal of specializations.
    diff --git a/deal.II/source/lac/sparsity_tools.cc b/deal.II/source/lac/sparsity_tools.cc index 8a294d6a73..38211fee41 100644 --- a/deal.II/source/lac/sparsity_tools.cc +++ b/deal.II/source/lac/sparsity_tools.cc @@ -23,6 +23,7 @@ #include #include #include +#include #endif #ifdef DEAL_II_USE_METIS @@ -532,6 +533,7 @@ const IndexSet & myrange) #ifdef DEAL_II_COMPILER_SUPPORTS_MPI SPARSITY_FUNCTIONS(CompressedSparsityPattern); SPARSITY_FUNCTIONS(CompressedSimpleSparsityPattern); +SPARSITY_FUNCTIONS(BlockCompressedSimpleSparsityPattern); #endif #undef SPARSITY_FUNCTIONS -- 2.39.5