MPQC  3.0.0-alpha
mpqc::MPI::Comm Struct Reference

MPI_Comm object wrapper/stub. More...

#include <mpqc/mpi/comm.hpp>

Classes

struct  OStream
 

Public Member Functions

void printf (std::string fmt,...) const
 
bool operator== (const Comm &comm) const
 
void free ()
 
int rank () const
 
int size () const
 
void barrier () const
 
template<typename T >
void broadcast (T &value, int root) const
 
template<typename T >
void broadcast (T *data, int count, int root) const
 
bool any (const bool &value) const
 
template<typename T >
void sum (T *value, int count) const
 
template<typename T >
void sum (T &value) const
 
template<typename T >
std::vector< T > allgather (T value) const
 

Static Public Member Functions

static MPI::Comm Self ()
 
static MPI::Comm World ()
 
static MPI::Comm dup (MPI::Comm comm)
 

Public Attributes

const OStream cout
 

Detailed Description

MPI_Comm object wrapper/stub.


The documentation for this struct was generated from the following file:

Generated at Sun Jan 26 2020 23:24:02 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.