waLBerla 7.3
Loading...
Searching...
No Matches
walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t > Class Template Reference

#include <SimpleVelocityBoundary.h>

Inheritance diagram for walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >:

Public Member Functions

 SimpleVelocityBoundary (const BoundaryUID &boundaryUID, const FlagUID &uid, PDFField *const pdfField, const Vector3< real_t > &velocity, const real_t density=1_r)
 SimpleVelocityBoundary (const BoundaryUID &boundaryUID, const FlagUID &uid, PDFField *const pdfField, const real_t x, const real_t y, const real_t z, const real_t density=1_r)
void pushFlags (std::vector< FlagUID > &uids) const
void beforeBoundaryTreatment () const
void afterBoundaryTreatment () const
template<typename Buffer_T>
void packCell (Buffer_T &, const cell_idx_t, const cell_idx_t, const cell_idx_t) const
template<typename Buffer_T>
void registerCell (Buffer_T &, const flag_t, const cell_idx_t, const cell_idx_t, const cell_idx_t)
void registerCell (const flag_t, const cell_idx_t, const cell_idx_t, const cell_idx_t, const BoundaryConfiguration &)
void registerCells (const flag_t, const CellInterval &, const BoundaryConfiguration &) const
template<typename CellIterator>
void registerCells (const flag_t, const CellIterator &, const CellIterator &, const BoundaryConfiguration &) const
void unregisterCell (const flag_t, const cell_idx_t, const cell_idx_t, const cell_idx_t) const
void treatDirection (const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const stencil::Direction dir, const cell_idx_t nx, const cell_idx_t ny, const cell_idx_t nz, const flag_t mask)
Public Member Functions inherited from walberla::boundary::Boundary< flag_t >
 Boundary (const BoundaryUID &boundaryUID)
void setMask (const flag_t mask)
flag_t getMask () const
const BoundaryUIDgetUID () const

Static Public Member Functions

static shared_ptr< BoundaryConfigurationcreateConfiguration (const Config::BlockHandle &)

Static Public Attributes

static const bool threadsafe = true

Private Types

using PDFField = PdfField<LatticeModel_T>
using Stencil = typename LatticeModel_T::Stencil

Private Attributes

const FlagUID uid_
PDFField *const pdfField_
std::vector< real_tpdfs_

Additional Inherited Members

Protected Attributes inherited from walberla::boundary::Boundary< flag_t >
const BoundaryUID boundaryUID_
flag_t mask_
bool maskSet_ {false}

Member Typedef Documentation

◆ PDFField

template<typename LatticeModel_T, typename flag_t>
using walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::PDFField = PdfField<LatticeModel_T>
private

◆ Stencil

template<typename LatticeModel_T, typename flag_t>
using walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::Stencil = typename LatticeModel_T::Stencil
private

Constructor & Destructor Documentation

◆ SimpleVelocityBoundary() [1/2]

template<typename LatticeModel_T, typename flag_t>
walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::SimpleVelocityBoundary ( const BoundaryUID & boundaryUID,
const FlagUID & uid,
PDFField *const pdfField,
const Vector3< real_t > & velocity,
const real_t density = 1_r )
inline

◆ SimpleVelocityBoundary() [2/2]

template<typename LatticeModel_T, typename flag_t>
walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::SimpleVelocityBoundary ( const BoundaryUID & boundaryUID,
const FlagUID & uid,
PDFField *const pdfField,
const real_t x,
const real_t y,
const real_t z,
const real_t density = 1_r )
inline

Member Function Documentation

◆ afterBoundaryTreatment()

template<typename LatticeModel_T, typename flag_t>
void walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::afterBoundaryTreatment ( ) const
inline

◆ beforeBoundaryTreatment()

template<typename LatticeModel_T, typename flag_t>
void walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::beforeBoundaryTreatment ( ) const
inline

◆ createConfiguration()

template<typename LatticeModel_T, typename flag_t>
shared_ptr< BoundaryConfiguration > walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::createConfiguration ( const Config::BlockHandle & )
inlinestatic

◆ packCell()

template<typename LatticeModel_T, typename flag_t>
template<typename Buffer_T>
void walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::packCell ( Buffer_T & ,
const cell_idx_t ,
const cell_idx_t ,
const cell_idx_t  ) const
inline

◆ pushFlags()

template<typename LatticeModel_T, typename flag_t>
void walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::pushFlags ( std::vector< FlagUID > & uids) const
inline

◆ registerCell() [1/2]

template<typename LatticeModel_T, typename flag_t>
template<typename Buffer_T>
void walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::registerCell ( Buffer_T & ,
const flag_t ,
const cell_idx_t ,
const cell_idx_t ,
const cell_idx_t  )
inline

◆ registerCell() [2/2]

template<typename LatticeModel_T, typename flag_t>
void walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::registerCell ( const flag_t ,
const cell_idx_t ,
const cell_idx_t ,
const cell_idx_t ,
const BoundaryConfiguration &  )
inline

◆ registerCells() [1/2]

template<typename LatticeModel_T, typename flag_t>
void walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::registerCells ( const flag_t ,
const CellInterval & ,
const BoundaryConfiguration &  ) const
inline

◆ registerCells() [2/2]

template<typename LatticeModel_T, typename flag_t>
template<typename CellIterator>
void walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::registerCells ( const flag_t ,
const CellIterator & ,
const CellIterator & ,
const BoundaryConfiguration &  ) const
inline

◆ treatDirection()

template<typename LatticeModel_T, typename flag_t>
void walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::treatDirection ( const cell_idx_t x,
const cell_idx_t y,
const cell_idx_t z,
const stencil::Direction dir,
const cell_idx_t nx,
const cell_idx_t ny,
const cell_idx_t nz,
const flag_t mask )
inline

◆ unregisterCell()

template<typename LatticeModel_T, typename flag_t>
void walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::unregisterCell ( const flag_t ,
const cell_idx_t ,
const cell_idx_t ,
const cell_idx_t  ) const
inline

Member Data Documentation

◆ pdfField_

template<typename LatticeModel_T, typename flag_t>
PDFField* const walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::pdfField_
private

◆ pdfs_

template<typename LatticeModel_T, typename flag_t>
std::vector< real_t > walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::pdfs_
private

◆ threadsafe

template<typename LatticeModel_T, typename flag_t>
const bool walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::threadsafe = true
static

◆ uid_

template<typename LatticeModel_T, typename flag_t>
const FlagUID walberla::lbm::SimpleVelocityBoundary< LatticeModel_T, flag_t >::uid_
private

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