walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T > Class Template Reference

#include <SimplePressureWithFreeSurface.h>

+ Inheritance diagram for walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >:

Public Member Functions

 SimplePressureWithFreeSurface (const BoundaryUID &boundaryUID, const FlagUID &uid, IBlock *block, PdfField_T *const pdfField, FlagField_T *flagField, flag_t interfaceFlag, const real_t latticeDensity)
 
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 setLatticeDensity (real_t newLatticeDensity)
 
void setBubbleModel (BubbleModelBase *bubbleModel)
 
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< FlagField_T::flag_t >
 Boundary (const BoundaryUID &boundaryUID)
 
void setMask (const FlagField_T::flag_t mask)
 
FlagField_T::flag_t getMask () const
 
const BoundaryUIDgetUID () const
 

Static Public Member Functions

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

Static Public Attributes

static const bool threadsafe = true
 

Protected Attributes

FlagUID uid_
 
IBlockblock_
 
PdfField_Tpdfs_
 
FlagField_TflagField_
 
flag_t interfaceFlag_
 
BubbleModelBasebubbleModel_
 
real_t latticeDensity_
 
- Protected Attributes inherited from walberla::boundary::Boundary< FlagField_T::flag_t >
const BoundaryUID boundaryUID_
 
FlagField_T::flag_t mask_
 
bool maskSet_
 

Private Types

using PdfField_T = lbm::PdfField< LatticeModel_T >
 
using Stencil_T = typename LatticeModel_T::Stencil
 
using flag_t = typename FlagField_T::flag_t
 

Member Typedef Documentation

◆ flag_t

template<typename LatticeModel_T , typename FlagField_T >
using walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::flag_t = typename FlagField_T::flag_t
private

◆ PdfField_T

template<typename LatticeModel_T , typename FlagField_T >
using walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::PdfField_T = lbm::PdfField< LatticeModel_T >
private

◆ Stencil_T

template<typename LatticeModel_T , typename FlagField_T >
using walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::Stencil_T = typename LatticeModel_T::Stencil
private

Constructor & Destructor Documentation

◆ SimplePressureWithFreeSurface()

template<typename LatticeModel_T , typename FlagField_T >
walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::SimplePressureWithFreeSurface ( const BoundaryUID &  boundaryUID,
const FlagUID &  uid,
IBlock block,
PdfField_T *const  pdfField,
FlagField_T flagField,
flag_t  interfaceFlag,
const real_t  latticeDensity 
)
inline

Member Function Documentation

◆ afterBoundaryTreatment()

template<typename LatticeModel_T , typename FlagField_T >
void walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::afterBoundaryTreatment ( ) const
inline

◆ beforeBoundaryTreatment()

template<typename LatticeModel_T , typename FlagField_T >
void walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::beforeBoundaryTreatment ( ) const
inline

◆ createConfiguration()

template<typename LatticeModel_T , typename FlagField_T >
static std::shared_ptr< BoundaryConfiguration > walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::createConfiguration ( const Config::BlockHandle )
inlinestatic

◆ packCell()

template<typename LatticeModel_T , typename FlagField_T >
template<typename Buffer_T >
void walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::packCell ( Buffer_T &  ,
const  cell_idx_t,
const  cell_idx_t,
const  cell_idx_t 
) const
inline

◆ pushFlags()

template<typename LatticeModel_T , typename FlagField_T >
void walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::pushFlags ( std::vector< FlagUID > &  uids) const
inline

◆ registerCell() [1/2]

template<typename LatticeModel_T , typename FlagField_T >
template<typename Buffer_T >
void walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_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 FlagField_T >
void walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_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 FlagField_T >
void walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::registerCells ( const  flag_t,
const CellInterval ,
const BoundaryConfiguration  
) const
inline

◆ registerCells() [2/2]

template<typename LatticeModel_T , typename FlagField_T >
template<typename CellIterator >
void walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::registerCells ( const  flag_t,
const CellIterator &  ,
const CellIterator &  ,
const BoundaryConfiguration  
) const
inline

◆ setBubbleModel()

template<typename LatticeModel_T , typename FlagField_T >
void walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::setBubbleModel ( BubbleModelBase bubbleModel)
inline

◆ setLatticeDensity()

template<typename LatticeModel_T , typename FlagField_T >
void walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::setLatticeDensity ( real_t  newLatticeDensity)
inline

◆ treatDirection()

template<typename LatticeModel_T , typename FlagField_T >
void walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_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 FlagField_T >
void walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::unregisterCell ( const  flag_t,
const  cell_idx_t,
const  cell_idx_t,
const  cell_idx_t 
) const
inline

Member Data Documentation

◆ block_

template<typename LatticeModel_T , typename FlagField_T >
IBlock* walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::block_
protected

◆ bubbleModel_

template<typename LatticeModel_T , typename FlagField_T >
BubbleModelBase* walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::bubbleModel_
protected

◆ flagField_

template<typename LatticeModel_T , typename FlagField_T >
FlagField_T* walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::flagField_
protected

◆ interfaceFlag_

template<typename LatticeModel_T , typename FlagField_T >
flag_t walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::interfaceFlag_
protected

◆ latticeDensity_

template<typename LatticeModel_T , typename FlagField_T >
real_t walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::latticeDensity_
protected

◆ pdfs_

template<typename LatticeModel_T , typename FlagField_T >
PdfField_T* walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::pdfs_
protected

◆ threadsafe

template<typename LatticeModel_T , typename FlagField_T >
const bool walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::threadsafe = true
static

◆ uid_

template<typename LatticeModel_T , typename FlagField_T >
FlagUID walberla::free_surface::SimplePressureWithFreeSurface< LatticeModel_T, FlagField_T >::uid_
protected

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