Template Struct GlobalCommunicator

Struct Documentation

template<typename T>
struct GlobalCommunicator

Public Types

using value_type = T

Public Functions

inline GlobalCommunicator(std::string name, MPI_Comm mpi_comm, redev::Channel &channel)
GlobalCommunicator(const GlobalCommunicator&) = delete
GlobalCommunicator &operator=(const GlobalCommunicator&) = delete
GlobalCommunicator(GlobalCommunicator&&) = default
GlobalCommunicator &operator=(GlobalCommunicator&&) = default
inline void Send(Rank1View<T, HostMemorySpace> msg, std::string VarName, Mode mode = Mode::Synchronous)
inline void Receive(Rank1View<T, HostMemorySpace> destination, std::string VarName, Mode mode = Mode::Synchronous)