Reference documentation for deal.II version 9.3.3
|
#include <deal.II/base/mpi_consensus_algorithms.h>
Public Member Functions | |
Serial (Process< T1, T2 > &process, const MPI_Comm &comm) | |
virtual std::vector< unsigned int > | run () override |
Protected Attributes | |
Process< T1, T2 > & | process |
const MPI_Comm & | comm |
const bool | job_supports_mpi |
const unsigned int | my_rank |
const unsigned int | n_procs |
A serial fall back for the above classes to allow programming independently of whether MPI is used or not.
Definition at line 452 of file mpi_consensus_algorithms.h.
Utilities::MPI::ConsensusAlgorithms::Serial< T1, T2 >::Serial | ( | Process< T1, T2 > & | process, |
const MPI_Comm & | comm | ||
) |
|
overridevirtual |
Run consensus algorithm and return the requesting processes.
Implements Utilities::MPI::ConsensusAlgorithms::Interface< T1, T2 >.
|
protectedinherited |
Reference to the process provided by the user.
Definition at line 186 of file mpi_consensus_algorithms.h.
|
protectedinherited |
MPI communicator.
Definition at line 191 of file mpi_consensus_algorithms.h.
|
protectedinherited |
Cache if job supports MPI.
Definition at line 196 of file mpi_consensus_algorithms.h.
|
protectedinherited |
Rank of this process.
Definition at line 201 of file mpi_consensus_algorithms.h.
|
protectedinherited |
Number of processes in the communicator.
Definition at line 206 of file mpi_consensus_algorithms.h.