walberla::lbm::D3Q27< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder > Class Template Reference

#include <D3Q27.h>

+ Inheritance diagram for walberla::lbm::D3Q27< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >:

Public Types

using CollisionModel = typename LatticeModelBase< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::CollisionModel
 
using ForceModel = typename LatticeModelBase< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::ForceModel
 
using Stencil = stencil::D3Q27
 
using CommunicationStencil = stencil::D3Q27
 
- Public Types inherited from walberla::lbm::LatticeModelBase< CollisionModel_T, false, force_model::None, 2 >
using CollisionModel = CollisionModel_T
 
using ForceModel = force_model::None
 

Public Member Functions

 D3Q27 (const CollisionModel_T &cm, const ForceModel_T &fm)
 
 D3Q27 (const CollisionModel_T &cm)
 
 ~D3Q27 () override=default
 
- Public Member Functions inherited from walberla::lbm::LatticeModelBase< CollisionModel_T, false, force_model::None, 2 >
 LatticeModelBase (const CollisionModel_T &cm, const force_model::None &fm)
 
virtual ~LatticeModelBase ()=default
 
virtual void pack (mpi::SendBuffer &buffer) const
 
virtual void unpack (mpi::RecvBuffer &buffer)
 
void configure (IBlock &block, StructuredBlockStorage &sbs)
 
const CollisionModel_T & collisionModel () const
 
CollisionModel_T & collisionModel ()
 
const force_model::NoneforceModel () const
 
force_model::NoneforceModel ()
 

Static Public Attributes

static const char * NAME = "D3Q27"
 
static const real_t w_0 = real_t(8.0) / real_t( 27.0)
 
static const real_t w_1 = real_t(2.0) / real_t( 27.0)
 
static const real_t w_2 = real_t(1.0) / real_t( 54.0)
 
static const real_t w_3 = real_t(1.0) / real_t(216.0)
 
static const real_t w [27]
 
static const real_t wInv [27]
 
- Static Public Attributes inherited from walberla::lbm::LatticeModelBase< CollisionModel_T, false, force_model::None, 2 >
static const bool compressible
 
static const int equilibriumAccuracyOrder
 

Protected Member Functions

void config (IBlock &, StructuredBlockStorage &) override
 

Additional Inherited Members

- Protected Attributes inherited from walberla::lbm::LatticeModelBase< CollisionModel_T, false, force_model::None, 2 >
CollisionModel_T collisionModel_
 
force_model::None forceModel_
 

Member Typedef Documentation

◆ CollisionModel

template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
using walberla::lbm::D3Q27< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::CollisionModel = typename LatticeModelBase<CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder>::CollisionModel

◆ CommunicationStencil

template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
using walberla::lbm::D3Q27< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::CommunicationStencil = stencil::D3Q27

◆ ForceModel

template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
using walberla::lbm::D3Q27< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::ForceModel = typename LatticeModelBase<CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder>::ForceModel

◆ Stencil

template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
using walberla::lbm::D3Q27< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::Stencil = stencil::D3Q27

Constructor & Destructor Documentation

◆ D3Q27() [1/2]

template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
walberla::lbm::D3Q27< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::D3Q27 ( const CollisionModel_T &  cm,
const ForceModel_T &  fm 
)
inline

◆ D3Q27() [2/2]

template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
walberla::lbm::D3Q27< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::D3Q27 ( const CollisionModel_T &  cm)
inline

◆ ~D3Q27()

template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
walberla::lbm::D3Q27< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::~D3Q27 ( )
overridedefault

Member Function Documentation

◆ config()

template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
void walberla::lbm::D3Q27< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::config ( IBlock ,
StructuredBlockStorage  
)
inlineoverrideprotectedvirtual

Member Data Documentation

◆ NAME

template<typename CM , bool C, typename FM , int EAO>
const char * walberla::lbm::D3Q27< CM, C, FM, EAO >::NAME = "D3Q27"
static

◆ w

template<typename CM , bool C, typename FM , int EAO>
const real_t walberla::lbm::D3Q27< CM, C, FM, EAO >::w
static
Initial value:
= { real_t(8.0) / real_t( 27.0),
real_t(2.0) / real_t( 27.0),
real_t(2.0) / real_t( 27.0),
real_t(2.0) / real_t( 27.0),
real_t(2.0) / real_t( 27.0),
real_t(2.0) / real_t( 27.0),
real_t(2.0) / real_t( 27.0),
real_t(1.0) / real_t( 54.0),
real_t(1.0) / real_t( 54.0),
real_t(1.0) / real_t( 54.0),
real_t(1.0) / real_t( 54.0),
real_t(1.0) / real_t( 54.0),
real_t(1.0) / real_t( 54.0),
real_t(1.0) / real_t( 54.0),
real_t(1.0) / real_t( 54.0),
real_t(1.0) / real_t( 54.0),
real_t(1.0) / real_t( 54.0),
real_t(1.0) / real_t( 54.0),
real_t(1.0) / real_t( 54.0),
real_t(1.0) / real_t(216.0),
real_t(1.0) / real_t(216.0),
real_t(1.0) / real_t(216.0),
real_t(1.0) / real_t(216.0),
real_t(1.0) / real_t(216.0),
real_t(1.0) / real_t(216.0),
real_t(1.0) / real_t(216.0),
real_t(1.0) / real_t(216.0) }

◆ w_0

template<typename CM , bool C, typename FM , int EAO>
const real_t walberla::lbm::D3Q27< CM, C, FM, EAO >::w_0 = real_t(8.0) / real_t( 27.0)
static

◆ w_1

template<typename CM , bool C, typename FM , int EAO>
const real_t walberla::lbm::D3Q27< CM, C, FM, EAO >::w_1 = real_t(2.0) / real_t( 27.0)
static

◆ w_2

template<typename CM , bool C, typename FM , int EAO>
const real_t walberla::lbm::D3Q27< CM, C, FM, EAO >::w_2 = real_t(1.0) / real_t( 54.0)
static

◆ w_3

template<typename CM , bool C, typename FM , int EAO>
const real_t walberla::lbm::D3Q27< CM, C, FM, EAO >::w_3 = real_t(1.0) / real_t(216.0)
static

◆ wInv

template<typename CM , bool C, typename FM , int EAO>
const real_t walberla::lbm::D3Q27< CM, C, FM, EAO >::wInv
static
Initial value:
= { real_t(27.0) / real_t( 8.0),
real_t(27.0) / real_t( 2.0),
real_t(27.0) / real_t( 2.0),
real_t(27.0) / real_t( 2.0),
real_t(27.0) / real_t( 2.0),
real_t(27.0) / real_t( 2.0),
real_t(27.0) / real_t( 2.0),
real_t( 54.0),
real_t( 54.0),
real_t( 54.0),
real_t( 54.0),
real_t( 54.0),
real_t( 54.0),
real_t( 54.0),
real_t( 54.0),
real_t( 54.0),
real_t( 54.0),
real_t( 54.0),
real_t( 54.0),
real_t(216.0),
real_t(216.0),
real_t(216.0),
real_t(216.0),
real_t(216.0),
real_t(216.0),
real_t(216.0),
real_t(216.0) }

The documentation for this class was generated from the following file:
float real_t
Definition: DataTypes.h:167