walberla::lbm::SimplePressure< LatticeModel_T, flag_t > Class Template Reference

#include <SimplePressure.h>

+ Inheritance diagram for walberla::lbm::SimplePressure< LatticeModel_T, flag_t >:

Public Member Functions

 SimplePressure (const BoundaryUID &boundaryUID, const FlagUID &uid, PDFField *const pdfField, 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 (const real_t newLatticeDensity)
 
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
 

Protected Attributes

FlagUID uid_
 
PDFFieldpdfs_
 
real_t latticeDensity_
 
- Protected Attributes inherited from walberla::boundary::Boundary< flag_t >
const BoundaryUID boundaryUID_
 
flag_t mask_
 
bool maskSet_
 

Private Types

using PDFField = PdfField< LatticeModel_T >
 
using Stencil = typename LatticeModel_T::Stencil
 
using Vec3Real = Vector3< real_t >
 

Member Typedef Documentation

◆ PDFField

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

◆ Stencil

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

◆ Vec3Real

template<typename LatticeModel_T , typename flag_t >
using walberla::lbm::SimplePressure< LatticeModel_T, flag_t >::Vec3Real = Vector3<real_t>
private

Constructor & Destructor Documentation

◆ SimplePressure()

template<typename LatticeModel_T , typename flag_t >
walberla::lbm::SimplePressure< LatticeModel_T, flag_t >::SimplePressure ( const BoundaryUID &  boundaryUID,
const FlagUID &  uid,
PDFField *const  pdfField,
const real_t  latticeDensity 
)
inline

Member Function Documentation

◆ afterBoundaryTreatment()

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

◆ beforeBoundaryTreatment()

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

◆ createConfiguration()

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

◆ packCell()

template<typename LatticeModel_T , typename flag_t >
template<typename Buffer_T >
void walberla::lbm::SimplePressure< 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::SimplePressure< 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::SimplePressure< 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::SimplePressure< 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::SimplePressure< 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::SimplePressure< LatticeModel_T, flag_t >::registerCells ( const  flag_t,
const CellIterator &  ,
const CellIterator &  ,
const BoundaryConfiguration  
) const
inline

◆ setLatticeDensity()

template<typename LatticeModel_T , typename flag_t >
void walberla::lbm::SimplePressure< LatticeModel_T, flag_t >::setLatticeDensity ( const real_t  newLatticeDensity)
inline

◆ treatDirection()

template<typename LatticeModel_T , typename flag_t >
void walberla::lbm::SimplePressure< 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::SimplePressure< 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

◆ latticeDensity_

template<typename LatticeModel_T , typename flag_t >
real_t walberla::lbm::SimplePressure< LatticeModel_T, flag_t >::latticeDensity_
protected

◆ pdfs_

template<typename LatticeModel_T , typename flag_t >
PDFField* walberla::lbm::SimplePressure< LatticeModel_T, flag_t >::pdfs_
protected

◆ threadsafe

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

◆ uid_

template<typename LatticeModel_T , typename flag_t >
FlagUID walberla::lbm::SimplePressure< LatticeModel_T, flag_t >::uid_
protected

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