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

typedef PdfField< LatticeModel_TPdfField_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

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

Constructor & Destructor Documentation

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

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

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
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
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
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
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
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
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: