walberla::lbm::PdfField< LatticeModel_T > Class Template Reference

Detailed Description

template<typename LatticeModel_T>
class walberla::lbm::PdfField< LatticeModel_T >

Specialized field class for PDF fields (fields containing multiple particle distribution functions per cell)

In addition to a generic GhostLayerField, each PdfField contains a lattice model which - among other things - determines how macroscopic values like density and velocity have to be calculated. For this purpose, a set of member functions exist that can be used to set single cells (or the whole field) to equilibrium or to evaluate the density and/or velocity for specific positions. If you happen to have an iterator to a PdfField, you should use the free functions located in "MacroscopicValueCalculation.h" - you do not have to convert your iterator into x-, y-, and z-coordinates! Also, particle distribution functions (i.e., the values stored in the field) can be accessed using stencil directions, e.g. "pdfField( x, y, z, stencil::NE )".

Note that the behavior is different for compressible and incompressible lattice models. In the compressible case, the behavior and formulas are as expected from common LBM literature and the density is taken as the 0-th order moment of the PDFs and this value is used. In order to make LBM quasi-incompressible, it was suggested, e.g. in Q. Zou, S. Hou, S. Chen, G.D. Doolen, J. Stat. Phys. 81(1–2), 35 (1995) X. He, L.S. Luo, J. Stat. Phys. 88(3–4), 927 (1997) that the density is implicitly assumed to have a constant value of 1 in many cases (e.g. in getVelocity()), and only the deviation from this value enters some of the formulas, like the equilibrium distribution functions. Additionally, the PDFs are normalized around 0 in the incompressible case to increase the numerical accuracy, i.e. only the deviation of the PDF values from their respective lattice weight is stored. As a result, manually summing of the PDF values will yield the density deviation in this case. But the getDensity() function reverts this normalization (by adding 1) and will yield the physical density. This normalization, however, usually doesn't affect the implementation of functions like LBM sweeps.

#include <PdfField.h>

+ Inheritance diagram for walberla::lbm::PdfField< LatticeModel_T >:

Public Types

Type Definitions
typedef LatticeModel_T LatticeModel
 
typedef LatticeModel_T::Stencil Stencil
 
typedef GhostLayerField< real_t, Stencil::Size >::value_type value_type
 
typedef GhostLayerField< real_t, Stencil::Size >::iterator iterator
 
typedef GhostLayerField< real_t, Stencil::Size >::const_iterator const_iterator
 
typedef GhostLayerField< real_t, Stencil::Size >::reverse_iterator reverse_iterator
 
typedef GhostLayerField< real_t, Stencil::Size >::const_reverse_iterator const_reverse_iterator
 
typedef GhostLayerField< real_t, Stencil::Size >::base_iterator base_iterator
 
typedef GhostLayerField< real_t, Stencil::Size >::const_base_iterator const_base_iterator
 
typedef GhostLayerField< real_t, Stencil::Size >::Ptr Ptr
 
typedef GhostLayerField< real_t, Stencil::Size >::ConstPtr ConstPtr
 

Public Member Functions

 PdfField (const uint_t _xSize, const uint_t _ySize, const uint_t _zSize, const LatticeModel_T &_latticeModel, const bool initialize=true, const Vector3< real_t > &initialVelocity=Vector3< real_t >(real_t(0.0)), const real_t initialDensity=real_t(1.0), const uint_t ghostLayers=uint_t(1), const field::Layout &_layout=field::zyxf, const shared_ptr< field::FieldAllocator< real_t > > &alloc=shared_ptr< field::FieldAllocator< real_t > >())
 
virtual ~PdfField ()
 
PdfFieldclone () const
 
PdfFieldcloneUninitialized () const
 
PdfFieldcloneShallowCopy () const
 
const LatticeModel_TlatticeModel () const
 
LatticeModel_TlatticeModel ()
 
void resetLatticeModel (const LatticeModel_T &lm)
 
real_tget (cell_idx_t x, cell_idx_t y, cell_idx_t z, stencil::Direction d)
 
const real_tget (cell_idx_t x, cell_idx_t y, cell_idx_t z, stencil::Direction d) const
 
real_tget (const Cell &c, stencil::Direction d)
 
const real_tget (const Cell &c, stencil::Direction d) const
 
real_toperator() (cell_idx_t x, cell_idx_t y, cell_idx_t z, stencil::Direction d)
 
const real_toperator() (cell_idx_t x, cell_idx_t y, cell_idx_t z, stencil::Direction d) const
 
real_toperator() (const Cell &c, stencil::Direction d)
 
const real_toperator() (const Cell &c, stencil::Direction d) const
 
void setDensityAndVelocity (const Vector3< real_t > &velocity=Vector3< real_t >(real_t(0.0)), const real_t rho=real_t(1.0))
 
void setDensityAndVelocity (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const Vector3< real_t > &velocity=Vector3< real_t >(real_t(0.0)), const real_t rho=real_t(1.0))
 
void setDensityAndVelocity (const Cell &cell, const Vector3< real_t > &velocity=Vector3< real_t >(real_t(0.0)), const real_t rho=real_t(1.0))
 
void setToEquilibrium (const Vector3< real_t > &velocity=Vector3< real_t >(real_t(0.0)), const real_t rho=real_t(1.0))
 
void setToEquilibrium (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const Vector3< real_t > &velocity=Vector3< real_t >(real_t(0.0)), const real_t rho=real_t(1.0))
 
void setToEquilibrium (const Cell &cell, const Vector3< real_t > &velocity=Vector3< real_t >(real_t(0.0)), const real_t rho=real_t(1.0))
 
real_t getDensity (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
real_t getDensity (const Cell &cell) const
 
real_t getDensitySI (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const real_t rho_SI) const
 
real_t getDensitySI (const Cell &cell, const real_t rho_SI) const
 
Vector3< real_tgetMomentumDensity (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
Vector3< real_tgetMomentumDensity (const Cell &cell) const
 
void getMomentumDensity (Vector3< real_t > &momentumDensity, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
void getMomentumDensity (Vector3< real_t > &momentumDensity, const Cell &cell) const
 
Vector3< real_tgetEquilibriumMomentumDensity (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
Vector3< real_tgetEquilibriumMomentumDensity (const Cell &cell) const
 
void getEquilibriumMomentumDensity (Vector3< real_t > &momentumDensity, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
void getEquilibriumMomentumDensity (Vector3< real_t > &momentumDensity, const Cell &cell) const
 
Vector3< real_tgetVelocity (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
Vector3< real_tgetVelocity (const Cell &cell) const
 
void getVelocity (Vector3< real_t > &velocity, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
void getVelocity (Vector3< real_t > &velocity, const Cell &cell) const
 
Vector3< real_tgetEquilibriumVelocity (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
Vector3< real_tgetEquilibriumVelocity (const Cell &cell) const
 
void getEquilibriumVelocity (Vector3< real_t > &velocity, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
void getEquilibriumVelocity (Vector3< real_t > &velocity, const Cell &cell) const
 
Vector3< real_tgetVelocitySI (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const real_t dx_SI, const real_t dt_SI) const
 
Vector3< real_tgetVelocitySI (const Cell &cell, const real_t dx_SI, const real_t dt_SI) const
 
void getVelocitySI (Vector3< real_t > &velocity, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const real_t dx_SI, const real_t dt_SI) const
 
void getVelocitySI (Vector3< real_t > &velocity, const Cell &cell, const real_t dx_SI, const real_t dt_SI) const
 
Vector3< real_tgetVelocitySI (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const real_t dxDividedByDt_SI) const
 
Vector3< real_tgetVelocitySI (const Cell &cell, const real_t dxDividedByDt_SI) const
 
void getVelocitySI (Vector3< real_t > &velocity, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const real_t dxDividedByDt_SI) const
 
void getVelocitySI (Vector3< real_t > &velocity, const Cell &cell, const real_t dxDividedByDt_SI) const
 
real_t getDensityAndMomentumDensity (Vector3< real_t > &momentumDensity, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
real_t getDensityAndMomentumDensity (Vector3< real_t > &momentumDensity, const Cell &cell) const
 
real_t getDensityAndEquilibriumMomentumDensity (Vector3< real_t > &momentumDensity, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
real_t getDensityAndEquilibriumMomentumDensity (Vector3< real_t > &momentumDensity, const Cell &cell) const
 
real_t getDensityAndVelocity (Vector3< real_t > &velocity, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
real_t getDensityAndVelocity (Vector3< real_t > &velocity, const Cell &cell) const
 
real_t getDensityAndEquilibriumVelocity (Vector3< real_t > &velocity, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
real_t getDensityAndEquilibriumVelocity (Vector3< real_t > &velocity, const Cell &cell) const
 
real_t getDensityAndVelocitySI (Vector3< real_t > &velocity, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const real_t rho_SI, const real_t dx_SI, const real_t dt_SI) const
 
real_t getDensityAndVelocitySI (Vector3< real_t > &velocity, const Cell &cell, const real_t rho_SI, const real_t dx_SI, const real_t dt_SI) const
 
real_t getDensityAndVelocitySI (Vector3< real_t > &velocity, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const real_t rho_SI, const real_t dxDividedByDt_SI) const
 
real_t getDensityAndVelocitySI (Vector3< real_t > &velocity, const Cell &cell, const real_t rho_SI, const real_t dxDividedByDt_SI) const
 
real_t getShearRate (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
real_t getShearRate (const Cell &cell) const
 
Matrix3< real_tgetPressureTensor (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
Matrix3< real_tgetPressureTensor (const Cell &cell) const
 
void getPressureTensor (Matrix3< real_t > &pressureTensor, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
void getPressureTensor (Matrix3< real_t > &pressureTensor, const Cell &cell) const
 

Protected Member Functions

Shallow Copy
 PdfField (const PdfField< LatticeModel_T > &other)
 
Field< real_t, Stencil::Size > * cloneShallowCopyInternal () const
 

Protected Attributes

LatticeModel_T latticeModel_
 

Member Typedef Documentation

template<typename LatticeModel_T >
typedef GhostLayerField< real_t, Stencil::Size >::base_iterator walberla::lbm::PdfField< LatticeModel_T >::base_iterator
template<typename LatticeModel_T >
typedef GhostLayerField< real_t, Stencil::Size >::const_base_iterator walberla::lbm::PdfField< LatticeModel_T >::const_base_iterator
template<typename LatticeModel_T >
typedef GhostLayerField< real_t, Stencil::Size >::const_iterator walberla::lbm::PdfField< LatticeModel_T >::const_iterator
template<typename LatticeModel_T >
typedef GhostLayerField< real_t, Stencil::Size >::const_reverse_iterator walberla::lbm::PdfField< LatticeModel_T >::const_reverse_iterator
template<typename LatticeModel_T >
typedef GhostLayerField< real_t, Stencil::Size >::ConstPtr walberla::lbm::PdfField< LatticeModel_T >::ConstPtr
template<typename LatticeModel_T >
typedef GhostLayerField< real_t, Stencil::Size >::iterator walberla::lbm::PdfField< LatticeModel_T >::iterator
template<typename LatticeModel_T >
typedef LatticeModel_T walberla::lbm::PdfField< LatticeModel_T >::LatticeModel
template<typename LatticeModel_T >
typedef GhostLayerField< real_t, Stencil::Size >::Ptr walberla::lbm::PdfField< LatticeModel_T >::Ptr
template<typename LatticeModel_T >
typedef GhostLayerField< real_t, Stencil::Size >::reverse_iterator walberla::lbm::PdfField< LatticeModel_T >::reverse_iterator
template<typename LatticeModel_T >
typedef LatticeModel_T::Stencil walberla::lbm::PdfField< LatticeModel_T >::Stencil
template<typename LatticeModel_T >
typedef GhostLayerField< real_t, Stencil::Size >::value_type walberla::lbm::PdfField< LatticeModel_T >::value_type

Constructor & Destructor Documentation

template<typename LatticeModel_T >
walberla::lbm::PdfField< LatticeModel_T >::PdfField ( const uint_t  _xSize,
const uint_t  _ySize,
const uint_t  _zSize,
const LatticeModel_T _latticeModel,
const bool  initialize = true,
const Vector3< real_t > &  initialVelocity = Vector3< real_t >( real_t(0.0) ),
const real_t  initialDensity = real_t(1.0),
const uint_t  ghostLayers = uint_t(1),
const field::Layout _layout = field::zyxf,
const shared_ptr< field::FieldAllocator< real_t > > &  alloc = shared_ptr< field::FieldAllocator<real_t> >() 
)
template<typename LatticeModel_T >
virtual walberla::lbm::PdfField< LatticeModel_T >::~PdfField ( )
inlinevirtual
template<typename LatticeModel_T >
walberla::lbm::PdfField< LatticeModel_T >::PdfField ( const PdfField< LatticeModel_T > &  other)
inlineprotected

Member Function Documentation

template<typename LatticeModel_T >
PdfField< LatticeModel_T > * walberla::lbm::PdfField< LatticeModel_T >::clone ( ) const
inline
template<typename LatticeModel_T >
PdfField< LatticeModel_T > * walberla::lbm::PdfField< LatticeModel_T >::cloneShallowCopy ( ) const
inline
template<typename LatticeModel_T >
Field< real_t, Stencil::Size >* walberla::lbm::PdfField< LatticeModel_T >::cloneShallowCopyInternal ( ) const
inlineprotected
template<typename LatticeModel_T >
PdfField< LatticeModel_T > * walberla::lbm::PdfField< LatticeModel_T >::cloneUninitialized ( ) const
inline
template<typename LatticeModel_T >
real_t& walberla::lbm::PdfField< LatticeModel_T >::get ( cell_idx_t  x,
cell_idx_t  y,
cell_idx_t  z,
stencil::Direction  d 
)
inline
template<typename LatticeModel_T >
const real_t& walberla::lbm::PdfField< LatticeModel_T >::get ( cell_idx_t  x,
cell_idx_t  y,
cell_idx_t  z,
stencil::Direction  d 
) const
inline
template<typename LatticeModel_T >
real_t& walberla::lbm::PdfField< LatticeModel_T >::get ( const Cell &  c,
stencil::Direction  d 
)
inline
template<typename LatticeModel_T >
const real_t& walberla::lbm::PdfField< LatticeModel_T >::get ( const Cell &  c,
stencil::Direction  d 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensity ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensity ( const Cell &  cell) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensityAndEquilibriumMomentumDensity ( Vector3< real_t > &  momentumDensity,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensityAndEquilibriumMomentumDensity ( Vector3< real_t > &  momentumDensity,
const Cell &  cell 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensityAndEquilibriumVelocity ( Vector3< real_t > &  velocity,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensityAndEquilibriumVelocity ( Vector3< real_t > &  velocity,
const Cell &  cell 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensityAndMomentumDensity ( Vector3< real_t > &  momentumDensity,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensityAndMomentumDensity ( Vector3< real_t > &  momentumDensity,
const Cell &  cell 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensityAndVelocity ( Vector3< real_t > &  velocity,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensityAndVelocity ( Vector3< real_t > &  velocity,
const Cell &  cell 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensityAndVelocitySI ( Vector3< real_t > &  velocity,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z,
const real_t  rho_SI,
const real_t  dx_SI,
const real_t  dt_SI 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensityAndVelocitySI ( Vector3< real_t > &  velocity,
const Cell &  cell,
const real_t  rho_SI,
const real_t  dx_SI,
const real_t  dt_SI 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensityAndVelocitySI ( Vector3< real_t > &  velocity,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z,
const real_t  rho_SI,
const real_t  dxDividedByDt_SI 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensityAndVelocitySI ( Vector3< real_t > &  velocity,
const Cell &  cell,
const real_t  rho_SI,
const real_t  dxDividedByDt_SI 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensitySI ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z,
const real_t  rho_SI 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getDensitySI ( const Cell &  cell,
const real_t  rho_SI 
) const
inline
template<typename LatticeModel_T >
Vector3< real_t > walberla::lbm::PdfField< LatticeModel_T >::getEquilibriumMomentumDensity ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
Vector3< real_t > walberla::lbm::PdfField< LatticeModel_T >::getEquilibriumMomentumDensity ( const Cell &  cell) const
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::getEquilibriumMomentumDensity ( Vector3< real_t > &  momentumDensity,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::getEquilibriumMomentumDensity ( Vector3< real_t > &  momentumDensity,
const Cell &  cell 
) const
inline
template<typename LatticeModel_T >
Vector3< real_t > walberla::lbm::PdfField< LatticeModel_T >::getEquilibriumVelocity ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
Vector3< real_t > walberla::lbm::PdfField< LatticeModel_T >::getEquilibriumVelocity ( const Cell &  cell) const
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::getEquilibriumVelocity ( Vector3< real_t > &  velocity,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::getEquilibriumVelocity ( Vector3< real_t > &  velocity,
const Cell &  cell 
) const
inline
template<typename LatticeModel_T >
Vector3< real_t > walberla::lbm::PdfField< LatticeModel_T >::getMomentumDensity ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
Vector3< real_t > walberla::lbm::PdfField< LatticeModel_T >::getMomentumDensity ( const Cell &  cell) const
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::getMomentumDensity ( Vector3< real_t > &  momentumDensity,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::getMomentumDensity ( Vector3< real_t > &  momentumDensity,
const Cell &  cell 
) const
inline
template<typename LatticeModel_T >
Matrix3< real_t > walberla::lbm::PdfField< LatticeModel_T >::getPressureTensor ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
Matrix3< real_t > walberla::lbm::PdfField< LatticeModel_T >::getPressureTensor ( const Cell &  cell) const
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::getPressureTensor ( Matrix3< real_t > &  pressureTensor,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::getPressureTensor ( Matrix3< real_t > &  pressureTensor,
const Cell &  cell 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getShearRate ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
real_t walberla::lbm::PdfField< LatticeModel_T >::getShearRate ( const Cell &  cell) const
inline
template<typename LatticeModel_T >
Vector3< real_t > walberla::lbm::PdfField< LatticeModel_T >::getVelocity ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
Vector3< real_t > walberla::lbm::PdfField< LatticeModel_T >::getVelocity ( const Cell &  cell) const
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::getVelocity ( Vector3< real_t > &  velocity,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::getVelocity ( Vector3< real_t > &  velocity,
const Cell &  cell 
) const
inline
template<typename LatticeModel_T >
Vector3< real_t > walberla::lbm::PdfField< LatticeModel_T >::getVelocitySI ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z,
const real_t  dx_SI,
const real_t  dt_SI 
) const
inline
template<typename LatticeModel_T >
Vector3< real_t > walberla::lbm::PdfField< LatticeModel_T >::getVelocitySI ( const Cell &  cell,
const real_t  dx_SI,
const real_t  dt_SI 
) const
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::getVelocitySI ( Vector3< real_t > &  velocity,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z,
const real_t  dx_SI,
const real_t  dt_SI 
) const
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::getVelocitySI ( Vector3< real_t > &  velocity,
const Cell &  cell,
const real_t  dx_SI,
const real_t  dt_SI 
) const
inline
template<typename LatticeModel_T >
Vector3< real_t > walberla::lbm::PdfField< LatticeModel_T >::getVelocitySI ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z,
const real_t  dxDividedByDt_SI 
) const
inline
template<typename LatticeModel_T >
Vector3< real_t > walberla::lbm::PdfField< LatticeModel_T >::getVelocitySI ( const Cell &  cell,
const real_t  dxDividedByDt_SI 
) const
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::getVelocitySI ( Vector3< real_t > &  velocity,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z,
const real_t  dxDividedByDt_SI 
) const
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::getVelocitySI ( Vector3< real_t > &  velocity,
const Cell &  cell,
const real_t  dxDividedByDt_SI 
) const
inline
template<typename LatticeModel_T >
const LatticeModel_T& walberla::lbm::PdfField< LatticeModel_T >::latticeModel ( ) const
inline
template<typename LatticeModel_T >
LatticeModel_T& walberla::lbm::PdfField< LatticeModel_T >::latticeModel ( )
inline
template<typename LatticeModel_T >
real_t& walberla::lbm::PdfField< LatticeModel_T >::operator() ( cell_idx_t  x,
cell_idx_t  y,
cell_idx_t  z,
stencil::Direction  d 
)
inline
template<typename LatticeModel_T >
const real_t& walberla::lbm::PdfField< LatticeModel_T >::operator() ( cell_idx_t  x,
cell_idx_t  y,
cell_idx_t  z,
stencil::Direction  d 
) const
inline
template<typename LatticeModel_T >
real_t& walberla::lbm::PdfField< LatticeModel_T >::operator() ( const Cell &  c,
stencil::Direction  d 
)
inline
template<typename LatticeModel_T >
const real_t& walberla::lbm::PdfField< LatticeModel_T >::operator() ( const Cell &  c,
stencil::Direction  d 
) const
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::resetLatticeModel ( const LatticeModel_T lm)
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::setDensityAndVelocity ( const Vector3< real_t > &  velocity = Vector3< real_t >( real_t(0.0) ),
const real_t  rho = real_t(1.0) 
)
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::setDensityAndVelocity ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z,
const Vector3< real_t > &  velocity = Vector3< real_t >( real_t(0.0) ),
const real_t  rho = real_t(1.0) 
)
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::setDensityAndVelocity ( const Cell &  cell,
const Vector3< real_t > &  velocity = Vector3< real_t >( real_t(0.0) ),
const real_t  rho = real_t(1.0) 
)
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::setToEquilibrium ( const Vector3< real_t > &  velocity = Vector3< real_t >( real_t(0.0) ),
const real_t  rho = real_t(1.0) 
)
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::setToEquilibrium ( const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z,
const Vector3< real_t > &  velocity = Vector3< real_t >( real_t(0.0) ),
const real_t  rho = real_t(1.0) 
)
inline
template<typename LatticeModel_T >
void walberla::lbm::PdfField< LatticeModel_T >::setToEquilibrium ( const Cell &  cell,
const Vector3< real_t > &  velocity = Vector3< real_t >( real_t(0.0) ),
const real_t  rho = real_t(1.0) 
)
inline

Member Data Documentation

template<typename LatticeModel_T >
LatticeModel_T walberla::lbm::PdfField< LatticeModel_T >::latticeModel_
protected

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