17 #ifndef __deal2__partitioner_h 18 #define __deal2__partitioner_h 20 #include <deal.II/base/config.h> 21 #include <deal.II/base/index_set.h> 22 #include <deal.II/base/mpi.h> 23 #include <deal.II/base/types.h> 24 #include <deal.II/base/utilities.h> 25 #include <deal.II/base/memory_consumption.h> 93 const MPI_Comm communicator_in);
105 const MPI_Comm communicator_in);
147 std::pair<types::global_dof_index,types::global_dof_index>
212 const std::vector<std::pair<unsigned int, types::global_dof_index> > &
223 const std::vector<std::pair<types::global_dof_index, types::global_dof_index> > &
241 const std::vector<std::pair<unsigned int, types::global_dof_index> > &
294 <<
"Global index " << arg1
295 <<
" neither owned nor ghost on proc " << arg2);
402 std::pair<types::global_dof_index,types::global_dof_index>
415 Assert(size<=std::numeric_limits<unsigned int>::max(),
417 return static_cast<unsigned int>(
size);
451 ExcIndexNotPresent(global_index,
my_pid));
499 const std::vector<std::pair<unsigned int, types::global_dof_index> > &
507 const std::vector<std::pair<types::global_dof_index, types::global_dof_index> > &
525 const std::vector<std::pair<unsigned int,types::global_dof_index> > &
583 #endif // ifndef DOXYGEN 590 DEAL_II_NAMESPACE_CLOSE
unsigned int n_ghost_indices() const
static const unsigned int invalid_unsigned_int
types::global_dof_index index_within_set(const types::global_dof_index global_index) const
const std::vector< std::pair< types::global_dof_index, types::global_dof_index > > & import_indices() const
unsigned int this_mpi_process() const
bool is_ghost_entry(const types::global_dof_index global_index) const
IndexSet ghost_indices_data
types::global_dof_index size() const
std::vector< std::pair< types::global_dof_index, types::global_dof_index > > import_indices_data
#define AssertIndexRange(index, range)
unsigned int n_ghost_indices_data
const MPI_Comm & get_communicator() const
const IndexSet & locally_owned_range() const
void set_owned_indices(const IndexSet &locally_owned_indices)
const std::vector< std::pair< unsigned int, types::global_dof_index > > & ghost_targets() const
DeclException2(ExcIndexNotPresent, types::global_dof_index, unsigned int,<< "Global index "<< arg1<< " neither owned nor ghost on proc "<< arg2)
const std::vector< std::pair< unsigned int, types::global_dof_index > > & import_targets() const
unsigned int global_dof_index
const MPI_Comm communicator
#define Assert(cond, exc)
std::size_t memory_consumption() const
types::global_dof_index nth_index_in_set(const unsigned int local_index) const
types::global_dof_index local_to_global(const unsigned int local_index) const
const types::global_dof_index global_size
IndexSet locally_owned_range_data
std::vector< std::pair< unsigned int, types::global_dof_index > > ghost_targets_data
unsigned int n_import_indices() const
unsigned int global_to_local(const types::global_dof_index global_index) const
const IndexSet & ghost_indices() const
bool is_compatible(const Partitioner &part) const
bool in_local_range(const types::global_dof_index global_index) const
std::pair< types::global_dof_index, types::global_dof_index > local_range() const
std::vector< std::pair< unsigned int, types::global_dof_index > > import_targets_data
unsigned int n_mpi_processes() const
::ExceptionBase & ExcNotImplemented()
std::pair< types::global_dof_index, types::global_dof_index > local_range_data
unsigned int n_import_indices_data
bool is_element(const types::global_dof_index index) const
void set_ghost_indices(const IndexSet &ghost_indices)
unsigned int local_size() const