walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T > Class Template Reference

#include <SweepBase.h>

+ Inheritance diagram for walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >:

Public Types

using PdfField_T = PdfField< LatticeModel_T >
 

Public Member Functions

 SweepBase (const BlockDataID &pdfField, const Filter_T &_filter=walberla::field::DefaultEvaluationFilter(), const DensityVelocityIn_T &_densityVelocityIn=DefaultDensityEquilibriumVelocityCalculation(), const DensityVelocityOut_T &_densityVelocityOut=DefaultDensityVelocityCallback())
 
 SweepBase (const BlockDataID &src, const BlockDataID &dst, const Filter_T &_filter=walberla::field::DefaultEvaluationFilter(), const DensityVelocityIn_T &_densityVelocityIn=DefaultDensityEquilibriumVelocityCalculation(), const DensityVelocityOut_T &_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

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 BlockDataID src_ {}
 
const bool dstFromBlockData_
 
const BlockDataID dst_ {}
 
std::set< PdfField_T *, field::SwapableCompare< PdfField_T * > > dstFields_
 
Filter_T filter_
 
DensityVelocityIn_T densityVelocityIn_
 
DensityVelocityOut_T densityVelocityOut_
 

Member Typedef Documentation

◆ PdfField_T

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
using walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::PdfField_T = PdfField<LatticeModel_T>

Constructor & Destructor Documentation

◆ SweepBase() [1/2]

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::SweepBase ( const BlockDataID pdfField,
const Filter_T &  _filter = walberla::field::DefaultEvaluationFilter(),
const DensityVelocityIn_T &  _densityVelocityIn = DefaultDensityEquilibriumVelocityCalculation(),
const DensityVelocityOut_T &  _densityVelocityOut = DefaultDensityVelocityCallback() 
)
inline

◆ SweepBase() [2/2]

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::SweepBase ( const BlockDataID src,
const BlockDataID dst,
const Filter_T &  _filter = walberla::field::DefaultEvaluationFilter(),
const DensityVelocityIn_T &  _densityVelocityIn = DefaultDensityEquilibriumVelocityCalculation(),
const DensityVelocityOut_T &  _densityVelocityOut = DefaultDensityVelocityCallback() 
)
inline

◆ ~SweepBase()

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
virtual walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::~SweepBase ( )
inlinevirtual

Member Function Documentation

◆ densityVelocityIn() [1/2]

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
void walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::densityVelocityIn ( IBlock block)
inline

◆ densityVelocityIn() [2/2]

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
real_t walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_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 
)
inline

◆ densityVelocityOut() [1/2]

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
void walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::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 
)
inline

◆ densityVelocityOut() [2/2]

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
void walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::densityVelocityOut ( IBlock block)
inline

◆ filter() [1/2]

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
bool walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::filter ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline

◆ filter() [2/2]

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
void walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::filter ( IBlock block)
inline

◆ getDstField()

template<typename LatticeModel_T , typename Filter_T , typename DensityVelocityIn_T , typename DensityVelocityOut_T >
SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::PdfField_T * walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::getDstField ( IBlock *const  block,
PdfField_T *const  src 
)
protected

◆ getFields()

template<typename LatticeModel_T , typename Filter_T , typename DensityVelocityIn_T , typename DensityVelocityOut_T >
void walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::getFields ( IBlock *const  block,
PdfField_T *&  src,
PdfField_T *&  dst 
)
inlineprotected

◆ getSrcField()

template<typename LatticeModel_T , typename Filter_T , typename DensityVelocityIn_T , typename DensityVelocityOut_T >
SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::PdfField_T * walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::getSrcField ( IBlock *const  block) const
inlineprotected

Member Data Documentation

◆ densityVelocityIn_

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
DensityVelocityIn_T walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::densityVelocityIn_
protected

◆ densityVelocityOut_

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
DensityVelocityOut_T walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::densityVelocityOut_
protected

◆ dst_

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
const BlockDataID walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::dst_ {}
protected

◆ dstFields_

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
std::set< PdfField_T *, field::SwapableCompare< PdfField_T * > > walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::dstFields_
protected

◆ dstFromBlockData_

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
const bool walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::dstFromBlockData_
protected

◆ filter_

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
Filter_T walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::filter_
protected

◆ src_

template<typename LatticeModel_T , typename Filter_T = walberla::field::DefaultEvaluationFilter, typename DensityVelocityIn_T = DefaultDensityEquilibriumVelocityCalculation, typename DensityVelocityOut_T = DefaultDensityVelocityCallback>
const BlockDataID walberla::lbm::SweepBase< LatticeModel_T, Filter_T, DensityVelocityIn_T, DensityVelocityOut_T >::src_ {}
protected

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