walberla::lbm::internal Namespace Reference

Classes

struct  AdaptVelocityToForce
 
struct  AdaptVelocityToForce< LatticeModel_T, typename std::enable_if< ! LatticeModel_T::compressible &&! LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  AdaptVelocityToForce< LatticeModel_T, typename std::enable_if< ! LatticeModel_T::compressible &&LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  AdaptVelocityToForce< LatticeModel_T, typename std::enable_if< ! LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  AdaptVelocityToForce< LatticeModel_T, typename std::enable_if< LatticeModel_T::compressible &&! LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  AdaptVelocityToForce< LatticeModel_T, typename std::enable_if< LatticeModel_T::compressible &&LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  EquilibriumForceCorrection
 
struct  EquilibriumForceCorrection< LatticeModel_T, typename std::enable_if< ! LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  EquilibriumForceCorrection< LatticeModel_T, typename std::enable_if< ! LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  EquilibriumForceCorrection< LatticeModel_T, typename std::enable_if< LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  MacroscopicForceCorrection
 
struct  MacroscopicForceCorrection< LatticeModel_T, typename std::enable_if< ! LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  MacroscopicForceCorrection< LatticeModel_T, typename std::enable_if< ! LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  MacroscopicForceCorrection< LatticeModel_T, typename std::enable_if< LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel >::type >
 
class  PdfFieldHandling
 
struct  ShearRelaxationParameter
 
struct  ShearRelaxationParameter< CollisionModel_T, typename std::enable_if< std::is_same< typename CollisionModel_T::tag, collision_model::Cumulant_tag >::value >::type >
 
struct  ShearRelaxationParameter< CollisionModel_T, typename std::enable_if< std::is_same< typename CollisionModel_T::tag, collision_model::MRT_tag >::value >::type >
 
struct  ShearRelaxationParameter< CollisionModel_T, typename std::enable_if< std::is_same< typename CollisionModel_T::tag, collision_model::SRT_tag >::value >::type >
 
struct  ShearRelaxationParameter< CollisionModel_T, typename std::enable_if< std::is_same< typename CollisionModel_T::tag, collision_model::TRT_tag >::value >::type >
 
struct  VelocityCallbackCorrection
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< ! LatticeModel_T::compressible &&! LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftEquVel &&! LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< ! LatticeModel_T::compressible &&! LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel &&! LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< ! LatticeModel_T::compressible &&LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftEquVel &&! LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< ! LatticeModel_T::compressible &&LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel &&! LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< ! LatticeModel_T::ForceModel::shiftMacVel &&! LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< LatticeModel_T::compressible &&! LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftEquVel &&! LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< LatticeModel_T::compressible &&! LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel &&! LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< LatticeModel_T::compressible &&LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftEquVel &&! LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< LatticeModel_T::compressible &&LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel &&! LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< LatticeModel_T::ForceModel::shiftMacVel &&LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  VelocityFieldWriterHelper
 
struct  VelocityFieldWriterHelper< PdfField_T, VelocityField_T, Vector3< real_t > >
 

Typedefs

using MarkerField_T = field::Field< uint8_t, 1 >
 

Functions

template<typename LatticeModel_T , typename FieldPtrOrIterator >
real_t getDensityAndMomentumDensity (Vector3< real_t > &momentumDensity, const FieldPtrOrIterator &it)
 
template<typename LatticeModel_T , typename PdfField_T >
real_t getDensityAndMomentumDensity (Vector3< real_t > &momentumDensity, const PdfField_T &pdf, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z)
 
template<typename LatticeModel_T , typename FieldPtrOrIterator >
real_t getDensityAndMomentumDensityD3Q19 (Vector3< real_t > &momentumDensity, const FieldPtrOrIterator &it)
 
template<typename LatticeModel_T , typename PdfField_T >
real_t getDensityAndMomentumDensityD3Q19 (Vector3< real_t > &momentumDensity, const PdfField_T &pdf, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z)
 
template<typename LatticeModel_T , typename FieldPtrOrIterator >
void getMomentumDensity (Vector3< real_t > &momentumDensity, const FieldPtrOrIterator &it)
 
template<typename LatticeModel_T , typename PdfField_T >
void getMomentumDensity (Vector3< real_t > &momentumDensity, const PdfField_T &pdf, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z)
 
template<typename LatticeModel_T , typename FieldPtrOrIterator >
void getMomentumDensityD3Q19 (Vector3< real_t > &momentumDensity, const FieldPtrOrIterator &it)
 
template<typename LatticeModel_T , typename PdfField_T >
void getMomentumDensityD3Q19 (Vector3< real_t > &momentumDensity, const PdfField_T &pdf, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z)
 
template<typename LatticeModel_T , typename FieldPtrOrIterator >
void getPressureTensor (Matrix3< real_t > &pressureTensor, const LatticeModel_T &latticeModel, const FieldPtrOrIterator &it)
 
template<typename LatticeModel_T , typename PdfField_T >
void getPressureTensor (Matrix3< real_t > &pressureTensor, const LatticeModel_T &latticeModel, const PdfField_T &pdf, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z)
 
real_t multiplyVelocityDirection (const real_t cx, const real_t cy, const real_t cz, const Vector3< real_t > &velocity)
 
real_t multiplyVelocityDirection (const stencil::Direction &direction, const Vector3< real_t > &velocity)
 
Vector3< real_tmassEvaluationDomain (const shared_ptr< StructuredBlockStorage > &blocks, const uint_t level)
 

Typedef Documentation

◆ MarkerField_T

Function Documentation

◆ getDensityAndMomentumDensity() [1/2]

template<typename LatticeModel_T , typename FieldPtrOrIterator >
real_t walberla::lbm::internal::getDensityAndMomentumDensity ( Vector3< real_t > &  momentumDensity,
const FieldPtrOrIterator &  it 
)

◆ getDensityAndMomentumDensity() [2/2]

template<typename LatticeModel_T , typename PdfField_T >
real_t walberla::lbm::internal::getDensityAndMomentumDensity ( Vector3< real_t > &  momentumDensity,
const PdfField_T pdf,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
)

◆ getDensityAndMomentumDensityD3Q19() [1/2]

template<typename LatticeModel_T , typename FieldPtrOrIterator >
real_t walberla::lbm::internal::getDensityAndMomentumDensityD3Q19 ( Vector3< real_t > &  momentumDensity,
const FieldPtrOrIterator &  it 
)

◆ getDensityAndMomentumDensityD3Q19() [2/2]

template<typename LatticeModel_T , typename PdfField_T >
real_t walberla::lbm::internal::getDensityAndMomentumDensityD3Q19 ( Vector3< real_t > &  momentumDensity,
const PdfField_T pdf,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
)

◆ getMomentumDensity() [1/2]

template<typename LatticeModel_T , typename FieldPtrOrIterator >
void walberla::lbm::internal::getMomentumDensity ( Vector3< real_t > &  momentumDensity,
const FieldPtrOrIterator &  it 
)

◆ getMomentumDensity() [2/2]

template<typename LatticeModel_T , typename PdfField_T >
void walberla::lbm::internal::getMomentumDensity ( Vector3< real_t > &  momentumDensity,
const PdfField_T pdf,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
)

◆ getMomentumDensityD3Q19() [1/2]

template<typename LatticeModel_T , typename FieldPtrOrIterator >
void walberla::lbm::internal::getMomentumDensityD3Q19 ( Vector3< real_t > &  momentumDensity,
const FieldPtrOrIterator &  it 
)

◆ getMomentumDensityD3Q19() [2/2]

template<typename LatticeModel_T , typename PdfField_T >
void walberla::lbm::internal::getMomentumDensityD3Q19 ( Vector3< real_t > &  momentumDensity,
const PdfField_T pdf,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
)

◆ getPressureTensor() [1/2]

template<typename LatticeModel_T , typename FieldPtrOrIterator >
void walberla::lbm::internal::getPressureTensor ( Matrix3< real_t > &  pressureTensor,
const LatticeModel_T latticeModel,
const FieldPtrOrIterator &  it 
)

◆ getPressureTensor() [2/2]

template<typename LatticeModel_T , typename PdfField_T >
void walberla::lbm::internal::getPressureTensor ( Matrix3< real_t > &  pressureTensor,
const LatticeModel_T latticeModel,
const PdfField_T pdf,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
)

◆ massEvaluationDomain()

Vector3<real_t> walberla::lbm::internal::massEvaluationDomain ( const shared_ptr< StructuredBlockStorage > &  blocks,
const uint_t  level 
)

◆ multiplyVelocityDirection() [1/2]

real_t walberla::lbm::internal::multiplyVelocityDirection ( const real_t  cx,
const real_t  cy,
const real_t  cz,
const Vector3< real_t > &  velocity 
)
inline

◆ multiplyVelocityDirection() [2/2]

real_t walberla::lbm::internal::multiplyVelocityDirection ( const stencil::Direction direction,
const Vector3< real_t > &  velocity 
)
inline