13#ifndef dealii_sparsity_tools_h
14#define dealii_sparsity_tools_h
99 const unsigned int n_partitions,
100 std::vector<unsigned int> &partition_indices,
116 const std::vector<unsigned int> &cell_weights,
117 const unsigned int n_partitions,
118 std::vector<unsigned int> &partition_indices,
155 std::vector<unsigned int> &color_indices);
209 std::vector<DynamicSparsityPattern::size_type> &new_indices,
210 const std::vector<DynamicSparsityPattern::size_type> &starting_indices =
211 std::vector<DynamicSparsityPattern::size_type>());
237 std::vector<DynamicSparsityPattern::size_type> &new_indices);
239#ifdef DEAL_II_WITH_MPI
268 const IndexSet &locally_relevant_rows);
283 const std::vector<DynamicSparsityPattern::size_type> &rows_per_cpu,
305 const IndexSet &locally_relevant_rows);
313 const std::vector<IndexSet> &owned_set_per_cpu,
344 const IndexSet &locally_relevant_rows);
353 "The function you called requires METIS, but you did not "
354 "configure deal.II with METIS.");
361 <<
"The number of partitions you gave is " << arg1
362 <<
", but must be greater than zero.");
369 <<
" An error with error number " << arg1
370 <<
" occurred while calling a METIS function");
378 <<
"The array has size " << arg1 <<
" but should have size "
385 "The function you called requires ZOLTAN, but you did not "
386 "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()