deal.II version GIT relicensing-2289-g1e5549a87a 2024-12-21 21:30:00+00:00
|
#include <deal.II/base/mpi_consensus_algorithms.h>
Public Member Functions | |
Serial ()=default | |
virtual std::vector< unsigned int > | run (const std::vector< unsigned int > &targets, const std::function< RequestType(const unsigned int)> &create_request, const std::function< AnswerType(const unsigned int, const RequestType &)> &answer_request, const std::function< void(const unsigned int, const AnswerType &)> &process_answer, const MPI_Comm comm) override |
std::vector< unsigned int > | run (Process< RequestType, AnswerType > &process, const MPI_Comm comm) |
A serial fall back for the above classes to allow programming independently of whether MPI is used or not.
Definition at line 786 of file mpi_consensus_algorithms.h.
|
default |
Default constructor.
|
overridevirtual |
Run the consensus algorithm and return a vector of process ranks that have requested answers from the current process.
This version of the run() function simply unpacks the functions packaged in process
and calls the version of the run() function that takes a number of std::function
arguments.
Implements Utilities::MPI::ConsensusAlgorithms::Interface< RequestType, AnswerType >.
|
inherited |
Run the consensus algorithm and return a vector of process ranks that have requested answers from the current process.
This version of the run() function simply unpacks the functions packaged in process
and calls the version of the run() function that takes a number of std::function
arguments.