#include <deal.II/base/mpi_compute_index_owner_internal.h>
|
| DictionaryPayLoad (const std::map< unsigned int, std::vector< std::pair< types::global_dof_index, types::global_dof_index > > > &buffers, std::vector< unsigned int > &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 | prepare_buffer_for_answer (const unsigned int other_rank, std::vector< unsigned int > &recv_buffer) |
|
virtual void | read_answer (const unsigned int other_rank, const std::vector< unsigned int > &recv_buffer) |
|
Specialization of ConsensusAlgorithms::Process for setting up the Dictionary even if there are ranges in the IndexSet space not owned by any processes.
- Note
- Only for internal usage.
Definition at line 45 of file mpi_compute_index_owner_internal.h.
◆ DictionaryPayLoad()
◆ compute_targets()
virtual std::vector< unsigned int > Utilities::MPI::internal::ComputeIndexOwner::DictionaryPayLoad::compute_targets |
( |
| ) |
|
|
inlineoverridevirtual |
◆ create_request()
◆ answer_request()
virtual void Utilities::MPI::internal::ComputeIndexOwner::DictionaryPayLoad::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 |
|
) |
| |
|
inlineoverridevirtual |
◆ prepare_buffer_for_answer()
Prepare the buffer where the payload of the answer of the request to the process with the specified rank is saved in. The most obvious task is to resize the buffer, since it is empty when the function is called.
- Parameters
-
[in] | other_rank | rank of the process |
[out] | recv_buffer | data to be sent part of the request (optional) |
Reimplemented in Utilities::MPI::internal::ComputeIndexOwner::ConsensusAlgorithmsPayload.
◆ read_answer()
◆ buffers
◆ actually_owning_ranks
std::vector<unsigned int>& Utilities::MPI::internal::ComputeIndexOwner::DictionaryPayLoad::actually_owning_ranks |
|
private |
◆ local_range
◆ actually_owning_rank_list
std::vector<unsigned int>& Utilities::MPI::internal::ComputeIndexOwner::DictionaryPayLoad::actually_owning_rank_list |
|
private |
The documentation for this class was generated from the following file: