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

#include <SimpleUBB.h>

Inheritance diagram for walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >:

Public Member Functions

 SimpleUBB (const BoundaryUID &boundaryUID, const FlagUID &uid, PDFField *const pdfField, const Vector3< real_t > &velocity)
 SimpleUBB (const BoundaryUID &boundaryUID, const FlagUID &uid, PDFField *const pdfField, const real_t x, const real_t y, const real_t z)
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)
const ForceField::value_typegetForce (const cell_idx_t x, cell_idx_t y, cell_idx_t z) const
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
using ForceField = GhostLayerField<Vector3<real_t>, 1>

Private Attributes

const FlagUID uid_
PDFField *const pdfField_
const Vector3< real_tvelocity_
shared_ptr< ForceFieldforce_

Additional Inherited Members

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

Member Typedef Documentation

◆ ForceField

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
using walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::ForceField = GhostLayerField<Vector3<real_t>, 1>
private

◆ PDFField

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
using walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::PDFField = PdfField<LatticeModel_T>
private

◆ Stencil

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
using walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::Stencil = typename LatticeModel_T::Stencil
private

Constructor & Destructor Documentation

◆ SimpleUBB() [1/2]

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::SimpleUBB ( const BoundaryUID & boundaryUID,
const FlagUID & uid,
PDFField *const pdfField,
const Vector3< real_t > & velocity )
inline

◆ SimpleUBB() [2/2]

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::SimpleUBB ( const BoundaryUID & boundaryUID,
const FlagUID & uid,
PDFField *const pdfField,
const real_t x,
const real_t y,
const real_t z )
inline

Member Function Documentation

◆ afterBoundaryTreatment()

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
void walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::afterBoundaryTreatment ( ) const
inline

◆ beforeBoundaryTreatment()

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
void walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::beforeBoundaryTreatment ( ) const
inline

◆ createConfiguration()

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
shared_ptr< BoundaryConfiguration > walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::createConfiguration ( const Config::BlockHandle & )
inlinestatic

◆ getForce()

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
const ForceField::value_type & walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::getForce ( const cell_idx_t x,
cell_idx_t y,
cell_idx_t z ) const
inline

◆ packCell()

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
template<typename Buffer_T>
void walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::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, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
void walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::pushFlags ( std::vector< FlagUID > & uids) const
inline

◆ registerCell() [1/2]

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
template<typename Buffer_T>
void walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::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, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
void walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::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, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
void walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::registerCells ( const flag_t ,
const CellInterval & ,
const BoundaryConfiguration &  ) const
inline

◆ registerCells() [2/2]

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
template<typename CellIterator>
void walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::registerCells ( const flag_t ,
const CellIterator & ,
const CellIterator & ,
const BoundaryConfiguration &  ) const
inline

◆ treatDirection()

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
void walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::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, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
void walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::unregisterCell ( const flag_t ,
const cell_idx_t ,
const cell_idx_t ,
const cell_idx_t  ) const
inline

Member Data Documentation

◆ force_

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
shared_ptr<ForceField> walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::force_
private

◆ pdfField_

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
PDFField* const walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::pdfField_
private

◆ threadsafe

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
const bool walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::threadsafe = true
static

◆ uid_

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
const FlagUID walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::uid_
private

◆ velocity_

template<typename LatticeModel_T, typename flag_t, bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
const Vector3< real_t > walberla::lbm::SimpleUBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::velocity_
private

The documentation for this class was generated from the following file:
  • /builds/administration/walberla-website/walberla/src/lbm/boundary/SimpleUBB.h