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> 29 DEAL_II_NAMESPACE_OPEN
84 const MPI_Comm communicator_in);
94 const MPI_Comm communicator_in);
131 std::pair<types::global_dof_index,types::global_dof_index>
185 const std::vector<std::pair<unsigned int, unsigned int> > &
194 const std::vector<std::pair<unsigned int, unsigned int> > &
209 const std::vector<std::pair<unsigned int, unsigned int> > &
273 <<
"Global index " << arg1
274 <<
" neither owned nor ghost on proc " << arg2);
375 std::pair<types::global_dof_index,types::global_dof_index>
388 Assert(size<=std::numeric_limits<unsigned int>::max(),
389 ExcNotImplemented());
390 return static_cast<unsigned int>(
size);
423 ExcIndexNotPresent(global_index,
my_pid));
469 const std::vector<std::pair<unsigned int, unsigned int> > &
477 const std::vector<std::pair<unsigned int, unsigned int> > &
495 const std::vector<std::pair<unsigned int, unsigned int> > &
543 #endif // ifndef DOXYGEN 550 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
bool is_compatible(const Partitioner &part) const
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
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)
DeclException2(ExcIndexNotPresent, types::global_dof_index, unsigned int,<< "Global index "<< arg1<< " neither owned nor ghost on proc "<< arg2)
bool ghost_indices_initialized() const
unsigned int this_mpi_process() const
const IndexSet & ghost_indices() const
const MPI_Comm & get_communicator() const
unsigned int n_ghost_indices() const
unsigned int global_dof_index
const MPI_Comm communicator
#define Assert(cond, exc)
size_type index_within_set(const size_type global_index) const
unsigned int n_mpi_processes() const
const types::global_dof_index global_size
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
std::vector< std::pair< unsigned int, unsigned int > > ghost_targets_data
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)