waLBerla 7.2
Loading...
Searching...
No Matches
walberla::lbm::force_model::GuoField< ForceField_T > Class Template Reference

#include <ForceModel.h>

Public Types

using tag = Guo_tag
 
using DirectionIndependentTerms_T = Matrix3<real_t>
 
using ForceField = ForceField_T
 

Public Member Functions

 GuoField (const BlockDataID &forceDensityFieldId)
 
void pack (mpi::SendBuffer &buffer) const
 
void unpack (mpi::RecvBuffer &buffer)
 
void configure (IBlock &block, StructuredBlockStorage &)
 
field::VectorFieldAccessor< ForceField_T >::vector_or_constRefVector forceDensity (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
template<typename LatticeModel_T >
DirectionIndependentTerms_T directionIndependentTerms (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const Vector3< real_t > &velocity, const real_t, const real_t omega, const real_t omega_bulk, const real_t) const
 
template<typename LatticeModel_T >
real_t forceTerm (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const Vector3< real_t > &velocity, const real_t, const DirectionIndependentTerms_T &commonTerms, const real_t w, const real_t cx, const real_t cy, const real_t cz, const real_t omega, const real_t, const real_t omega_odd) const
 
bool setConstantBodyForceIfPossible (const Vector3< real_t > &, const uint_t=uint_t(0))
 

Static Public Attributes

static const bool shiftMacVel = true
 
static const bool shiftEquVel = true
 
static const bool constant = false
 

Private Attributes

BlockDataID forceDensityFieldId_
 
ForceField_T * forceDensityField_
 

Member Typedef Documentation

◆ DirectionIndependentTerms_T

template<typename ForceField_T >
using walberla::lbm::force_model::GuoField< ForceField_T >::DirectionIndependentTerms_T = Matrix3<real_t>

◆ ForceField

template<typename ForceField_T >
using walberla::lbm::force_model::GuoField< ForceField_T >::ForceField = ForceField_T

◆ tag

template<typename ForceField_T >
using walberla::lbm::force_model::GuoField< ForceField_T >::tag = Guo_tag

Constructor & Destructor Documentation

◆ GuoField()

template<typename ForceField_T >
walberla::lbm::force_model::GuoField< ForceField_T >::GuoField ( const BlockDataID & forceDensityFieldId)
inline

Member Function Documentation

◆ configure()

template<typename ForceField_T >
void walberla::lbm::force_model::GuoField< ForceField_T >::configure ( IBlock & block,
StructuredBlockStorage &  )
inline

◆ directionIndependentTerms()

template<typename ForceField_T >
template<typename LatticeModel_T >
DirectionIndependentTerms_T walberla::lbm::force_model::GuoField< ForceField_T >::directionIndependentTerms ( const cell_idx_t x,
const cell_idx_t y,
const cell_idx_t z,
const Vector3< real_t > & velocity,
const real_t ,
const real_t omega,
const real_t omega_bulk,
const real_t  ) const
inline

◆ forceDensity()

template<typename ForceField_T >
field::VectorFieldAccessor< ForceField_T >::vector_or_constRefVector walberla::lbm::force_model::GuoField< ForceField_T >::forceDensity ( const cell_idx_t x,
const cell_idx_t y,
const cell_idx_t z ) const
inline

◆ forceTerm()

template<typename ForceField_T >
template<typename LatticeModel_T >
real_t walberla::lbm::force_model::GuoField< ForceField_T >::forceTerm ( const cell_idx_t x,
const cell_idx_t y,
const cell_idx_t z,
const Vector3< real_t > & velocity,
const real_t ,
const DirectionIndependentTerms_T & commonTerms,
const real_t w,
const real_t cx,
const real_t cy,
const real_t cz,
const real_t omega,
const real_t ,
const real_t omega_odd ) const
inline

◆ pack()

template<typename ForceField_T >
void walberla::lbm::force_model::GuoField< ForceField_T >::pack ( mpi::SendBuffer & buffer) const
inline

◆ setConstantBodyForceIfPossible()

template<typename ForceField_T >
bool walberla::lbm::force_model::GuoField< ForceField_T >::setConstantBodyForceIfPossible ( const Vector3< real_t > & ,
const uint_t = uint_t(0) )
inline

◆ unpack()

template<typename ForceField_T >
void walberla::lbm::force_model::GuoField< ForceField_T >::unpack ( mpi::RecvBuffer & buffer)
inline

Member Data Documentation

◆ constant

template<typename ForceField_T >
const bool walberla::lbm::force_model::GuoField< ForceField_T >::constant = false
static

◆ forceDensityField_

template<typename ForceField_T >
ForceField_T* walberla::lbm::force_model::GuoField< ForceField_T >::forceDensityField_
private

◆ forceDensityFieldId_

template<typename ForceField_T >
BlockDataID walberla::lbm::force_model::GuoField< ForceField_T >::forceDensityFieldId_
private

◆ shiftEquVel

template<typename ForceField_T >
const bool walberla::lbm::force_model::GuoField< ForceField_T >::shiftEquVel = true
static

◆ shiftMacVel

template<typename ForceField_T >
const bool walberla::lbm::force_model::GuoField< ForceField_T >::shiftMacVel = true
static

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