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

#include <SimpleDiffusionDirichlet.h>

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

Classes

class  ScalarConfiguration
 

Public Member Functions

 SimpleDiffusionDirichlet (const BoundaryUID &boundaryUID, const FlagUID &uid, PDFField *const pdfField, const real_t val=real_t(0))
 
void pushFlags (std::vector< FlagUID > &uids) const
 
void beforeBoundaryTreatment () const
 
void afterBoundaryTreatment () const
 
template<typename Buffer_T >
void packCell (Buffer_T &buffer, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z) const
 
template<typename Buffer_T >
void registerCell (Buffer_T &buffer, const flag_t, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z)
 
void registerCell (const flag_t, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z, const BoundaryConfiguration &bc)
 
void registerCells (const flag_t, const CellInterval &cells, const BoundaryConfiguration &bc)
 
template<typename CellIterator >
void registerCells (const flag_t, const CellIterator &begin, const CellIterator &end, const BoundaryConfiguration &bc)
 
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< ScalarConfigurationcreateConfiguration (const Config::BlockHandle &config)
 

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_
 
real_t val_
 
bool init_
 

Additional Inherited Members

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

Member Typedef Documentation

◆ PDFField

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

◆ Stencil

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

Constructor & Destructor Documentation

◆ SimpleDiffusionDirichlet()

template<typename LatticeModel_T , typename flag_t >
walberla::lbm::SimpleDiffusionDirichlet< LatticeModel_T, flag_t >::SimpleDiffusionDirichlet ( const BoundaryUID &  boundaryUID,
const FlagUID &  uid,
PDFField *const  pdfField,
const real_t  val = real_t(0) 
)
inline

Member Function Documentation

◆ afterBoundaryTreatment()

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

◆ beforeBoundaryTreatment()

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

◆ createConfiguration()

template<typename LatticeModel_T , typename flag_t >
static shared_ptr<ScalarConfiguration> walberla::lbm::SimpleDiffusionDirichlet< LatticeModel_T, flag_t >::createConfiguration ( const Config::BlockHandle config)
inlinestatic

◆ packCell()

template<typename LatticeModel_T , typename flag_t >
template<typename Buffer_T >
void walberla::lbm::SimpleDiffusionDirichlet< LatticeModel_T, flag_t >::packCell ( Buffer_T &  buffer,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline

◆ pushFlags()

template<typename LatticeModel_T , typename flag_t >
void walberla::lbm::SimpleDiffusionDirichlet< 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::SimpleDiffusionDirichlet< LatticeModel_T, flag_t >::registerCell ( Buffer_T &  buffer,
const  flag_t,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
)
inline

◆ registerCell() [2/2]

template<typename LatticeModel_T , typename flag_t >
void walberla::lbm::SimpleDiffusionDirichlet< LatticeModel_T, flag_t >::registerCell ( const  flag_t,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z,
const BoundaryConfiguration bc 
)
inline

◆ registerCells() [1/2]

template<typename LatticeModel_T , typename flag_t >
void walberla::lbm::SimpleDiffusionDirichlet< LatticeModel_T, flag_t >::registerCells ( const flag_t  flag,
const CellInterval cells,
const BoundaryConfiguration bc 
)
inline

◆ registerCells() [2/2]

template<typename LatticeModel_T , typename flag_t >
template<typename CellIterator >
void walberla::lbm::SimpleDiffusionDirichlet< LatticeModel_T, flag_t >::registerCells ( const flag_t  flag,
const CellIterator &  begin,
const CellIterator &  end,
const BoundaryConfiguration bc 
)
inline

◆ treatDirection()

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

◆ init_

template<typename LatticeModel_T , typename flag_t >
bool walberla::lbm::SimpleDiffusionDirichlet< LatticeModel_T, flag_t >::init_
private

◆ pdfField_

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

◆ threadsafe

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

◆ uid_

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

◆ val_

template<typename LatticeModel_T , typename flag_t >
real_t walberla::lbm::SimpleDiffusionDirichlet< LatticeModel_T, flag_t >::val_
private

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