16 #ifndef dealii__partitioner_h 17 #define dealii__partitioner_h 19 #include <deal.II/base/config.h> 20 #include <deal.II/base/index_set.h> 21 #include <deal.II/base/mpi.h> 22 #include <deal.II/base/types.h> 23 #include <deal.II/base/utilities.h> 24 #include <deal.II/base/memory_consumption.h> 25 #include <deal.II/lac/communication_pattern_base.h> 30 DEAL_II_NAMESPACE_OPEN
85 const MPI_Comm communicator_in);
95 const MPI_Comm communicator_in);
104 virtual void reinit(
const IndexSet &vector_space_vector_index_set,
105 const IndexSet &read_write_vector_index_set,
143 std::pair<types::global_dof_index,types::global_dof_index>
197 const std::vector<std::pair<unsigned int, unsigned int> > &
206 const std::vector<std::pair<unsigned int, unsigned int> > &
221 const std::vector<std::pair<unsigned int, unsigned int> > &
290 <<
"Global index " << arg1
291 <<
" neither owned nor ghost on proc " << arg2 <<
".");
392 std::pair<types::global_dof_index,types::global_dof_index>
405 Assert(
size<=std::numeric_limits<unsigned int>::max(),
407 return static_cast<unsigned int>(
size);
486 const std::vector<std::pair<unsigned int, unsigned int> > &
494 const std::vector<std::pair<unsigned int, unsigned int> > &
512 const std::vector<std::pair<unsigned int, unsigned int> > &
569 #endif // ifndef DOXYGEN 576 DEAL_II_NAMESPACE_CLOSE
std::vector< std::pair< unsigned int, unsigned int > > import_indices_data
const IndexSet & locally_owned_range() const
bool is_globally_compatible(const Partitioner &part) const
static const unsigned int invalid_unsigned_int
#define DeclException2(Exception2, type1, type2, outsequence)
virtual void reinit(const IndexSet &vector_space_vector_index_set, const IndexSet &read_write_vector_index_set, const MPI_Comm &communicator)
bool is_compatible(const Partitioner &part) const
static ::ExceptionBase & ExcIndexNotPresent(types::global_dof_index arg1, unsigned int arg2)
unsigned int local_size() const
const std::vector< std::pair< unsigned int, unsigned int > > & import_targets() const
size_type nth_index_in_set(const unsigned int local_index) const
IndexSet ghost_indices_data
const std::vector< std::pair< unsigned int, unsigned int > > & import_indices() const
virtual const MPI_Comm & get_mpi_communicator() const
types::global_dof_index global_size
types::global_dof_index local_to_global(const unsigned int local_index) const
#define AssertIndexRange(index, range)
unsigned int n_ghost_indices_data
unsigned int global_to_local(const types::global_dof_index global_index) const
bool in_local_range(const types::global_dof_index global_index) const
void set_owned_indices(const IndexSet &locally_owned_indices)
bool ghost_indices_initialized() const
unsigned int this_mpi_process() const
const IndexSet & ghost_indices() const
unsigned int n_ghost_indices() const
unsigned int global_dof_index
#define Assert(cond, exc)
size_type index_within_set(const size_type global_index) const
unsigned int n_mpi_processes() const
const std::vector< std::pair< unsigned int, unsigned int > > & ghost_targets() const
IndexSet locally_owned_range_data
types::global_dof_index size() const
std::size_t memory_consumption() const
std::vector< std::pair< unsigned int, unsigned int > > import_targets_data
const MPI_Comm & get_communicator() const 1
std::vector< std::pair< unsigned int, unsigned int > > ghost_targets_data
static ::ExceptionBase & ExcNotImplemented()
bool is_element(const size_type index) const
std::pair< types::global_dof_index, types::global_dof_index > local_range_data
std::pair< types::global_dof_index, types::global_dof_index > local_range() const
unsigned int n_import_indices() const
unsigned int n_import_indices_data
bool is_ghost_entry(const types::global_dof_index global_index) const
void set_ghost_indices(const IndexSet &ghost_indices)