waLBerla 7.2
Loading...
Searching...
No Matches
walberla::lbm::VelocityCallback< VelocityField_T > 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 >
walberla::lbm::VelocityCallback< VelocityField_T >::VelocityCallback ( const BlockDataID & fieldId)
inline

Member Function Documentation

◆ operator()() [1/2]

template<typename VelocityField_T >
template<typename LatticeModel_T >
void walberla::lbm::VelocityCallback< VelocityField_T >::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 >
void walberla::lbm::VelocityCallback< VelocityField_T >::operator() ( IBlock & block)
inline

Member Data Documentation

◆ field_

template<typename VelocityField_T >
VelocityField_T* walberla::lbm::VelocityCallback< VelocityField_T >::field_
private

◆ fieldId_

template<typename VelocityField_T >
BlockDataID walberla::lbm::VelocityCallback< VelocityField_T >::fieldId_
private

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