walberla::field::internal::GhostLayerFieldDataHandling< GhostLayerField_T > Class Template Reference

#include <FieldExport.impl.h>

+ Inheritance diagram for walberla::field::internal::GhostLayerFieldDataHandling< GhostLayerField_T >:

Public Types

typedef GhostLayerField_T::value_type Value_T
 
- Public Types inherited from walberla::field::BlockDataHandling< GhostLayerField_T >
using Value_T = typename GhostLayerField_T ::value_type
 
using InitializationFunction_T = std::function< void(GhostLayerField_T *, IBlock *const)>
 
- Public Types inherited from walberla::domain_decomposition::BlockDataHandling< GhostLayerField_T >
using value_type = GhostLayerField_T
 

Public Member Functions

 GhostLayerFieldDataHandling (const weak_ptr< StructuredBlockStorage > &blocks, const uint_t nrOfGhostLayers, const Value_T &initValue, const Layout layout, uint_t alignment=0)
 
GhostLayerField_T * allocate (IBlock *const block)
 must be thread-safe ! More...
 
GhostLayerField_T * reallocate (IBlock *const block)
 must be thread-safe ! More...
 
- Public Member Functions inherited from walberla::field::BlockDataHandling< GhostLayerField_T >
 ~BlockDataHandling () override=default
 
void addInitializationFunction (const InitializationFunction_T &initFunction)
 
GhostLayerField_T * initialize (IBlock *const block) override
 must be thread-safe ! More...
 
void serialize (IBlock *const block, const BlockDataID &id, mpi::SendBuffer &buffer) override
 must be thread-safe ! More...
 
void serializeCoarseToFine (Block *const block, const BlockDataID &id, mpi::SendBuffer &buffer, const uint_t child) override
 must be thread-safe ! More...
 
void serializeFineToCoarse (Block *const block, const BlockDataID &id, mpi::SendBuffer &buffer) override
 must be thread-safe ! More...
 
GhostLayerField_T * deserialize (IBlock *const block) override
 must be thread-safe ! More...
 
void deserialize (IBlock *const block, const BlockDataID &id, mpi::RecvBuffer &buffer) override
 must be thread-safe ! More...
 
GhostLayerField_T * deserializeCoarseToFine (Block *const block) override
 must be thread-safe ! More...
 
void deserializeCoarseToFine (Block *const block, const BlockDataID &id, mpi::RecvBuffer &buffer) override
 must be thread-safe ! More...
 
GhostLayerField_T * deserializeFineToCoarse (Block *const block) override
 must be thread-safe ! More...
 
void deserializeFineToCoarse (Block *const block, const BlockDataID &id, mpi::RecvBuffer &buffer, const uint_t child) override
 must be thread-safe ! More...
 

Private Attributes

weak_ptr< StructuredBlockStorageblocks_
 
uint_t nrOfGhostLayers_
 
Value_T initValue_
 
Layout layout_
 
uint_t alignment_
 

Additional Inherited Members

- Protected Member Functions inherited from walberla::field::BlockDataHandling< GhostLayerField_T >
void sizeCheck (const uint_t xSize, const uint_t ySize, const uint_t zSize)
 
- Protected Attributes inherited from walberla::field::BlockDataHandling< GhostLayerField_T >
InitializationFunction_T initFunction_
 

Member Typedef Documentation

◆ Value_T

template<typename GhostLayerField_T >
typedef GhostLayerField_T::value_type walberla::field::internal::GhostLayerFieldDataHandling< GhostLayerField_T >::Value_T

Constructor & Destructor Documentation

◆ GhostLayerFieldDataHandling()

template<typename GhostLayerField_T >
walberla::field::internal::GhostLayerFieldDataHandling< GhostLayerField_T >::GhostLayerFieldDataHandling ( const weak_ptr< StructuredBlockStorage > &  blocks,
const uint_t  nrOfGhostLayers,
const Value_T initValue,
const Layout  layout,
uint_t  alignment = 0 
)
inline

Member Function Documentation

◆ allocate()

template<typename GhostLayerField_T >
GhostLayerField_T* walberla::field::internal::GhostLayerFieldDataHandling< GhostLayerField_T >::allocate ( IBlock *const  block)
inlinevirtual

◆ reallocate()

template<typename GhostLayerField_T >
GhostLayerField_T* walberla::field::internal::GhostLayerFieldDataHandling< GhostLayerField_T >::reallocate ( IBlock *const  block)
inlinevirtual

Member Data Documentation

◆ alignment_

template<typename GhostLayerField_T >
uint_t walberla::field::internal::GhostLayerFieldDataHandling< GhostLayerField_T >::alignment_
private

◆ blocks_

template<typename GhostLayerField_T >
weak_ptr< StructuredBlockStorage > walberla::field::internal::GhostLayerFieldDataHandling< GhostLayerField_T >::blocks_
private

◆ initValue_

template<typename GhostLayerField_T >
Value_T walberla::field::internal::GhostLayerFieldDataHandling< GhostLayerField_T >::initValue_
private

◆ layout_

template<typename GhostLayerField_T >
Layout walberla::field::internal::GhostLayerFieldDataHandling< GhostLayerField_T >::layout_
private

◆ nrOfGhostLayers_

template<typename GhostLayerField_T >
uint_t walberla::field::internal::GhostLayerFieldDataHandling< GhostLayerField_T >::nrOfGhostLayers_
private

The documentation for this class was generated from the following file: