#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, 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 | create_request (const unsigned int other_rank, std::vector< std::pair< types::global_dof_index, types::global_dof_index > > &send_buffer) |
| |
| 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) |
| |
| 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 80 of file mpi_compute_index_owner_internal.h.
◆ DictionaryPayLoad()
◆ compute_targets()
| std::vector< unsigned int > Utilities::MPI::internal::ComputeIndexOwner::DictionaryPayLoad::compute_targets |
( |
| ) |
|
|
overridevirtual |
◆ create_request() [1/2]
◆ answer_request() [1/2]
| 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 |
|
) |
| |
|
overridevirtual |
◆ create_request() [2/2]
Add a payload to the request to the process with the specified rank.
- Parameters
-
| [in] | other_rank | Rank of the process. |
| [out] | send_buffer | data to be sent part of the request (optional). |
- Note
- The buffer is empty. Before using it, you have to set its size.
◆ answer_request() [2/2]
Prepare the buffer where the payload of the answer of the request to the process with the specified rank is saved in.
- Parameters
-
| [in] | other_rank | Rank of the process. |
| [in] | buffer_recv | Received payload (optional). |
| [out] | request_buffer | Payload to be sent as part of the request (optional). |
- Note
- The request_buffer is empty. Before using it, you have to set its size.
◆ read_answer()
◆ buffers
◆ actually_owning_ranks
| FlexibleIndexStorage& 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 files: