16#ifndef dealii_sparsity_tools_h
17#define dealii_sparsity_tools_h
31#ifdef DEAL_II_WITH_MPI
105 const unsigned int n_partitions,
106 std::vector<unsigned int> &partition_indices,
122 const std::vector<unsigned int> &cell_weights,
123 const unsigned int n_partitions,
124 std::vector<unsigned int> & partition_indices,
161 std::vector<unsigned int> &color_indices);
215 std::vector<DynamicSparsityPattern::size_type> & new_indices,
216 const std::vector<DynamicSparsityPattern::size_type> &starting_indices =
217 std::vector<DynamicSparsityPattern::size_type>());
243 std::vector<DynamicSparsityPattern::size_type> &new_indices);
245#ifdef DEAL_II_WITH_MPI
272 const IndexSet & locally_owned_rows,
274 const IndexSet & locally_relevant_rows);
289 const std::vector<DynamicSparsityPattern::size_type> &rows_per_cpu,
309 const IndexSet & locally_owned_rows,
311 const IndexSet &locally_relevant_rows);
319 const std::vector<IndexSet> &owned_set_per_cpu,
348 const IndexSet & locally_owned_rows,
350 const IndexSet & locally_relevant_rows);
359 "The function you called requires METIS, but you did not "
360 "configure deal.II with METIS.");
367 <<
"The number of partitions you gave is " << arg1
368 <<
", but must be greater than zero.");
375 <<
" An error with error number " << arg1
376 <<
" occurred while calling a METIS function");
384 <<
"The array has size " << arg1 <<
" but should have size "
391 "The function you called requires ZOLTAN, but you did not "
392 "configure deal.II with ZOLTAN or zoltan_cpp.h is not available.");
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcMETISNotInstalled()
static ::ExceptionBase & ExcInvalidNumberOfPartitions(int arg1)
static ::ExceptionBase & ExcMETISError(int arg1)
#define DeclException2(Exception2, type1, type2, outsequence)
#define DeclExceptionMsg(Exception, defaulttext)
static ::ExceptionBase & ExcInvalidArraySize(int arg1, int arg2)
#define DeclException1(Exception1, type1, outsequence)
static ::ExceptionBase & ExcZOLTANNotInstalled()