walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce > Class Template Reference

#include <UBB.h>

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

Classes

class  Velocity
 

Public Member Functions

 UBB (const BoundaryUID &boundaryUID, const FlagUID &uid, PDFField *const pdfField, FlagField< flag_t > *const flagField=NULL)
 
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 &velocity)
 
void registerCells (const flag_t, const CellInterval &cells, const BoundaryConfiguration &velocity)
 
template<typename CellIterator >
void registerCells (const flag_t, const CellIterator &begin, const CellIterator &end, const BoundaryConfiguration &velocity)
 
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 Vector3< real_t > & getValue (const cell_idx_t x, cell_idx_t y, cell_idx_t z) const
 
const ForceField::value_type & getForce (const cell_idx_t x, cell_idx_t y, cell_idx_t z) const
 

Static Public Member Functions

static shared_ptr< VelocitycreateConfiguration (const Config::BlockHandle &config)
 

Static Public Attributes

static const bool threadsafe = true
 

Private Types

typedef PdfField< LatticeModel_TPDFField
 
typedef LatticeModel_T::Stencil Stencil
 
typedef GhostLayerField< Vector3< real_t >, 1 > VelField
 
typedef GhostLayerField< Vector3< real_t >, 1 > ForceField
 

Private Attributes

const FlagUID uid_
 
PDFField *const pdfField_
 
shared_ptr< VelFieldvel_
 
shared_ptr< ForceFieldforce_
 

Member Typedef Documentation

template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
typedef GhostLayerField< Vector3<real_t>, 1 > walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::ForceField
private
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
typedef PdfField< LatticeModel_T > walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::PDFField
private
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
typedef LatticeModel_T::Stencil walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::Stencil
private
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
typedef GhostLayerField< Vector3<real_t>, 1 > walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::VelField
private

Constructor & Destructor Documentation

template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce, bool StoreForce>
walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::UBB ( const BoundaryUID &  boundaryUID,
const FlagUID &  uid,
PDFField *const  pdfField,
FlagField< flag_t > *const  flagField = NULL 
)
inline

Member Function Documentation

template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
void walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::afterBoundaryTreatment ( ) const
inline
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce, bool StoreForce>
void walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::beforeBoundaryTreatment ( ) const
inline
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
static shared_ptr<Velocity> walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::createConfiguration ( const Config::BlockHandle &  config)
inlinestatic
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
const ForceField::value_type& walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::getForce ( const cell_idx_t  x,
cell_idx_t  y,
cell_idx_t  z 
) const
inline
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
const Vector3<real_t>& walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::getValue ( const cell_idx_t  x,
cell_idx_t  y,
cell_idx_t  z 
) const
inline
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce, bool StoreForce>
template<typename Buffer_T >
void walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::packCell ( Buffer_T &  buffer,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
) const
inline
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
void walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::pushFlags ( std::vector< FlagUID > &  uids) const
inline
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce, bool StoreForce>
template<typename Buffer_T >
void walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::registerCell ( Buffer_T &  buffer,
const flag_t  ,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
)
inline
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce, bool StoreForce>
void walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::registerCell ( const flag_t  ,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z,
const BoundaryConfiguration &  velocity 
)
inline
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce, bool StoreForce>
void walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::registerCells ( const flag_t  ,
const CellInterval &  cells,
const BoundaryConfiguration &  velocity 
)
inline
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce, bool StoreForce>
template<typename CellIterator >
void walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::registerCells ( const flag_t  ,
const CellIterator &  begin,
const CellIterator &  end,
const BoundaryConfiguration &  velocity 
)
inline
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce, bool StoreForce>
void walberla::lbm::UBB< 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
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
void walberla::lbm::UBB< 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

template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
shared_ptr<ForceField> walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::force_
private
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
PDFField* const walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::pdfField_
private
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
const bool walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::threadsafe = true
static
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
const FlagUID walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::uid_
private
template<typename LatticeModel_T , typename flag_t , bool AdaptVelocityToExternalForce = false, bool StoreForce = false>
shared_ptr<VelField> walberla::lbm::UBB< LatticeModel_T, flag_t, AdaptVelocityToExternalForce, StoreForce >::vel_
private

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