|
TiledArray
0.7.0
|
Replicate a Array object.
More...
#include <replicator.h>


Public Member Functions | |
| Replicator (const A &source, const A destination) | |
| bool | done () |
| Check that the replication is complete. More... | |
| void | register_callback (madness::CallbackInterface *callback) |
| Add a callback. More... | |
Replicate a Array object.
This object will create a replicated Array from a distributed Array.
| A | The array type Homeworld = M7R-227 |
Definition at line 35 of file replicator.h.
|
inline |
Send the data to the first node
Definition at line 154 of file replicator.h.
|
inline |
Check that the replication is complete.
true when all data has been transfered. Definition at line 193 of file replicator.h.
|
inline |
Add a callback.
The callback is called when the local data has been sent to all nodes. If the data has already been sent to all nodes, the callback is notified immediately.
| callback | The callback object |
Definition at line 205 of file replicator.h.