MPIPacker.hpp File Reference
#include <opm/common/utility/TimeService.hpp>
#include <opm/simulators/utils/ParallelCommunication.hpp>
#include <dune/common/parallel/mpitraits.hh>
#include <bitset>
#include <cstddef>
#include <string>
Include dependency graph for MPIPacker.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Opm::Mpi::detail::Packing< pod, T >
 Abstract struct for packing which is (partially) specialized for specific types. More...
 
struct  Opm::Mpi::detail::Packing< true, T >
 Packaging for pod data. More...
 
struct  Opm::Mpi::detail::Packing< false, T >
 Default handling for unsupported types. More...
 
struct  Opm::Mpi::detail::Packing< false, std::bitset< Size > >
 Specialization for std::bitset. More...
 
struct  Opm::Mpi::Packer
 Struct handling packing of serialization for MPI communication. More...
 

Namespaces

namespace  Opm
 
namespace  Opm::Mpi
 
namespace  Opm::Mpi::detail
 

Macros

#define ADD_PACK_SPECIALIZATION(T)
 

Macro Definition Documentation

◆ ADD_PACK_SPECIALIZATION

#define ADD_PACK_SPECIALIZATION (   T)
Value:
template<> \
struct Packing<false,T> \
{ \
static std::size_t packSize(const T&, Parallel::MPIComm); \
static void pack(const T&, std::vector<char>&, int&, Parallel::MPIComm); \
static void unpack(T&, std::vector<char>&, int&, Parallel::MPIComm); \
};
std::size_t pack(const PV &privar)
Definition: priVarsPacking.hpp:31
typename Dune::MPIHelper::MPICommunicator MPIComm
Definition: ParallelCommunication.hpp:29