Opm::Mpi::detail Namespace Reference

Classes

struct  Packing
 Abstract struct for packing which is (partially) specialized for specific types. More...
 
struct  Packing< false, std::bitset< Size > >
 Specialization for std::bitset. More...
 
struct  Packing< false, T >
 Default handling for unsupported types. More...
 
struct  Packing< true, T >
 Packaging for pod data. More...
 

Functions

std::size_t mpi_buffer_size (const std::size_t bufsize, const std::size_t position)
 

Function Documentation

◆ mpi_buffer_size()

std::size_t Opm::Mpi::detail::mpi_buffer_size ( const std::size_t  bufsize,
const std::size_t  position 
)