Reference documentation for deal.II version 9.2.0
|
Public Types | |
using | T1 = unsigned int |
using | T2 = unsigned int |
Public Member Functions | |
ConsensusAlgorithmsProcessTargets (const std::vector< unsigned int > &target) | |
virtual void | answer_request (const unsigned int other_rank, const std::vector< T1 > &, std::vector< T2 > &) override |
virtual std::vector< unsigned int > | compute_targets () override |
std::vector< unsigned int > | get_result () |
Public Member Functions inherited from Utilities::MPI::ConsensusAlgorithms::Process< unsigned int, unsigned int > | |
virtual | ~Process ()=default |
virtual void | create_request (const unsigned int other_rank, std::vector< unsigned int > &send_buffer) |
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) |
Private Attributes | |
const std::vector< unsigned int > & | target |
std::vector< unsigned int > | sources |
A re-implementation of compute_point_to_point_communication_pattern using a ConsensusAlgorithm.
using Utilities::MPI::ConsensusAlgorithmsProcessTargets::T1 = unsigned int |
using Utilities::MPI::ConsensusAlgorithmsProcessTargets::T2 = unsigned int |
|
inline |
|
inlineoverridevirtual |
Prepare the buffer where the payload of the answer of the request to the process with the specified rank is saved in.
[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) |
Reimplemented from Utilities::MPI::ConsensusAlgorithms::Process< unsigned int, unsigned int >.
|
inlineoverridevirtual |
Simply return the user-provided list.
Implements Utilities::MPI::ConsensusAlgorithms::Process< unsigned int, unsigned int >.
|
inline |
|
private |
|
private |