walberla::lbm::collision_model::SRT Class Reference

Detailed Description

Implementation of LB collision model SRT [7].

#include <CollisionModel.h>

Public Types

using tag = SRT_tag
 

Public Member Functions

 SRT (const real_t _omega, const uint_t _level=uint_t(0))
 
void pack (mpi::SendBuffer &buffer) const
 
void unpack (mpi::RecvBuffer &buffer)
 
void configure (IBlock &block, StructuredBlockStorage &sbs)
 Omega is adapted to the "right", level-dependent omega once "configure" is called. More...
 
void reset (const real_t _omega, const uint_t _omega_level=uint_t(0))
 Only call this function if you know what you're doing (changes the viscosity!) "_omega_level" is the level that corresponds to "_omega". More...
 
real_t omega () const
 
real_t omega_bulk () const
 
real_t omega_odd () const
 
real_t viscosity () const
 
real_t omega (const cell_idx_t, const cell_idx_t, const cell_idx_t, const Vector3< real_t > &=Vector3< real_t >(), const real_t=real_t(1)) const
 
real_t viscosity (const cell_idx_t, const cell_idx_t, const cell_idx_t) const
 
real_t viscosity (const uint_t _level) const
 
uint_t level () const
 

Static Public Attributes

static const bool constant = true
 

Private Attributes

real_t omega_
 
real_t viscosity_
 
uint_t level_
 

Member Typedef Documentation

◆ tag

Constructor & Destructor Documentation

◆ SRT()

walberla::lbm::collision_model::SRT::SRT ( const real_t  _omega,
const uint_t  _level = uint_t(0) 
)
inline

Member Function Documentation

◆ configure()

void walberla::lbm::collision_model::SRT::configure ( IBlock block,
StructuredBlockStorage sbs 
)
inline

Omega is adapted to the "right", level-dependent omega once "configure" is called.

◆ level()

uint_t walberla::lbm::collision_model::SRT::level ( ) const
inline

◆ omega() [1/2]

real_t walberla::lbm::collision_model::SRT::omega ( ) const
inline

◆ omega() [2/2]

real_t walberla::lbm::collision_model::SRT::omega ( const  cell_idx_t,
const  cell_idx_t,
const  cell_idx_t,
const Vector3< real_t > &  = Vector3<real_t>(),
const  real_t = real_t(1) 
) const
inline

◆ omega_bulk()

real_t walberla::lbm::collision_model::SRT::omega_bulk ( ) const
inline

◆ omega_odd()

real_t walberla::lbm::collision_model::SRT::omega_odd ( ) const
inline

◆ pack()

void walberla::lbm::collision_model::SRT::pack ( mpi::SendBuffer buffer) const
inline

◆ reset()

void walberla::lbm::collision_model::SRT::reset ( const real_t  _omega,
const uint_t  _omega_level = uint_t(0) 
)
inline

Only call this function if you know what you're doing (changes the viscosity!) "_omega_level" is the level that corresponds to "_omega".

◆ unpack()

void walberla::lbm::collision_model::SRT::unpack ( mpi::RecvBuffer buffer)
inline

◆ viscosity() [1/3]

real_t walberla::lbm::collision_model::SRT::viscosity ( ) const
inline

◆ viscosity() [2/3]

real_t walberla::lbm::collision_model::SRT::viscosity ( const  cell_idx_t,
const  cell_idx_t,
const  cell_idx_t 
) const
inline

◆ viscosity() [3/3]

real_t walberla::lbm::collision_model::SRT::viscosity ( const uint_t  _level) const
inline

Member Data Documentation

◆ constant

const bool walberla::lbm::collision_model::SRT::constant = true
static

◆ level_

uint_t walberla::lbm::collision_model::SRT::level_
private

◆ omega_

real_t walberla::lbm::collision_model::SRT::omega_
private

◆ viscosity_

real_t walberla::lbm::collision_model::SRT::viscosity_
private

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