walberla::lbm::DensityCallback< DensityField_T > Class Template Reference

#include <DensityVelocityCallback.h>

Public Member Functions

 DensityCallback (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 &, Vector3< real_t >, const real_t rho)
 

Private Attributes

BlockDataID fieldId_
 
DensityField_T * field_
 

Constructor & Destructor Documentation

◆ DensityCallback()

template<typename DensityField_T >
walberla::lbm::DensityCallback< DensityField_T >::DensityCallback ( const BlockDataID fieldId)
inline

Member Function Documentation

◆ operator()() [1/2]

template<typename DensityField_T >
template<typename LatticeModel_T >
void walberla::lbm::DensityCallback< DensityField_T >::operator() ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z,
const LatticeModel_T ,
Vector3< real_t ,
const real_t  rho 
)
inline

◆ operator()() [2/2]

template<typename DensityField_T >
void walberla::lbm::DensityCallback< DensityField_T >::operator() ( IBlock block)
inline

Member Data Documentation

◆ field_

template<typename DensityField_T >
DensityField_T* walberla::lbm::DensityCallback< DensityField_T >::field_
private

◆ fieldId_

template<typename DensityField_T >
BlockDataID walberla::lbm::DensityCallback< DensityField_T >::fieldId_
private

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