walberla::lbm::force_model::EDMField< ForceField_T > Class Template Reference

Detailed Description

template<typename ForceField_T>
class walberla::lbm::force_model::EDMField< ForceField_T >

[17], [18]

#include <ForceModel.h>

Classes

struct  DirectionIndependentTerm
 
struct  DirectionIndependentTerm< LatticeModel_T, typename std::enable_if< LatticeModel_T::compressible >::type >
 
struct  ShiftedVelocity
 
struct  ShiftedVelocity< LatticeModel_T, typename std::enable_if< LatticeModel_T::compressible >::type >
 

Public Types

using tag = EDM_tag
 
using DirectionIndependentTerms_T = real_t
 
using ForceField = ForceField_T
 

Public Member Functions

 EDMField (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 >
real_t directionIndependentTerms (const cell_idx_t, const cell_idx_t, const cell_idx_t, const Vector3< real_t > &, const real_t rho, const real_t, const real_t, 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 rho, const real_t commonTerm, const real_t w, const real_t cx, const real_t cy, const real_t cz, const real_t, const real_t, const real_t) 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 = false
 
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::EDMField< ForceField_T >::DirectionIndependentTerms_T = real_t

◆ ForceField

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

◆ tag

template<typename ForceField_T >
using walberla::lbm::force_model::EDMField< ForceField_T >::tag = EDM_tag

Constructor & Destructor Documentation

◆ EDMField()

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

Member Function Documentation

◆ configure()

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

◆ directionIndependentTerms()

template<typename ForceField_T >
template<typename LatticeModel_T >
real_t walberla::lbm::force_model::EDMField< ForceField_T >::directionIndependentTerms ( const  cell_idx_t,
const  cell_idx_t,
const  cell_idx_t,
const Vector3< real_t > &  ,
const real_t  rho,
const  real_t,
const  real_t,
const  real_t 
) const
inline

◆ forceDensity()

template<typename ForceField_T >
field::VectorFieldAccessor<ForceField_T>::vector_or_constRefVector walberla::lbm::force_model::EDMField< 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::EDMField< 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  rho,
const real_t  commonTerm,
const real_t  w,
const real_t  cx,
const real_t  cy,
const real_t  cz,
const  real_t,
const  real_t,
const  real_t 
) const
inline

◆ pack()

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

◆ setConstantBodyForceIfPossible()

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

◆ unpack()

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

Member Data Documentation

◆ constant

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

◆ forceDensityField_

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

◆ forceDensityFieldId_

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

◆ shiftEquVel

template<typename ForceField_T >
const bool walberla::lbm::force_model::EDMField< ForceField_T >::shiftEquVel = false
static

◆ shiftMacVel

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

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