BufferSizeTrait.h File Reference

Detailed Description

#include "waLBerlaDefinitions.h"
#include "core/DataTypes.h"
#include <type_traits>

Classes

struct  walberla::mpi::BufferSizeTrait< T, Enable >
 
struct  walberla::mpi::BufferSizeTrait< bool >
 
struct  walberla::mpi::BufferSizeTrait< char >
 
struct  walberla::mpi::BufferSizeTrait< short >
 
struct  walberla::mpi::BufferSizeTrait< int >
 
struct  walberla::mpi::BufferSizeTrait< long >
 
struct  walberla::mpi::BufferSizeTrait< long long >
 
struct  walberla::mpi::BufferSizeTrait< signed char >
 
struct  walberla::mpi::BufferSizeTrait< unsigned char >
 
struct  walberla::mpi::BufferSizeTrait< unsigned short >
 
struct  walberla::mpi::BufferSizeTrait< unsigned int >
 
struct  walberla::mpi::BufferSizeTrait< unsigned long >
 
struct  walberla::mpi::BufferSizeTrait< unsigned long long >
 
struct  walberla::mpi::BufferSizeTrait< float >
 
struct  walberla::mpi::BufferSizeTrait< double >
 
struct  walberla::mpi::BufferSizeTrait< T, typename std::enable_if< std::is_enum< T >::value >::type >
 

Namespaces

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 walberla::mpi
 

Macros

#define BufferSizeTraitSpecialization(TYPE)
 

Variables

const uint_t walberla::mpi::BUFFER_DEBUG_OVERHEAD = 0
 

Macro Definition Documentation

◆ BufferSizeTraitSpecialization

#define BufferSizeTraitSpecialization (   TYPE)
Value:
template<>\
struct BufferSizeTrait<TYPE>\
{\
static const bool constantSize = true;\
static const size_t size = sizeof( TYPE ) + BUFFER_DEBUG_OVERHEAD;\
};
const uint_t BUFFER_DEBUG_OVERHEAD
Definition: BufferSizeTrait.h:37