walberla::lbm::AdvectionDiffusionDensityEquilibriumVelocityCalculation< VelocityField_T > Class Template Reference

#include <DensityVelocityCallback.h>

Public Member Functions

 AdvectionDiffusionDensityEquilibriumVelocityCalculation (const ConstBlockDataID &velocityFieldId)
 
void operator() (IBlock &block)
 
VelocityField_T::value_type getVelocity (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 If you want to write an optimized specialization of an advection diffusion sweep, you probably need direct access to the external velocity. More...
 
template<typename PdfField_T >
real_t operator() (Vector3< real_t > &velocity, const PdfField_T *const field, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 

Private Attributes

ConstBlockDataID velocityFieldId_
 
const VelocityField_T * velocityField_
 

Constructor & Destructor Documentation

◆ AdvectionDiffusionDensityEquilibriumVelocityCalculation()

template<typename VelocityField_T >
walberla::lbm::AdvectionDiffusionDensityEquilibriumVelocityCalculation< VelocityField_T >::AdvectionDiffusionDensityEquilibriumVelocityCalculation ( const ConstBlockDataID velocityFieldId)
inline

Member Function Documentation

◆ getVelocity()

template<typename VelocityField_T >
VelocityField_T::value_type walberla::lbm::AdvectionDiffusionDensityEquilibriumVelocityCalculation< VelocityField_T >::getVelocity ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline

If you want to write an optimized specialization of an advection diffusion sweep, you probably need direct access to the external velocity.

◆ operator()() [1/2]

template<typename VelocityField_T >
void walberla::lbm::AdvectionDiffusionDensityEquilibriumVelocityCalculation< VelocityField_T >::operator() ( IBlock block)
inline

◆ operator()() [2/2]

template<typename VelocityField_T >
template<typename PdfField_T >
real_t walberla::lbm::AdvectionDiffusionDensityEquilibriumVelocityCalculation< VelocityField_T >::operator() ( Vector3< real_t > &  velocity,
const PdfField_T *const  field,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline

Member Data Documentation

◆ velocityField_

template<typename VelocityField_T >
const VelocityField_T* walberla::lbm::AdvectionDiffusionDensityEquilibriumVelocityCalculation< VelocityField_T >::velocityField_
private

◆ velocityFieldId_

template<typename VelocityField_T >
ConstBlockDataID walberla::lbm::AdvectionDiffusionDensityEquilibriumVelocityCalculation< VelocityField_T >::velocityFieldId_
private

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