// 1) determine with which processes this process wants to communicate
targets = this->process.compute_targets();
+ const int tag_request =
+ Utilities::MPI::internal::Tags::consensus_algorithm_pex_process_request;
+ const int tag_deliver =
+ Utilities::MPI::internal::Tags::consensus_algorithm_pex_process_deliver;
+
// 2) determine who wants to communicate with this process
- const bool use_nbx = false;
- if (!use_nbx)
- {
- sources =
- compute_point_to_point_communication_pattern(this->comm, targets);
- }
- else
- {
- ConsensusAlgorithmProcessTargets process(targets);
- ConsensusAlgorithm_NBX<ConsensusAlgorithmProcessTargets::T1,
- ConsensusAlgorithmProcessTargets::T2>
- consensus_algorithm(process, this->comm);
- consensus_algorithm.run();
- sources = process.get_result();
- }
+ sources =
+ compute_point_to_point_communication_pattern(this->comm, targets);
const auto n_targets = targets.size();
const auto n_sources = sources.size();