mpiutil.hh File Reference
#include <dune/common/parallel/mpitraits.hh>
#include <cassert>
#include <numeric>
#include <string>
#include <vector>
#include <mpi.h>
Include dependency graph for mpiutil.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mpiutil_details::Packer< T >
 
struct  mpiutil_details::Packer< std::string >
 
struct  mpiutil_details::Packer< std::vector< T > >
 

Namespaces

namespace  mpiutil_details
 
namespace  Opm
 

Functions

template<typename T >
int mpiutil_details::packSize ()
 
std::vector< std::string > Opm::gatherStrings (const std::string &local_string)
 From each rank, gather its string (if not empty) into a vector. More...
 

Detailed Description

Simplifies handling of buffers to be used in conjunction with MPI.