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

typedef LatticeModelBase< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::CollisionModel CollisionModel
 
typedef LatticeModelBase< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::ForceModel ForceModel
 
typedef stencil::D3Q27 Stencil
 
typedef stencil::D3Q27 CommunicationStencil
 
- Public Types inherited from walberla::lbm::LatticeModelBase< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >
typedef CollisionModel_T CollisionModel
 
typedef ForceModel_T ForceModel
 

Public Member Functions

 D3Q27 (const CollisionModel_T &cm, const ForceModel_T &fm)
 
 D3Q27 (const CollisionModel_T &cm)
 
virtual ~D3Q27 ()
 
- Public Member Functions inherited from walberla::lbm::LatticeModelBase< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >
 LatticeModelBase (const CollisionModel_T &cm, const ForceModel_T &fm)
 
virtual ~LatticeModelBase ()
 
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 ForceModel_T & forceModel () const
 
ForceModel_T & forceModel ()
 

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, Compressible, ForceModel_T, EquilibriumAccuracyOrder >
static const bool compressible = Compressible
 
static const int equilibriumAccuracyOrder = EquilibriumAccuracyOrder
 

Protected Member Functions

virtual void config (IBlock &, StructuredBlockStorage &)
 

Additional Inherited Members

- Protected Attributes inherited from walberla::lbm::LatticeModelBase< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >
CollisionModel_T collisionModel_
 
ForceModel_T forceModel_
 

Member Typedef Documentation

template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
typedef LatticeModelBase< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::CollisionModel walberla::lbm::D3Q27< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::CollisionModel
template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
typedef stencil::D3Q27 walberla::lbm::D3Q27< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::CommunicationStencil
template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
typedef LatticeModelBase< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::ForceModel walberla::lbm::D3Q27< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::ForceModel
template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
typedef stencil::D3Q27 walberla::lbm::D3Q27< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::Stencil

Constructor & Destructor Documentation

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
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
template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
virtual walberla::lbm::D3Q27< CollisionModel_T, Compressible, ForceModel_T, EquilibriumAccuracyOrder >::~D3Q27 ( )
inlinevirtual

Member Function Documentation

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

Member Data Documentation

template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
const char * walberla::lbm::D3Q27< CM, C, FM, EAO >::NAME = "D3Q27"
static
template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
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) }
template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
const real_t walberla::lbm::D3Q27< CM, C, FM, EAO >::w_0 = real_t(8.0) / real_t( 27.0)
static
template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
const real_t walberla::lbm::D3Q27< CM, C, FM, EAO >::w_1 = real_t(2.0) / real_t( 27.0)
static
template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
const real_t walberla::lbm::D3Q27< CM, C, FM, EAO >::w_2 = real_t(1.0) / real_t( 54.0)
static
template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
const real_t walberla::lbm::D3Q27< CM, C, FM, EAO >::w_3 = real_t(1.0) / real_t(216.0)
static
template<typename CollisionModel_T , bool Compressible = false, typename ForceModel_T = force_model::None, int EquilibriumAccuracyOrder = 2>
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: