#include <AddToStorage.h>
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< StructuredBlockStorage > | blocks_ |
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_ |
using walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::Base_T = field::BlockDataHandling<PdfField_T, LatticeStorageSpecification_T::Stencil::D == 2> |
using walberla::lbm_generated::internal::PdfFieldHandling< LatticeStorageSpecification_T >::PdfField_T = PdfField<LatticeStorageSpecification_T> |
|
inline |
|
inlineoverrideprotectedvirtual |
must be thread-safe !
|
inlineprivate |
|
inlineoverridevirtual |
must be thread-safe !
Implements walberla::domain_decomposition::BlockDataHandling< PdfField< LatticeStorageSpecification_T > >.
|
inlineoverridevirtual |
must be thread-safe !
Implements walberla::blockforest::BlockDataHandling< PdfField< LatticeStorageSpecification_T > >.
|
inlineoverridevirtual |
must be thread-safe !
Implements walberla::blockforest::BlockDataHandling< PdfField< LatticeStorageSpecification_T > >.
|
inlineoverrideprotectedvirtual |
must be thread-safe !
|
inlineoverridevirtual |
must be thread-safe !
Implements walberla::domain_decomposition::BlockDataHandling< PdfField< LatticeStorageSpecification_T > >.
|
inlineoverridevirtual |
must be thread-safe !
Implements walberla::blockforest::BlockDataHandling< PdfField< LatticeStorageSpecification_T > >.
|
inlineoverridevirtual |
must be thread-safe !
Implements walberla::blockforest::BlockDataHandling< PdfField< LatticeStorageSpecification_T > >.
|
private |
|
private |
|
private |
|
private |
|
private |