walberla::lbm::VelocityCallback< VelocityField_T, Enable > Class Template Reference

#include <DensityVelocityCallback.h>

Public Member Functions

 VelocityCallback (const BlockDataID &fieldId)
 
void operator() (IBlock &block)
 
template<typename LatticeModel_T >
void operator() (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const LatticeModel_T &lm, Vector3< real_t > velocity, const real_t rho)
 

Private Attributes

BlockDataID fieldId_
 
VelocityField_T * field_
 

Constructor & Destructor Documentation

◆ VelocityCallback()

template<typename VelocityField_T , typename Enable = void>
walberla::lbm::VelocityCallback< VelocityField_T, Enable >::VelocityCallback ( const BlockDataID fieldId)
inline

Member Function Documentation

◆ operator()() [1/2]

template<typename VelocityField_T , typename Enable = void>
template<typename LatticeModel_T >
void walberla::lbm::VelocityCallback< VelocityField_T, Enable >::operator() ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z,
const LatticeModel_T lm,
Vector3< real_t velocity,
const real_t  rho 
)
inline

◆ operator()() [2/2]

template<typename VelocityField_T , typename Enable = void>
void walberla::lbm::VelocityCallback< VelocityField_T, Enable >::operator() ( IBlock block)
inline

Member Data Documentation

◆ field_

template<typename VelocityField_T , typename Enable = void>
VelocityField_T* walberla::lbm::VelocityCallback< VelocityField_T, Enable >::field_
private

◆ fieldId_

template<typename VelocityField_T , typename Enable = void>
BlockDataID walberla::lbm::VelocityCallback< VelocityField_T, Enable >::fieldId_
private

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