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

Detailed Description

Implementation of LB collision model SRT [4].

#include <CollisionModel.h>

Public Types

typedef SRT_tag 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 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

Constructor & Destructor Documentation

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

Member Function Documentation

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.

uint_t walberla::lbm::collision_model::SRT::level ( ) const
inline
real_t walberla::lbm::collision_model::SRT::omega ( ) const
inline
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
real_t walberla::lbm::collision_model::SRT::omega_bulk ( ) const
inline
void walberla::lbm::collision_model::SRT::pack ( mpi::SendBuffer buffer) const
inline
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".

void walberla::lbm::collision_model::SRT::unpack ( mpi::RecvBuffer buffer)
inline
real_t walberla::lbm::collision_model::SRT::viscosity ( ) const
inline
real_t walberla::lbm::collision_model::SRT::viscosity ( const cell_idx_t  ,
const cell_idx_t  ,
const cell_idx_t   
) const
inline
real_t walberla::lbm::collision_model::SRT::viscosity ( const uint_t  _level) const
inline

Member Data Documentation

const bool walberla::lbm::collision_model::SRT::constant = true
static
uint_t walberla::lbm::collision_model::SRT::level_
private
real_t walberla::lbm::collision_model::SRT::omega_
private
real_t walberla::lbm::collision_model::SRT::viscosity_
private

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