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,
273 const MPI_Comm & mpi_comm,
274 const IndexSet & locally_relevant_rows);
288 const std::vector<DynamicSparsityPattern::size_type> &rows_per_cpu,
289 const MPI_Comm & mpi_comm,
308 const IndexSet & locally_owned_rows,
309 const MPI_Comm & mpi_comm,
310 const IndexSet &locally_relevant_rows);
318 const std::vector<IndexSet> &owned_set_per_cpu,
319 const MPI_Comm & mpi_comm,
347 const IndexSet & locally_owned_rows,
348 const MPI_Comm & mpi_comm,
349 const IndexSet & locally_relevant_rows);
357 const std::vector<IndexSet> &owned_rows_per_processor,
358 const MPI_Comm & mpi_comm,
368 "The function you called requires METIS, but you did not " 369 "configure deal.II with METIS.");
376 <<
"The number of partitions you gave is " << arg1
377 <<
", but must be greater than zero.");
384 <<
" An error with error number " << arg1
385 <<
" occurred while calling a METIS function");
393 <<
"The array has size " << arg1 <<
" but should have size " 400 "The function you called requires ZOLTAN, but you did not " 401 "configure deal.II with ZOLTAN or zoltan_cpp.h is not available.");
#define DeclException2(Exception2, type1, type2, outsequence)
static ::ExceptionBase & ExcMETISNotInstalled()
static ::ExceptionBase & ExcInvalidNumberOfPartitions(int arg1)
#define DeclException1(Exception1, type1, outsequence)
static ::ExceptionBase & ExcInvalidArraySize(int arg1, int arg2)
#define DeclExceptionMsg(Exception, defaulttext)
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcZOLTANNotInstalled()
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_DEPRECATED
static ::ExceptionBase & ExcMETISError(int arg1)