![]() |
fpmas 1.6
|
#include <output.h>
Public Member Functions | |
| Single (api::communication::MpiCommunicator &comm, int root, const Watcher< T > &watcher, const Params &) | |
| T | operator() () |
Single mode for the Reduce operation.
Result is gathered only at root.
|
inline |
Reduce::Single constructor.
| comm | MPI communicator |
| root | rank of the process where data is fetched |
| watcher | local watcher |
|
inline |
Applies the fpmas::communication::reduce() operation on data returned by watcher().
Reduced data is returned at root. On other processes, the local data returned by watcher() is returned.