walberla::lbm::DensityVelocityCallback< VelocityField_T, DensityField_T > Class Template Reference

#include <DensityVelocityCallback.h>

Public Member Functions

 DensityVelocityCallback (const BlockDataID &velocityFieldId, const BlockDataID &densityFieldId)
 
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 vId_
 
BlockDataID dId_
 
VelocityField_T * vfield_
 
DensityField_T * dfield_
 

Constructor & Destructor Documentation

◆ DensityVelocityCallback()

template<typename VelocityField_T , typename DensityField_T >
walberla::lbm::DensityVelocityCallback< VelocityField_T, DensityField_T >::DensityVelocityCallback ( const BlockDataID velocityFieldId,
const BlockDataID densityFieldId 
)
inline

Member Function Documentation

◆ operator()() [1/2]

template<typename VelocityField_T , typename DensityField_T >
template<typename LatticeModel_T >
void walberla::lbm::DensityVelocityCallback< VelocityField_T, DensityField_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 , typename DensityField_T >
void walberla::lbm::DensityVelocityCallback< VelocityField_T, DensityField_T >::operator() ( IBlock block)
inline

Member Data Documentation

◆ dfield_

template<typename VelocityField_T , typename DensityField_T >
DensityField_T* walberla::lbm::DensityVelocityCallback< VelocityField_T, DensityField_T >::dfield_
private

◆ dId_

template<typename VelocityField_T , typename DensityField_T >
BlockDataID walberla::lbm::DensityVelocityCallback< VelocityField_T, DensityField_T >::dId_
private

◆ vfield_

template<typename VelocityField_T , typename DensityField_T >
VelocityField_T* walberla::lbm::DensityVelocityCallback< VelocityField_T, DensityField_T >::vfield_
private

◆ vId_

template<typename VelocityField_T , typename DensityField_T >
BlockDataID walberla::lbm::DensityVelocityCallback< VelocityField_T, DensityField_T >::vId_
private

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