walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T > Class Template Reference

#include <AddToStorage.h>

+ Inheritance diagram for walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >:

Public Types

using PdfField_T = PdfField< LatticeStorageSpecification_T >
 
using Base_T = field::BlockDataHandling< PdfField_T, LatticeStorageSpecification_T::Stencil::D==2 >
 
- Public Types inherited from walberla::field::BlockDataHandling< PdfField< LatticeStorageSpecification_T >, LatticeStorageSpecification_T::Stencil::D==2 >
using Value_T = typename PdfField< LatticeStorageSpecification_T > ::value_type
 
using InitializationFunction_T = std::function< void(PdfField< LatticeStorageSpecification_T > *, IBlock *const)>
 
- Public Types inherited from walberla::domain_decomposition::BlockDataHandling< PdfField< LatticeStorageSpecification_T > >
using value_type = PdfField< LatticeStorageSpecification_T >
 

Public Member Functions

 PdfFieldHandling (const weak_ptr< StructuredBlockStorage > &blocks, const LatticeStorageSpecification_T &storageSpecification, const uint_t nrOfGhostLayers, const field::Layout &layout, const shared_ptr< field::FieldAllocator< real_t > > alloc=nullptr)
 
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...
 
void deserialize (IBlock *const block, const BlockDataID &id, mpi::RecvBuffer &buffer) override
 must be thread-safe ! More...
 
void deserializeCoarseToFine (Block *const block, const BlockDataID &id, mpi::RecvBuffer &buffer) 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...
 
- Public Member Functions inherited from walberla::field::BlockDataHandling< PdfField< LatticeStorageSpecification_T >, LatticeStorageSpecification_T::Stencil::D==2 >
 ~BlockDataHandling () override=default
 
void addInitializationFunction (const InitializationFunction_T &initFunction)
 
PdfField< LatticeStorageSpecification_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...
 
PdfField< LatticeStorageSpecification_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...
 
PdfField< LatticeStorageSpecification_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...
 
PdfField< LatticeStorageSpecification_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...
 

Protected Member Functions

PdfField< LatticeStorageSpecification_T > * allocate (IBlock *const block) override
 must be thread-safe ! More...
 
PdfField< LatticeStorageSpecification_T > * reallocate (IBlock *const block) override
 must be thread-safe ! More...
 
- Protected Member Functions inherited from walberla::field::BlockDataHandling< PdfField< LatticeStorageSpecification_T >, LatticeStorageSpecification_T::Stencil::D==2 >
void sizeCheck (const uint_t xSize, const uint_t ySize, const uint_t zSize)
 

Private Member Functions

PdfField< LatticeStorageSpecification_T > * allocateDispatch (IBlock *const block)
 

Private Attributes

weak_ptr< StructuredBlockStorageblocks_
 
LatticeStorageSpecification_T storageSpecification_
 
uint_t nrOfGhostLayers_
 
field::Layout layout_
 
shared_ptr< field::FieldAllocator< real_t > > alloc_
 

Additional Inherited Members

- Protected Attributes inherited from walberla::field::BlockDataHandling< PdfField< LatticeStorageSpecification_T >, LatticeStorageSpecification_T::Stencil::D==2 >
InitializationFunction_T initFunction_
 

Member Typedef Documentation

◆ Base_T

template<typename LatticeStorageSpecification_T >
using walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::Base_T = field::BlockDataHandling<PdfField_T, LatticeStorageSpecification_T::Stencil::D == 2>

◆ PdfField_T

template<typename LatticeStorageSpecification_T >
using walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::PdfField_T = PdfField<LatticeStorageSpecification_T>

Constructor & Destructor Documentation

◆ PdfFieldHandling()

template<typename LatticeStorageSpecification_T >
walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::PdfFieldHandling ( const weak_ptr< StructuredBlockStorage > &  blocks,
const LatticeStorageSpecification_T &  storageSpecification,
const uint_t  nrOfGhostLayers,
const field::Layout layout,
const shared_ptr< field::FieldAllocator< real_t > >  alloc = nullptr 
)
inline

Member Function Documentation

◆ allocate()

template<typename LatticeStorageSpecification_T >
PdfField<LatticeStorageSpecification_T>* walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::allocate ( IBlock *const  block)
inlineoverrideprotectedvirtual

◆ allocateDispatch()

template<typename LatticeStorageSpecification_T >
PdfField<LatticeStorageSpecification_T>* walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::allocateDispatch ( IBlock *const  block)
inlineprivate

◆ deserialize()

template<typename LatticeStorageSpecification_T >
void walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::deserialize ( IBlock *const  block,
const BlockDataID id,
mpi::RecvBuffer buffer 
)
inlineoverridevirtual

◆ deserializeCoarseToFine()

template<typename LatticeStorageSpecification_T >
void walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::deserializeCoarseToFine ( Block *const  block,
const BlockDataID id,
mpi::RecvBuffer buffer 
)
inlineoverridevirtual

◆ deserializeFineToCoarse()

template<typename LatticeStorageSpecification_T >
void walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::deserializeFineToCoarse ( Block *const  block,
const BlockDataID id,
mpi::RecvBuffer buffer,
const uint_t  child 
)
inlineoverridevirtual

◆ reallocate()

template<typename LatticeStorageSpecification_T >
PdfField<LatticeStorageSpecification_T>* walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::reallocate ( IBlock *const  block)
inlineoverrideprotectedvirtual

◆ serialize()

template<typename LatticeStorageSpecification_T >
void walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::serialize ( IBlock *const  block,
const BlockDataID id,
mpi::SendBuffer buffer 
)
inlineoverridevirtual

◆ serializeCoarseToFine()

template<typename LatticeStorageSpecification_T >
void walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::serializeCoarseToFine ( Block *const  block,
const BlockDataID id,
mpi::SendBuffer buffer,
const uint_t  child 
)
inlineoverridevirtual

◆ serializeFineToCoarse()

template<typename LatticeStorageSpecification_T >
void walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::serializeFineToCoarse ( Block *const  block,
const BlockDataID id,
mpi::SendBuffer buffer 
)
inlineoverridevirtual

Member Data Documentation

◆ alloc_

template<typename LatticeStorageSpecification_T >
shared_ptr< field::FieldAllocator<real_t> > walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::alloc_
private

◆ blocks_

template<typename LatticeStorageSpecification_T >
weak_ptr< StructuredBlockStorage > walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::blocks_
private

◆ layout_

template<typename LatticeStorageSpecification_T >
field::Layout walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::layout_
private

◆ nrOfGhostLayers_

template<typename LatticeStorageSpecification_T >
uint_t walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::nrOfGhostLayers_
private

◆ storageSpecification_

template<typename LatticeStorageSpecification_T >
LatticeStorageSpecification_T walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::storageSpecification_
private

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