ALPSCore reference
|
#include <mpi.hpp>
Public Member Functions | |
mpi_reducer (const mpi::communicator &comm=mpi::communicator(), int root=0) | |
reducer_setup | get_setup () const override |
long | get_max (long data) const override |
void | reduce (view< double > data) const override |
void | reduce (view< long > data) const override |
void | commit () const override |
const mpi::communicator & | comm () const |
int | root () const |
bool | am_root () const |
Public Member Functions inherited from alps::alea::reducer | |
virtual reducer * | clone () |
virtual | ~reducer () |
void | reduce (view< std::complex< double > > data) const |
void | reduce (view< complex_op< double > > data) const |
void | reduce (view< unsigned long > data) const |
Protected Member Functions | |
template<typename T > | |
void | inplace_reduce (view< T > data) const |
|
inline |
|
inline |
|
inlineoverridevirtual |
Finish reduction of all data if deferred
Implements alps::alea::reducer.
|
inlineoverridevirtual |
Get maximum of scalar value over all instances (immediate)
Implements alps::alea::reducer.
|
inlineoverridevirtual |
|
inlineprotected |
|
inlineoverridevirtual |
Reduce double data-set into data
Implements alps::alea::reducer.
|
inlineoverridevirtual |
Reduce long data-set into data
Implements alps::alea::reducer.