waLBerla 7.3
Loading...
Searching...
No Matches
walberla::v8::memory::buffer_system::LinearBufferDataHandling< TValue, TAllocator > Class Template Reference

#include <BufferSystem.hpp>

Inheritance diagram for walberla::v8::memory::buffer_system::LinearBufferDataHandling< TValue, TAllocator >:

Public Types

using buffer_value_type = TValue
using allocator_type = TAllocator
using buffer_type = LinearBuffer< buffer_value_type, allocator_type >
Public Types inherited from walberla::domain_decomposition::BlockDataHandling< LinearBuffer< TValue, TAllocator > >
using value_type

Public Member Functions

 LinearBufferDataHandling (size_t linearAllocSize, size_t linearAllocOffset, const allocator_type &allocator)
buffer_typeinitialize (IBlock *) override
 must be thread-safe !
Public Member Functions inherited from walberla::blockforest::AlwaysInitializeBlockDataHandling< LinearBuffer< TValue, TAllocator > >
 ~AlwaysInitializeBlockDataHandling () override=default
void serialize (IBlock *const, const BlockDataID &, mpi::SendBuffer &) override
 must be thread-safe !
void serializeCoarseToFine (Block *const, const BlockDataID &, mpi::SendBuffer &, const uint_t) override
 must be thread-safe !
void serializeFineToCoarse (Block *const, const BlockDataID &, mpi::SendBuffer &) override
 must be thread-safe !
LinearBuffer< TValue, TAllocator > * deserialize (IBlock *const block) override
 must be thread-safe !
LinearBuffer< TValue, TAllocator > * deserializeCoarseToFine (Block *const block) override
 must be thread-safe !
LinearBuffer< TValue, TAllocator > * deserializeFineToCoarse (Block *const block) override
 must be thread-safe !
Public Member Functions inherited from walberla::blockforest::BlockDataHandling< LinearBuffer< TValue, TAllocator > >
 ~BlockDataHandling () override=default

Private Attributes

size_t linearAllocSize_
size_t linearAllocOffset_
allocator_type allocator_

Member Typedef Documentation

◆ allocator_type

template<std::semiregular TValue, typename TAllocator>
using walberla::v8::memory::buffer_system::LinearBufferDataHandling< TValue, TAllocator >::allocator_type = TAllocator

◆ buffer_type

template<std::semiregular TValue, typename TAllocator>
using walberla::v8::memory::buffer_system::LinearBufferDataHandling< TValue, TAllocator >::buffer_type = LinearBuffer< buffer_value_type, allocator_type >

◆ buffer_value_type

template<std::semiregular TValue, typename TAllocator>
using walberla::v8::memory::buffer_system::LinearBufferDataHandling< TValue, TAllocator >::buffer_value_type = TValue

Constructor & Destructor Documentation

◆ LinearBufferDataHandling()

template<std::semiregular TValue, typename TAllocator>
walberla::v8::memory::buffer_system::LinearBufferDataHandling< TValue, TAllocator >::LinearBufferDataHandling ( size_t linearAllocSize,
size_t linearAllocOffset,
const allocator_type & allocator )
inline

Member Function Documentation

◆ initialize()

template<std::semiregular TValue, typename TAllocator>
buffer_type * walberla::v8::memory::buffer_system::LinearBufferDataHandling< TValue, TAllocator >::initialize ( IBlock * block)
inlineoverridevirtual

Member Data Documentation

◆ allocator_

template<std::semiregular TValue, typename TAllocator>
allocator_type walberla::v8::memory::buffer_system::LinearBufferDataHandling< TValue, TAllocator >::allocator_
private

◆ linearAllocOffset_

template<std::semiregular TValue, typename TAllocator>
size_t walberla::v8::memory::buffer_system::LinearBufferDataHandling< TValue, TAllocator >::linearAllocOffset_
private

◆ linearAllocSize_

template<std::semiregular TValue, typename TAllocator>
size_t walberla::v8::memory::buffer_system::LinearBufferDataHandling< TValue, TAllocator >::linearAllocSize_
private

The documentation for this class was generated from the following file:
  • /builds/administration/walberla-website/walberla/include/walberla/v8/memory/BufferSystem.hpp