QNANO
|
#include <MPI_Communicator.h>
Public Member Functions | |
virtual void | Reduce_Sum_Complex (std::complex< double > &c) const |
virtual void | Reduce_Max_Double (double &d) const |
Maximal value from all thread is communicated to the root. | |
virtual void | Barrier () const |
Emulates MPI_Barrier. | |
Public Attributes | |
int | MPI_rank |
int | MPI_size |
Specific implementation of 'Communicator' class for MPI parallelization
|
virtual |
Takes complex numbers from each thread, sends them to the root (thread 0) and sums them. For the root, input and output pointers are the same
Reimplemented from Communicator.