walberla::lbm::FlagFieldSweepBase< LatticeModel_T, FlagField_T > Class Template Reference

#include <FlagFieldSweepBase.h>

+ Inheritance diagram for walberla::lbm::FlagFieldSweepBase< LatticeModel_T, FlagField_T >:

Public Types

using PdfField_T = typename SweepBase< LatticeModel_T >::PdfField_T
 
using flag_t = typename FlagField_T::flag_t
 
- Public Types inherited from walberla::lbm::SweepBase< LatticeModel_T >
using PdfField_T = PdfField< LatticeModel_T >
 

Public Member Functions

 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< LatticeModel_T >
 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 LatticeModel_T &lm, const Vector3< real_t > &velocity, const real_t rho)
 

Protected Member Functions

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< LatticeModel_T >
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)
 

Protected Attributes

const ConstBlockDataID flagField_
 
const Set< FlagUID > lbmMask_
 
- Protected Attributes inherited from walberla::lbm::SweepBase< LatticeModel_T >
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_
 

Member Typedef Documentation

◆ flag_t

template<typename LatticeModel_T , typename FlagField_T >
using walberla::lbm::FlagFieldSweepBase< LatticeModel_T, FlagField_T >::flag_t = typename FlagField_T::flag_t

◆ PdfField_T

template<typename LatticeModel_T , typename FlagField_T >
using walberla::lbm::FlagFieldSweepBase< LatticeModel_T, FlagField_T >::PdfField_T = typename SweepBase<LatticeModel_T>::PdfField_T

Constructor & Destructor Documentation

◆ FlagFieldSweepBase() [1/2]

template<typename LatticeModel_T , typename FlagField_T >
walberla::lbm::FlagFieldSweepBase< LatticeModel_T, FlagField_T >::FlagFieldSweepBase ( const BlockDataID pdfField,
const ConstBlockDataID flagField,
const Set< FlagUID > &  lbmMask 
)
inline

◆ FlagFieldSweepBase() [2/2]

template<typename LatticeModel_T , typename FlagField_T >
walberla::lbm::FlagFieldSweepBase< LatticeModel_T, FlagField_T >::FlagFieldSweepBase ( const BlockDataID src,
const BlockDataID dst,
const ConstBlockDataID flagField,
const Set< FlagUID > &  lbmMask 
)
inline

Member Function Documentation

◆ getFields() [1/2]

template<typename LatticeModel_T , typename FlagField_T >
void walberla::lbm::FlagFieldSweepBase< LatticeModel_T, FlagField_T >::getFields ( IBlock *const  block,
PdfField_T *&  src,
const FlagField_T *&  flags 
)
inlineprotected

◆ getFields() [2/2]

template<typename LatticeModel_T , typename FlagField_T >
void walberla::lbm::FlagFieldSweepBase< LatticeModel_T, FlagField_T >::getFields ( IBlock *const  block,
PdfField_T *&  src,
PdfField_T *&  dst,
const FlagField_T *&  flags 
)
inlineprotected

◆ getLbmMaskAndFields() [1/2]

template<typename LatticeModel_T , typename FlagField_T >
flag_t walberla::lbm::FlagFieldSweepBase< LatticeModel_T, FlagField_T >::getLbmMaskAndFields ( IBlock *const  block,
PdfField_T *&  src,
const FlagField_T *&  flags 
)
inlineprotected

◆ getLbmMaskAndFields() [2/2]

template<typename LatticeModel_T , typename FlagField_T >
flag_t walberla::lbm::FlagFieldSweepBase< LatticeModel_T, FlagField_T >::getLbmMaskAndFields ( IBlock *const  block,
PdfField_T *&  src,
PdfField_T *&  dst,
const FlagField_T *&  flags 
)
inlineprotected

Member Data Documentation

◆ flagField_

template<typename LatticeModel_T , typename FlagField_T >
const ConstBlockDataID walberla::lbm::FlagFieldSweepBase< LatticeModel_T, FlagField_T >::flagField_
protected

◆ lbmMask_

template<typename LatticeModel_T , typename FlagField_T >
const Set< FlagUID > walberla::lbm::FlagFieldSweepBase< LatticeModel_T, FlagField_T >::lbmMask_
protected

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