MPIPacker.hpp
Go to the documentation of this file.
Dune::Communication< MPIComm > Communication Definition: ParallelCommunication.hpp:30 typename Dune::MPIHelper::MPICommunicator MPIComm Definition: ParallelCommunication.hpp:29 TYPE getType(const TABLE &table) Definition: BlackoilPhases.hpp:27 Struct handling packing of serialization for MPI communication. Definition: MPIPacker.hpp:175 void unpack(T *data, std::size_t n, std::vector< char > &buffer, int &position) const Unpack an array. Definition: MPIPacker.hpp:251 void pack(const T *data, std::size_t n, std::vector< char > &buffer, int &position) const Pack an array. Definition: MPIPacker.hpp:222 Packer(Parallel::Communication comm) Constructor. Definition: MPIPacker.hpp:178 std::size_t packSize(const T *data, std::size_t n) const Calculates the pack size for an array. Definition: MPIPacker.hpp:196 void pack(const T &data, std::vector< char > &buffer, int &position) const Pack a variable. Definition: MPIPacker.hpp:208 std::size_t packSize(const T &data) const Calculates the pack size for a variable. Definition: MPIPacker.hpp:186 void unpack(T &data, std::vector< char > &buffer, int &position) const Unpack a variable. Definition: MPIPacker.hpp:237 static void pack(const T &, std::vector< char > &, int &, Parallel::MPIComm) Definition: MPIPacker.hpp:136 static std::size_t packSize(const T &, Parallel::MPIComm) Definition: MPIPacker.hpp:130 static void unpack(T &, std::vector< char > &, int &, Parallel::MPIComm) Definition: MPIPacker.hpp:142 static void pack(const std::bitset< Size > &, std::vector< char > &, int &, Opm::Parallel::MPIComm) static void unpack(std::bitset< Size > &, std::vector< char > &, int &, Opm::Parallel::MPIComm) static std::size_t packSize(const std::bitset< Size > &, Opm::Parallel::MPIComm) static void unpack(T &data, std::vector< char > &buffer, int &position, Parallel::MPIComm comm) Unpack a POD. Definition: MPIPacker.hpp:101 static void pack(const T *data, std::size_t n, std::vector< char > &buffer, int &position, Parallel::MPIComm comm) Pack an array of POD. Definition: MPIPacker.hpp:86 static std::size_t packSize(const T *, std::size_t n, Parallel::MPIComm comm) Calculates the pack size for an array of POD. Definition: MPIPacker.hpp:60 static void unpack(T *data, std::size_t n, std::vector< char > &buffer, int &position, Parallel::MPIComm comm) Unpack an array of POD. Definition: MPIPacker.hpp:115 static void pack(const T &data, std::vector< char > &buffer, int &position, Parallel::MPIComm comm) Pack a POD. Definition: MPIPacker.hpp:72 static std::size_t packSize(const T &data, Parallel::MPIComm comm) Calculates the pack size for a POD. Definition: MPIPacker.hpp:51 Abstract struct for packing which is (partially) specialized for specific types. Definition: MPIPacker.hpp:38 static std::size_t packSize(const T &, Parallel::MPIComm) static void unpack(T &, std::vector< char > &, int &, Parallel::MPIComm) static void pack(const T &, std::vector< char > &, int &, Parallel::MPIComm) |