walberla::lbm::internal Namespace Reference

Classes

struct  AdaptorExporter
 
struct  AdaptVelocityToForce
 
struct  AdaptVelocityToForce< LatticeModel_T, typename std::enable_if< !LatticeModel_T::compressible &&!LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  AdaptVelocityToForce< LatticeModel_T, typename std::enable_if< !LatticeModel_T::compressible &&LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  AdaptVelocityToForce< LatticeModel_T, typename std::enable_if< !LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  AdaptVelocityToForce< LatticeModel_T, typename std::enable_if< LatticeModel_T::compressible &&!LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  AdaptVelocityToForce< LatticeModel_T, typename std::enable_if< LatticeModel_T::compressible &&LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel >::type >
 
class  AddPdfFieldToStorageExporter
 
class  CellwiseSweepCreator
 
struct  CellwiseSweepExporterWithFlagField
 
struct  CellwiseSweepExporterWithoutFlagField
 
struct  DensityAdaptorFromLatticeModel
 
struct  EquilibriumForceCorrection
 
struct  EquilibriumForceCorrection< LatticeModel_T, typename std::enable_if< !LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  EquilibriumForceCorrection< LatticeModel_T, typename std::enable_if< !LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  EquilibriumForceCorrection< LatticeModel_T, typename std::enable_if< LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftEquVel >::type >
 
class  ExtendedBoundaryHandlingCreator
 
struct  ExtendedBoundaryHandlingFromLatticeModel
 
class  LatticeModelCreator
 
struct  LatticeModelExporter
 
struct  MacroscopicForceCorrection
 
struct  MacroscopicForceCorrection< LatticeModel_T, typename std::enable_if< !LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  MacroscopicForceCorrection< LatticeModel_T, typename std::enable_if< !LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  MacroscopicForceCorrection< LatticeModel_T, typename std::enable_if< LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  PdfFieldExporter
 
class  PdfFieldHandling
 
struct  ShearRateAdaptorFromLatticeModel
 
struct  ShearRelaxationParameter
 
struct  ShearRelaxationParameter< CollisionModel_T, typename std::enable_if< std::is_same< typename CollisionModel_T::tag, collision_model::Cumulant_tag >::value >::type >
 
struct  ShearRelaxationParameter< CollisionModel_T, typename std::enable_if< std::is_same< typename CollisionModel_T::tag, collision_model::MRT_tag >::value >::type >
 
struct  ShearRelaxationParameter< CollisionModel_T, typename std::enable_if< std::is_same< typename CollisionModel_T::tag, collision_model::SRT_tag >::value >::type >
 
struct  ShearRelaxationParameter< CollisionModel_T, typename std::enable_if< std::is_same< typename CollisionModel_T::tag, collision_model::TRT_tag >::value >::type >
 
class  SweepWrapper
 
struct  VelocityAdaptorFromLatticeModel
 
struct  VelocityCallbackCorrection
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< !LatticeModel_T::compressible &&!LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftEquVel &&!LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< !LatticeModel_T::compressible &&!LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel &&!LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< !LatticeModel_T::compressible &&LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftEquVel &&!LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< !LatticeModel_T::compressible &&LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel &&!LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< !LatticeModel_T::ForceModel::shiftMacVel &&!LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< LatticeModel_T::compressible &&!LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftEquVel &&!LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< LatticeModel_T::compressible &&!LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel &&!LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< LatticeModel_T::compressible &&LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftEquVel &&!LatticeModel_T::ForceModel::shiftMacVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< LatticeModel_T::compressible &&LatticeModel_T::ForceModel::constant &&LatticeModel_T::ForceModel::shiftMacVel &&!LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  VelocityCallbackCorrection< LatticeModel_T, typename std::enable_if< LatticeModel_T::ForceModel::shiftMacVel &&LatticeModel_T::ForceModel::shiftEquVel >::type >
 
struct  VelocityFieldWriterHelper
 
struct  VelocityFieldWriterHelper< PdfField_T, VelocityField_T, Vector3< real_t > >
 

Typedefs

typedef field::Field< uint8_t, 1 > MarkerField_T
 

Functions

template<typename LatticeModel_T , typename FieldPtrOrIterator >
real_t getDensityAndMomentumDensity (Vector3< real_t > &momentumDensity, const FieldPtrOrIterator &it)
 
template<typename LatticeModel_T , typename PdfField_T >
real_t getDensityAndMomentumDensity (Vector3< real_t > &momentumDensity, const PdfField_T &pdf, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z)
 
template<typename LatticeModel_T , typename FieldPtrOrIterator >
real_t getDensityAndMomentumDensityD3Q19 (Vector3< real_t > &momentumDensity, const FieldPtrOrIterator &it)
 
template<typename LatticeModel_T , typename PdfField_T >
real_t getDensityAndMomentumDensityD3Q19 (Vector3< real_t > &momentumDensity, const PdfField_T &pdf, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z)
 
template<typename LatticeModel_T , typename FieldPtrOrIterator >
void getMomentumDensity (Vector3< real_t > &momentumDensity, const FieldPtrOrIterator &it)
 
template<typename LatticeModel_T , typename PdfField_T >
void getMomentumDensity (Vector3< real_t > &momentumDensity, const PdfField_T &pdf, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z)
 
template<typename LatticeModel_T , typename FieldPtrOrIterator >
void getMomentumDensityD3Q19 (Vector3< real_t > &momentumDensity, const FieldPtrOrIterator &it)
 
template<typename LatticeModel_T , typename PdfField_T >
void getMomentumDensityD3Q19 (Vector3< real_t > &momentumDensity, const PdfField_T &pdf, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z)
 
template<typename LatticeModel_T , typename FieldPtrOrIterator >
void getPressureTensor (Matrix3< real_t > &pressureTensor, const LatticeModel_T &latticeModel, const FieldPtrOrIterator &it)
 
template<typename LatticeModel_T , typename PdfField_T >
void getPressureTensor (Matrix3< real_t > &pressureTensor, const LatticeModel_T &latticeModel, const PdfField_T &pdf, const cell_idx_t x, const cell_idx_t y, const cell_idx_t z)
 
real_t multiplyVelocityDirection (const real_t cx, const real_t cy, const real_t cz, const Vector3< real_t > &velocity)
 
real_t multiplyVelocityDirection (const stencil::Direction &direction, const Vector3< real_t > &velocity)
 
template<typename LatticeModels >
boost::python::object makeLatticeModel (const std::string &stencil, boost::python::object collisionModel, boost::python::object forceModel, bool compressible, uint_t equilibriumAccuracyOrder)
 
template<typename LatticeModel_T >
PdfField< LatticeModel_T >::iterator pythonSliceToFieldIterator (PdfField< LatticeModel_T > &field, boost::python::tuple pyIndex)
 
template<typename LatticeModel_T >
void pdfField_setDensityAndVelocity (PdfField< LatticeModel_T > &field, boost::python::tuple pyIndex, const Vector3< real_t > &velocity, real_t rho)
 
template<typename LatticeModel_T >
void pdfField_setToEquilibrium (PdfField< LatticeModel_T > &field, boost::python::tuple pyIndex, const Vector3< real_t > &velocity, real_t rho)
 
template<typename LatticeModel_T >
boost::python::list pdfField_getPressureTensor (PdfField< LatticeModel_T > &field, cell_idx_t x, cell_idx_t y, cell_idx_t z)
 
template<typename LatticeModels >
void addPdfFieldToStorage (const shared_ptr< StructuredBlockStorage > &blocks, const std::string &identifier, boost::python::object latticeModel, const Vector3< real_t > &initialVelocity, real_t initialDensity, uint_t gl, field::Layout layout, const std::string &densityAdaptor, const std::string &velocityAdaptor, const std::string &shearRateAdaptor)
 
shared_ptr< SweepWrappermakeSplitPureSweep (const shared_ptr< StructuredBlockStorage > &blocks, const std::string &pdfFieldIDStr)
 
template<typename BH >
shared_ptr< BoundaryConfiguration > boundaryConfFromDict (BH &h, const BoundaryUID &uid, boost::python::dict d)
 
template<typename BH >
void BH_setBoundary1 (BH &h, const std::string &name, cell_idx_t x, cell_idx_t y, cell_idx_t z, boost::python::dict conf)
 
template<typename BH >
void BH_setBoundary2 (BH &h, const std::string &name, const boost::python::tuple &index, boost::python::dict conf)
 
template<typename BH >
void BH_forceBoundary1 (BH &h, const std::string &name, cell_idx_t x, cell_idx_t y, cell_idx_t z, boost::python::dict conf)
 
template<typename BH >
void BH_forceBoundary2 (BH &h, const std::string &name, const boost::python::tuple &index, boost::python::dict conf)
 
template<typename BH >
void BH_forceBoundary3 (BH &h, const GhostLayerField< int, 1 > &indexField, boost::python::dict boundaryInfo)
 
template<typename BH >
void BH_setDomainSlice (BH &h, const boost::python::tuple &index)
 
template<typename BH >
void BH_forceDomainSlice (BH &h, const boost::python::tuple &index)
 
template<typename BH >
void BH_fillDomainSlice (BH &h, const boost::python::tuple &index)
 
template<typename BH >
void BH_removeDomainSlice (BH &h, const boost::python::tuple &index)
 
template<typename BH >
void BH_removeBoundarySlice (BH &h, const boost::python::tuple &index)
 
template<typename BH >
void BH_clearSlice (BH &h, const boost::python::tuple &index)
 
template<typename LatticeModels >
void addBoundaryHandlingToStorage (const shared_ptr< StructuredBlockStorage > &bs, const std::string &name, const std::string &pdfFieldStringID, const std::string &flagFieldStringID)
 
template<typename LM , typename Filter , typename In , typename Out >
void addSweepMemberFunctions (boost::python::class_< CellwiseSweep< LM, Filter, In, Out >, shared_ptr< CellwiseSweep< LM, Filter, In, Out > > > &c)
 
template<typename LatticeModel_FlagField_Pairs >
boost::python::object makeCellwiseSweep (const shared_ptr< StructuredBlockStorage > &bs, const std::string &pdfFieldStringID, const std::string &flagFieldStringID, boost::python::list flagList, const std::string &velocityFieldStringID)
 

Typedef Documentation

Function Documentation

template<typename LatticeModels >
void walberla::lbm::internal::addBoundaryHandlingToStorage ( const shared_ptr< StructuredBlockStorage > &  bs,
const std::string &  name,
const std::string &  pdfFieldStringID,
const std::string &  flagFieldStringID 
)
template<typename LatticeModels >
void walberla::lbm::internal::addPdfFieldToStorage ( const shared_ptr< StructuredBlockStorage > &  blocks,
const std::string &  identifier,
boost::python::object  latticeModel,
const Vector3< real_t > &  initialVelocity,
real_t  initialDensity,
uint_t  gl,
field::Layout  layout,
const std::string &  densityAdaptor,
const std::string &  velocityAdaptor,
const std::string &  shearRateAdaptor 
)
template<typename LM , typename Filter , typename In , typename Out >
void walberla::lbm::internal::addSweepMemberFunctions ( boost::python::class_< CellwiseSweep< LM, Filter, In, Out >, shared_ptr< CellwiseSweep< LM, Filter, In, Out > > > &  c)
template<typename BH >
void walberla::lbm::internal::BH_clearSlice ( BH &  h,
const boost::python::tuple &  index 
)
template<typename BH >
void walberla::lbm::internal::BH_fillDomainSlice ( BH &  h,
const boost::python::tuple &  index 
)
template<typename BH >
void walberla::lbm::internal::BH_forceBoundary1 ( BH &  h,
const std::string &  name,
cell_idx_t  x,
cell_idx_t  y,
cell_idx_t  z,
boost::python::dict  conf 
)
template<typename BH >
void walberla::lbm::internal::BH_forceBoundary2 ( BH &  h,
const std::string &  name,
const boost::python::tuple &  index,
boost::python::dict  conf 
)
template<typename BH >
void walberla::lbm::internal::BH_forceBoundary3 ( BH &  h,
const GhostLayerField< int, 1 > &  indexField,
boost::python::dict  boundaryInfo 
)
template<typename BH >
void walberla::lbm::internal::BH_forceDomainSlice ( BH &  h,
const boost::python::tuple &  index 
)
template<typename BH >
void walberla::lbm::internal::BH_removeBoundarySlice ( BH &  h,
const boost::python::tuple &  index 
)
template<typename BH >
void walberla::lbm::internal::BH_removeDomainSlice ( BH &  h,
const boost::python::tuple &  index 
)
template<typename BH >
void walberla::lbm::internal::BH_setBoundary1 ( BH &  h,
const std::string &  name,
cell_idx_t  x,
cell_idx_t  y,
cell_idx_t  z,
boost::python::dict  conf 
)
template<typename BH >
void walberla::lbm::internal::BH_setBoundary2 ( BH &  h,
const std::string &  name,
const boost::python::tuple &  index,
boost::python::dict  conf 
)
template<typename BH >
void walberla::lbm::internal::BH_setDomainSlice ( BH &  h,
const boost::python::tuple &  index 
)
template<typename BH >
shared_ptr<BoundaryConfiguration> walberla::lbm::internal::boundaryConfFromDict ( BH &  h,
const BoundaryUID &  uid,
boost::python::dict  d 
)
template<typename LatticeModel_T , typename FieldPtrOrIterator >
real_t walberla::lbm::internal::getDensityAndMomentumDensity ( Vector3< real_t > &  momentumDensity,
const FieldPtrOrIterator &  it 
)
template<typename LatticeModel_T , typename PdfField_T >
real_t walberla::lbm::internal::getDensityAndMomentumDensity ( Vector3< real_t > &  momentumDensity,
const PdfField_T pdf,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
)
template<typename LatticeModel_T , typename FieldPtrOrIterator >
real_t walberla::lbm::internal::getDensityAndMomentumDensityD3Q19 ( Vector3< real_t > &  momentumDensity,
const FieldPtrOrIterator &  it 
)
template<typename LatticeModel_T , typename PdfField_T >
real_t walberla::lbm::internal::getDensityAndMomentumDensityD3Q19 ( Vector3< real_t > &  momentumDensity,
const PdfField_T pdf,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
)
template<typename LatticeModel_T , typename FieldPtrOrIterator >
void walberla::lbm::internal::getMomentumDensity ( Vector3< real_t > &  momentumDensity,
const FieldPtrOrIterator &  it 
)
template<typename LatticeModel_T , typename PdfField_T >
void walberla::lbm::internal::getMomentumDensity ( Vector3< real_t > &  momentumDensity,
const PdfField_T pdf,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
)
template<typename LatticeModel_T , typename FieldPtrOrIterator >
void walberla::lbm::internal::getMomentumDensityD3Q19 ( Vector3< real_t > &  momentumDensity,
const FieldPtrOrIterator &  it 
)
template<typename LatticeModel_T , typename PdfField_T >
void walberla::lbm::internal::getMomentumDensityD3Q19 ( Vector3< real_t > &  momentumDensity,
const PdfField_T pdf,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
)
template<typename LatticeModel_T , typename FieldPtrOrIterator >
void walberla::lbm::internal::getPressureTensor ( Matrix3< real_t > &  pressureTensor,
const LatticeModel_T latticeModel,
const FieldPtrOrIterator &  it 
)
template<typename LatticeModel_T , typename PdfField_T >
void walberla::lbm::internal::getPressureTensor ( Matrix3< real_t > &  pressureTensor,
const LatticeModel_T latticeModel,
const PdfField_T pdf,
const cell_idx_t  x,
const cell_idx_t  y,
const cell_idx_t  z 
)
template<typename LatticeModel_FlagField_Pairs >
boost::python::object walberla::lbm::internal::makeCellwiseSweep ( const shared_ptr< StructuredBlockStorage > &  bs,
const std::string &  pdfFieldStringID,
const std::string &  flagFieldStringID,
boost::python::list  flagList,
const std::string &  velocityFieldStringID 
)
template<typename LatticeModels >
boost::python::object walberla::lbm::internal::makeLatticeModel ( const std::string &  stencil,
boost::python::object  collisionModel,
boost::python::object  forceModel,
bool  compressible,
uint_t  equilibriumAccuracyOrder 
)
shared_ptr<SweepWrapper> walberla::lbm::internal::makeSplitPureSweep ( const shared_ptr< StructuredBlockStorage > &  blocks,
const std::string &  pdfFieldIDStr 
)
inline
real_t walberla::lbm::internal::multiplyVelocityDirection ( const real_t  cx,
const real_t  cy,
const real_t  cz,
const Vector3< real_t > &  velocity 
)
inline
real_t walberla::lbm::internal::multiplyVelocityDirection ( const stencil::Direction direction,
const Vector3< real_t > &  velocity 
)
inline
template<typename LatticeModel_T >
boost::python::list walberla::lbm::internal::pdfField_getPressureTensor ( PdfField< LatticeModel_T > &  field,
cell_idx_t  x,
cell_idx_t  y,
cell_idx_t  z 
)
template<typename LatticeModel_T >
void walberla::lbm::internal::pdfField_setDensityAndVelocity ( PdfField< LatticeModel_T > &  field,
boost::python::tuple  pyIndex,
const Vector3< real_t > &  velocity,
real_t  rho 
)
template<typename LatticeModel_T >
void walberla::lbm::internal::pdfField_setToEquilibrium ( PdfField< LatticeModel_T > &  field,
boost::python::tuple  pyIndex,
const Vector3< real_t > &  velocity,
real_t  rho 
)
template<typename LatticeModel_T >
PdfField<LatticeModel_T>::iterator walberla::lbm::internal::pythonSliceToFieldIterator ( PdfField< LatticeModel_T > &  field,
boost::python::tuple  pyIndex 
)