walberla::pe_coupling::EquilibriumAndNonEquilibriumReconstructor< LatticeModel_T, BoundaryHandling_T, ExtrapolationDirectionFinder_T > Class Template Reference

#include <Reconstructor.h>

Public Types

using PdfField_T = lbm::PdfField< LatticeModel_T >
 
using BodyField_T = Field< pe::BodyID, 1 >
 

Public Member Functions

 EquilibriumAndNonEquilibriumReconstructor (const shared_ptr< StructuredBlockStorage > &blockStorage, const BlockDataID &boundaryHandlingID, const BlockDataID &bodyFieldID, const ExtrapolationDirectionFinder_T &extrapolationDirectionFinder)
 
void operator() (const cell_idx_t &x, const cell_idx_t &y, const cell_idx_t &z, IBlock *const block, PdfField_T *const pdfField)
 
void operator() (const cell_idx_t &x, const cell_idx_t &y, const cell_idx_t &z, IBlock *const block, PdfField_T *const pdfField, const Vector3< cell_idx_t > &extrapolationDirection)
 

Private Member Functions

void setNonEquilibrium (const cell_idx_t &x, const cell_idx_t &y, const cell_idx_t &z, IBlock *const block, PdfField_T *const pdfField, const Vector3< cell_idx_t > &extrapolationDirection)
 

Private Attributes

shared_ptr< StructuredBlockStorageblockStorage_
 
const BlockDataID boundaryHandlingID_
 
const BlockDataID bodyFieldID_
 
ExtrapolationDirectionFinder_T extrapolationDirectionFinder_
 
EquilibriumReconstructor< LatticeModel_T, BoundaryHandling_TequilibriumReconstructor_
 

Member Typedef Documentation

◆ BodyField_T

template<typename LatticeModel_T , typename BoundaryHandling_T , typename ExtrapolationDirectionFinder_T >
using walberla::pe_coupling::EquilibriumAndNonEquilibriumReconstructor< LatticeModel_T, BoundaryHandling_T, ExtrapolationDirectionFinder_T >::BodyField_T = Field<pe::BodyID, 1>

◆ PdfField_T

template<typename LatticeModel_T , typename BoundaryHandling_T , typename ExtrapolationDirectionFinder_T >
using walberla::pe_coupling::EquilibriumAndNonEquilibriumReconstructor< LatticeModel_T, BoundaryHandling_T, ExtrapolationDirectionFinder_T >::PdfField_T = lbm::PdfField<LatticeModel_T>

Constructor & Destructor Documentation

◆ EquilibriumAndNonEquilibriumReconstructor()

template<typename LatticeModel_T , typename BoundaryHandling_T , typename ExtrapolationDirectionFinder_T >
walberla::pe_coupling::EquilibriumAndNonEquilibriumReconstructor< LatticeModel_T, BoundaryHandling_T, ExtrapolationDirectionFinder_T >::EquilibriumAndNonEquilibriumReconstructor ( const shared_ptr< StructuredBlockStorage > &  blockStorage,
const BlockDataID boundaryHandlingID,
const BlockDataID bodyFieldID,
const ExtrapolationDirectionFinder_T &  extrapolationDirectionFinder 
)
inline

Member Function Documentation

◆ operator()() [1/2]

template<typename LatticeModel_T , typename BoundaryHandling_T , typename ExtrapolationDirectionFinder_T >
void walberla::pe_coupling::EquilibriumAndNonEquilibriumReconstructor< LatticeModel_T, BoundaryHandling_T, ExtrapolationDirectionFinder_T >::operator() ( const cell_idx_t x,
const cell_idx_t y,
const cell_idx_t z,
IBlock *const  block,
PdfField_T *const  pdfField 
)

◆ operator()() [2/2]

template<typename LatticeModel_T , typename BoundaryHandling_T , typename ExtrapolationDirectionFinder_T >
void walberla::pe_coupling::EquilibriumAndNonEquilibriumReconstructor< LatticeModel_T, BoundaryHandling_T, ExtrapolationDirectionFinder_T >::operator() ( const cell_idx_t x,
const cell_idx_t y,
const cell_idx_t z,
IBlock *const  block,
PdfField_T *const  pdfField,
const Vector3< cell_idx_t > &  extrapolationDirection 
)

◆ setNonEquilibrium()

template<typename LatticeModel_T , typename BoundaryHandling_T , typename ExtrapolationDirectionFinder_T >
void walberla::pe_coupling::EquilibriumAndNonEquilibriumReconstructor< LatticeModel_T, BoundaryHandling_T, ExtrapolationDirectionFinder_T >::setNonEquilibrium ( const cell_idx_t x,
const cell_idx_t y,
const cell_idx_t z,
IBlock *const  block,
PdfField_T *const  pdfField,
const Vector3< cell_idx_t > &  extrapolationDirection 
)
private

Member Data Documentation

◆ blockStorage_

template<typename LatticeModel_T , typename BoundaryHandling_T , typename ExtrapolationDirectionFinder_T >
shared_ptr<StructuredBlockStorage> walberla::pe_coupling::EquilibriumAndNonEquilibriumReconstructor< LatticeModel_T, BoundaryHandling_T, ExtrapolationDirectionFinder_T >::blockStorage_
private

◆ bodyFieldID_

template<typename LatticeModel_T , typename BoundaryHandling_T , typename ExtrapolationDirectionFinder_T >
const BlockDataID walberla::pe_coupling::EquilibriumAndNonEquilibriumReconstructor< LatticeModel_T, BoundaryHandling_T, ExtrapolationDirectionFinder_T >::bodyFieldID_
private

◆ boundaryHandlingID_

template<typename LatticeModel_T , typename BoundaryHandling_T , typename ExtrapolationDirectionFinder_T >
const BlockDataID walberla::pe_coupling::EquilibriumAndNonEquilibriumReconstructor< LatticeModel_T, BoundaryHandling_T, ExtrapolationDirectionFinder_T >::boundaryHandlingID_
private

◆ equilibriumReconstructor_

template<typename LatticeModel_T , typename BoundaryHandling_T , typename ExtrapolationDirectionFinder_T >
EquilibriumReconstructor< LatticeModel_T, BoundaryHandling_T > walberla::pe_coupling::EquilibriumAndNonEquilibriumReconstructor< LatticeModel_T, BoundaryHandling_T, ExtrapolationDirectionFinder_T >::equilibriumReconstructor_
private

◆ extrapolationDirectionFinder_

template<typename LatticeModel_T , typename BoundaryHandling_T , typename ExtrapolationDirectionFinder_T >
ExtrapolationDirectionFinder_T walberla::pe_coupling::EquilibriumAndNonEquilibriumReconstructor< LatticeModel_T, BoundaryHandling_T, ExtrapolationDirectionFinder_T >::extrapolationDirectionFinder_
private

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