My Project
|
Class for serializing and broadcasting data using MPI. More...
#include <MPISerializer.hpp>
Public Member Functions | |
MpiSerializer (Parallel::Communication comm) | |
template<class T > | |
void | broadcast (T &data, int root=0) |
Serialize and broadcast on root process, de-serialize on others. | |
template<typename... Args> | |
void | broadcast (int root, Args &&... args) |
template<class T > | |
void | append (T &data, int root=0) |
Serialize and broadcast on root process, de-serialize and append on others. | |
Class for serializing and broadcasting data using MPI.
Serialize and broadcast on root process, de-serialize and append on others.
T | Type of class to broadcast |
data | Class to broadcast |
root | Process to broadcast from |
Serialize and broadcast on root process, de-serialize on others.
T | Type of class to broadcast |
data | Class to broadcast |
root | Process to broadcast from |