walberla::lbm::AdvectionDiffusionSweep< LM_AdvDiff, VelocityAdapter_T, FlagField_T, VectorField_T, typename std::enable_if< std::is_same< typename LM_AdvDiff::CollisionModel::tag, collision_model::SRT_tag >::value &&LM_AdvDiff::CollisionModel::constant &&std::is_same< typename LM_AdvDiff::ForceModel::tag, force_model::Correction_tag >::value &&std::is_same< typename LM_AdvDiff::Stencil, stencil::D3Q19 >::value &&LM_AdvDiff::compressible &&LM_AdvDiff::equilibriumAccuracyOrder==1 >::type > Class Template Reference

#include <AdvectionDiffusionSweep.impl.h>

+ Inheritance diagram for walberla::lbm::AdvectionDiffusionSweep< LM_AdvDiff, VelocityAdapter_T, FlagField_T, VectorField_T, typename std::enable_if< std::is_same< typename LM_AdvDiff::CollisionModel::tag, collision_model::SRT_tag >::value &&LM_AdvDiff::CollisionModel::constant &&std::is_same< typename LM_AdvDiff::ForceModel::tag, force_model::Correction_tag >::value &&std::is_same< typename LM_AdvDiff::Stencil, stencil::D3Q19 >::value &&LM_AdvDiff::compressible &&LM_AdvDiff::equilibriumAccuracyOrder==1 >::type >:

Public Types

typedef FlagFieldSweepBase< LM_AdvDiff, FlagField_T >::PdfField_T AdvDiffPdfField_T
 
typedef LM_AdvDiff::Stencil Stencil
 
- Public Types inherited from walberla::lbm::FlagFieldSweepBase< LM_AdvDiff, FlagField_T >
using PdfField_T = typename SweepBase< LM_AdvDiff >::PdfField_T
 
using flag_t = typename FlagField_T::flag_t
 
- Public Types inherited from walberla::lbm::SweepBase< LM_AdvDiff >
using PdfField_T = PdfField< LM_AdvDiff >
 

Public Member Functions

 AdvectionDiffusionSweep (const BlockDataID &advDiffID, const ConstBlockDataID &velID, const ConstBlockDataID &flagID, const Set< FlagUID > &lbmMask, const BlockDataID &oldMomDensity)
 
 AdvectionDiffusionSweep (const BlockDataID &advDiffSrcID, const BlockDataID &advDiffDstIS, const ConstBlockDataID &velID, const ConstBlockDataID &flagID, const Set< FlagUID > &lbmMask, const BlockDataID &oldMomDensity)
 
void operator() (IBlock *const block)
 
void stream (IBlock *const block, const uint_t numberOfGhostLayersToInclude=uint_t(0u))
 
void collide (IBlock *const block, const uint_t numberOfGhostLayersToInclude=uint_t(0u))
 
- Public Member Functions inherited from walberla::lbm::FlagFieldSweepBase< LM_AdvDiff, FlagField_T >
 FlagFieldSweepBase (const BlockDataID &pdfField, const ConstBlockDataID &flagField, const Set< FlagUID > &lbmMask)
 
 FlagFieldSweepBase (const BlockDataID &src, const BlockDataID &dst, const ConstBlockDataID &flagField, const Set< FlagUID > &lbmMask)
 
- Public Member Functions inherited from walberla::lbm::SweepBase< LM_AdvDiff >
 SweepBase (const BlockDataID &pdfField, const walberla::field::DefaultEvaluationFilter &_filter=walberla::field::DefaultEvaluationFilter(), const DefaultDensityEquilibriumVelocityCalculation &_densityVelocityIn=DefaultDensityEquilibriumVelocityCalculation(), const DefaultDensityVelocityCallback &_densityVelocityOut=DefaultDensityVelocityCallback())
 
 SweepBase (const BlockDataID &src, const BlockDataID &dst, const walberla::field::DefaultEvaluationFilter &_filter=walberla::field::DefaultEvaluationFilter(), const DefaultDensityEquilibriumVelocityCalculation &_densityVelocityIn=DefaultDensityEquilibriumVelocityCalculation(), const DefaultDensityVelocityCallback &_densityVelocityOut=DefaultDensityVelocityCallback())
 
virtual ~SweepBase ()
 
void filter (IBlock &block)
 
bool filter (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
void densityVelocityIn (IBlock &block)
 
real_t densityVelocityIn (Vector3< real_t > &velocity, const PdfField_T *const field, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z)
 
void densityVelocityOut (IBlock &block)
 
void densityVelocityOut (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const LM_AdvDiff &lm, const Vector3< real_t > &velocity, const real_t rho)
 

Protected Attributes

const ConstBlockDataID velID_
 
const BlockDataID oldMomDensity_
 
- Protected Attributes inherited from walberla::lbm::FlagFieldSweepBase< LM_AdvDiff, FlagField_T >
const ConstBlockDataID flagField_
 
const Set< FlagUID > lbmMask_
 
- Protected Attributes inherited from walberla::lbm::SweepBase< LM_AdvDiff >
const BlockDataID src_
 
const bool dstFromBlockData_
 
const BlockDataID dst_
 
std::set< PdfField_T *, field::SwapableCompare< PdfField_T * > > dstFields_
 
walberla::field::DefaultEvaluationFilter filter_
 
DefaultDensityEquilibriumVelocityCalculation densityVelocityIn_
 
DefaultDensityVelocityCallback densityVelocityOut_
 

Additional Inherited Members

- Protected Member Functions inherited from walberla::lbm::FlagFieldSweepBase< LM_AdvDiff, FlagField_T >
void getFields (IBlock *const block, PdfField_T *&src, PdfField_T *&dst, const FlagField_T *&flags)
 
void getFields (IBlock *const block, PdfField_T *&src, const FlagField_T *&flags)
 
flag_t getLbmMaskAndFields (IBlock *const block, PdfField_T *&src, PdfField_T *&dst, const FlagField_T *&flags)
 
flag_t getLbmMaskAndFields (IBlock *const block, PdfField_T *&src, const FlagField_T *&flags)
 
- Protected Member Functions inherited from walberla::lbm::SweepBase< LM_AdvDiff >
PdfField_TgetSrcField (IBlock *const block) const
 
PdfField_TgetDstField (IBlock *const block, PdfField_T *const src)
 
void getFields (IBlock *const block, PdfField_T *&src, PdfField_T *&dst)
 

Member Typedef Documentation

◆ AdvDiffPdfField_T

template<typename LM_AdvDiff , typename VelocityAdapter_T , typename FlagField_T , typename VectorField_T >
typedef FlagFieldSweepBase<LM_AdvDiff,FlagField_T>::PdfField_T walberla::lbm::AdvectionDiffusionSweep< LM_AdvDiff, VelocityAdapter_T, FlagField_T, VectorField_T, typename std::enable_if< std::is_same< typename LM_AdvDiff::CollisionModel::tag, collision_model::SRT_tag >::value &&LM_AdvDiff::CollisionModel::constant &&std::is_same< typename LM_AdvDiff::ForceModel::tag, force_model::Correction_tag >::value &&std::is_same< typename LM_AdvDiff::Stencil, stencil::D3Q19 >::value &&LM_AdvDiff::compressible &&LM_AdvDiff::equilibriumAccuracyOrder==1 >::type >::AdvDiffPdfField_T

◆ Stencil

template<typename LM_AdvDiff , typename VelocityAdapter_T , typename FlagField_T , typename VectorField_T >
typedef LM_AdvDiff::Stencil walberla::lbm::AdvectionDiffusionSweep< LM_AdvDiff, VelocityAdapter_T, FlagField_T, VectorField_T, typename std::enable_if< std::is_same< typename LM_AdvDiff::CollisionModel::tag, collision_model::SRT_tag >::value &&LM_AdvDiff::CollisionModel::constant &&std::is_same< typename LM_AdvDiff::ForceModel::tag, force_model::Correction_tag >::value &&std::is_same< typename LM_AdvDiff::Stencil, stencil::D3Q19 >::value &&LM_AdvDiff::compressible &&LM_AdvDiff::equilibriumAccuracyOrder==1 >::type >::Stencil

Constructor & Destructor Documentation

◆ AdvectionDiffusionSweep() [1/2]

template<typename LM_AdvDiff , typename VelocityAdapter_T , typename FlagField_T , typename VectorField_T >
walberla::lbm::AdvectionDiffusionSweep< LM_AdvDiff, VelocityAdapter_T, FlagField_T, VectorField_T, typename std::enable_if< std::is_same< typename LM_AdvDiff::CollisionModel::tag, collision_model::SRT_tag >::value &&LM_AdvDiff::CollisionModel::constant &&std::is_same< typename LM_AdvDiff::ForceModel::tag, force_model::Correction_tag >::value &&std::is_same< typename LM_AdvDiff::Stencil, stencil::D3Q19 >::value &&LM_AdvDiff::compressible &&LM_AdvDiff::equilibriumAccuracyOrder==1 >::type >::AdvectionDiffusionSweep ( const BlockDataID advDiffID,
const ConstBlockDataID velID,
const ConstBlockDataID flagID,
const Set< FlagUID > &  lbmMask,
const BlockDataID oldMomDensity 
)
inline

◆ AdvectionDiffusionSweep() [2/2]

template<typename LM_AdvDiff , typename VelocityAdapter_T , typename FlagField_T , typename VectorField_T >
walberla::lbm::AdvectionDiffusionSweep< LM_AdvDiff, VelocityAdapter_T, FlagField_T, VectorField_T, typename std::enable_if< std::is_same< typename LM_AdvDiff::CollisionModel::tag, collision_model::SRT_tag >::value &&LM_AdvDiff::CollisionModel::constant &&std::is_same< typename LM_AdvDiff::ForceModel::tag, force_model::Correction_tag >::value &&std::is_same< typename LM_AdvDiff::Stencil, stencil::D3Q19 >::value &&LM_AdvDiff::compressible &&LM_AdvDiff::equilibriumAccuracyOrder==1 >::type >::AdvectionDiffusionSweep ( const BlockDataID advDiffSrcID,
const BlockDataID advDiffDstIS,
const ConstBlockDataID velID,
const ConstBlockDataID flagID,
const Set< FlagUID > &  lbmMask,
const BlockDataID oldMomDensity 
)
inline

Member Function Documentation

◆ collide()

template<typename LM_AdvDiff , typename VelocityAdapter_T , typename FlagField_T , typename VectorField_T >
void walberla::lbm::AdvectionDiffusionSweep< LM_AdvDiff, VelocityAdapter_T, FlagField_T, VectorField_T, typename std::enable_if< std::is_same< typename LM_AdvDiff::CollisionModel::tag, collision_model::SRT_tag >::value &&LM_AdvDiff::CollisionModel::constant &&std::is_same< typename LM_AdvDiff::ForceModel::tag, force_model::Correction_tag >::value &&std::is_same< typename LM_AdvDiff::Stencil, stencil::D3Q19 >::value &&LM_AdvDiff::compressible &&LM_AdvDiff::equilibriumAccuracyOrder==1 >::type >::collide ( IBlock *const  block,
const uint_t  numberOfGhostLayersToInclude = uint_t( 0u ) 
)

◆ operator()()

template<typename LM_AdvDiff , typename VelocityAdapter_T , typename FlagField_T , typename VectorField_T >
void walberla::lbm::AdvectionDiffusionSweep< LM_AdvDiff, VelocityAdapter_T, FlagField_T, VectorField_T, typename std::enable_if< std::is_same< typename LM_AdvDiff::CollisionModel::tag, collision_model::SRT_tag >::value &&LM_AdvDiff::CollisionModel::constant &&std::is_same< typename LM_AdvDiff::ForceModel::tag, force_model::Correction_tag >::value &&std::is_same< typename LM_AdvDiff::Stencil, stencil::D3Q19 >::value &&LM_AdvDiff::compressible &&LM_AdvDiff::equilibriumAccuracyOrder==1 >::type >::operator() ( IBlock *const  block)

◆ stream()

template<typename LM_AdvDiff , typename VelocityAdapter_T , typename FlagField_T , typename VectorField_T >
void walberla::lbm::AdvectionDiffusionSweep< LM_AdvDiff, VelocityAdapter_T, FlagField_T, VectorField_T, typename std::enable_if< std::is_same< typename LM_AdvDiff::CollisionModel::tag, collision_model::SRT_tag >::value &&LM_AdvDiff::CollisionModel::constant &&std::is_same< typename LM_AdvDiff::ForceModel::tag, force_model::Correction_tag >::value &&std::is_same< typename LM_AdvDiff::Stencil, stencil::D3Q19 >::value &&LM_AdvDiff::compressible &&LM_AdvDiff::equilibriumAccuracyOrder==1 >::type >::stream ( IBlock *const  block,
const uint_t  numberOfGhostLayersToInclude = uint_t( 0u ) 
)

Member Data Documentation

◆ oldMomDensity_

template<typename LM_AdvDiff , typename VelocityAdapter_T , typename FlagField_T , typename VectorField_T >
const BlockDataID walberla::lbm::AdvectionDiffusionSweep< LM_AdvDiff, VelocityAdapter_T, FlagField_T, VectorField_T, typename std::enable_if< std::is_same< typename LM_AdvDiff::CollisionModel::tag, collision_model::SRT_tag >::value &&LM_AdvDiff::CollisionModel::constant &&std::is_same< typename LM_AdvDiff::ForceModel::tag, force_model::Correction_tag >::value &&std::is_same< typename LM_AdvDiff::Stencil, stencil::D3Q19 >::value &&LM_AdvDiff::compressible &&LM_AdvDiff::equilibriumAccuracyOrder==1 >::type >::oldMomDensity_
protected

◆ velID_

template<typename LM_AdvDiff , typename VelocityAdapter_T , typename FlagField_T , typename VectorField_T >
const ConstBlockDataID walberla::lbm::AdvectionDiffusionSweep< LM_AdvDiff, VelocityAdapter_T, FlagField_T, VectorField_T, typename std::enable_if< std::is_same< typename LM_AdvDiff::CollisionModel::tag, collision_model::SRT_tag >::value &&LM_AdvDiff::CollisionModel::constant &&std::is_same< typename LM_AdvDiff::ForceModel::tag, force_model::Correction_tag >::value &&std::is_same< typename LM_AdvDiff::Stencil, stencil::D3Q19 >::value &&LM_AdvDiff::compressible &&LM_AdvDiff::equilibriumAccuracyOrder==1 >::type >::velID_
protected

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