Reference documentation for deal.II version 9.4.1
|
#include <deal.II/base/mpi_compute_index_owner_internal.h>
Public Member Functions | |
DictionaryPayLoad (const std::map< unsigned int, std::vector< std::pair< types::global_dof_index, types::global_dof_index > > > &buffers, FlexibleIndexStorage &actually_owning_ranks, const std::pair< types::global_dof_index, types::global_dof_index > &local_range, std::vector< unsigned int > &actually_owning_rank_list) | |
virtual std::vector< unsigned int > | compute_targets () override |
virtual void | create_request (const unsigned int other_rank, std::vector< std::pair< types::global_dof_index, types::global_dof_index > > &send_buffer) override |
virtual void | answer_request (const unsigned int other_rank, const std::vector< std::pair< types::global_dof_index, types::global_dof_index > > &buffer_recv, std::vector< unsigned int > &request_buffer) override |
virtual void | read_answer (const unsigned int other_rank, const std::vector< unsigned int > &recv_buffer) |
Private Attributes | |
const std::map< unsigned int, std::vector< std::pair< types::global_dof_index, types::global_dof_index > > > & | buffers |
FlexibleIndexStorage & | actually_owning_ranks |
const std::pair< types::global_dof_index, types::global_dof_index > & | local_range |
std::vector< unsigned int > & | actually_owning_rank_list |
Specialization of ConsensusAlgorithms::Process for setting up the Dictionary even if there are ranges in the IndexSet space not owned by any processes.
Definition at line 80 of file mpi_compute_index_owner_internal.h.
Utilities::MPI::internal::ComputeIndexOwner::DictionaryPayLoad::DictionaryPayLoad | ( | const std::map< unsigned int, std::vector< std::pair< types::global_dof_index, types::global_dof_index > > > & | buffers, |
FlexibleIndexStorage & | actually_owning_ranks, | ||
const std::pair< types::global_dof_index, types::global_dof_index > & | local_range, | ||
std::vector< unsigned int > & | actually_owning_rank_list | ||
) |
Constructor.
Definition at line 167 of file mpi_compute_index_owner_internal.cc.
|
overridevirtual |
Implementation of Utilities::MPI::ConsensusAlgorithms::Process::compute_targets().
Definition at line 187 of file mpi_compute_index_owner_internal.cc.
|
overridevirtual |
Implementation of Utilities::MPI::ConsensusAlgorithms::Process::create_request().
Reimplemented from Utilities::MPI::ConsensusAlgorithms::Process< std::vector< std::pair< types::global_dof_index, types::global_dof_index > >, std::vector< unsigned int > >.
Definition at line 199 of file mpi_compute_index_owner_internal.cc.
|
overridevirtual |
Implementation of Utilities::MPI::ConsensusAlgorithms::Process::answer_request().
Reimplemented from Utilities::MPI::ConsensusAlgorithms::Process< std::vector< std::pair< types::global_dof_index, types::global_dof_index > >, std::vector< unsigned int > >.
Definition at line 210 of file mpi_compute_index_owner_internal.cc.
|
virtualinherited |
Process the payload of the answer of the request to the process with the specified rank.
[in] | other_rank | rank of the process |
[in] | recv_buffer | data to be sent part of the request (optional) |
Reimplemented in Utilities::MPI::internal::ComputeIndexOwner::ConsensusAlgorithmsPayload.
|
private |
Definition at line 132 of file mpi_compute_index_owner_internal.h.
|
private |
Definition at line 134 of file mpi_compute_index_owner_internal.h.
|
private |
Definition at line 137 of file mpi_compute_index_owner_internal.h.
|
private |
Definition at line 139 of file mpi_compute_index_owner_internal.h.