16 #ifndef dealii_sparsity_tools_h
17 #define dealii_sparsity_tools_h
102 const unsigned int n_partitions,
103 std::vector<unsigned int> &partition_indices,
119 const std::vector<unsigned int> &cell_weights,
120 const unsigned int n_partitions,
121 std::vector<unsigned int> &partition_indices,
158 std::vector<unsigned int> &color_indices);
212 std::vector<DynamicSparsityPattern::size_type> &new_indices,
213 const std::vector<DynamicSparsityPattern::size_type> &starting_indices =
214 std::vector<DynamicSparsityPattern::size_type>());
240 std::vector<DynamicSparsityPattern::size_type> &new_indices);
242 #ifdef DEAL_II_WITH_MPI
270 const MPI_Comm mpi_comm,
271 const IndexSet &locally_relevant_rows);
286 const std::vector<DynamicSparsityPattern::size_type> &rows_per_cpu,
287 const MPI_Comm mpi_comm,
307 const MPI_Comm mpi_comm,
308 const IndexSet &locally_relevant_rows);
316 const std::vector<IndexSet> &owned_set_per_cpu,
317 const MPI_Comm mpi_comm,
346 const MPI_Comm mpi_comm,
347 const IndexSet &locally_relevant_rows);
356 "The function you called requires METIS, but you did not "
357 "configure deal.II with METIS.");
364 <<
"The number of partitions you gave is " << arg1
365 <<
", but must be greater than zero.");
372 <<
" An error with error number " << arg1
373 <<
" occurred while calling a METIS function");
381 <<
"The array has size " << arg1 <<
" but should have size "
388 "The function you called requires ZOLTAN, but you did not "
389 "configure deal.II with ZOLTAN or zoltan_cpp.h is not available.");
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcZOLTANNotInstalled()
static ::ExceptionBase & ExcInvalidNumberOfPartitions(int arg1)
#define DeclException2(Exception2, type1, type2, outsequence)
static ::ExceptionBase & ExcMETISNotInstalled()
static ::ExceptionBase & ExcInvalidArraySize(int arg1, int arg2)
#define DeclExceptionMsg(Exception, defaulttext)
#define DeclException1(Exception1, type1, outsequence)
static ::ExceptionBase & ExcMETISError(int arg1)