ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
walberla::lbm::DynamicUBBSinglePrecision Class Reference

#include <DynamicUBBSinglePrecision.h>

+ Collaboration diagram for walberla::lbm::DynamicUBBSinglePrecision:

Classes

struct  ForceStruct
 
class  ForceVector
 
struct  IndexInfo
 
class  IndexVectors
 

Public Member Functions

 DynamicUBBSinglePrecision (const std::shared_ptr< StructuredBlockForest > &blocks, BlockDataID pdfsID_, std::function< Vector3< float >(const Cell &, const shared_ptr< StructuredBlockForest > &, IBlock &)> &velocityCallbackDynamicUBBSinglePrecision)
 
void run (IBlock *block)
 
void operator() (IBlock *block)
 
void inner (IBlock *block)
 
void outer (IBlock *block)
 
Vector3< doublegetForce (IBlock *block)
 
std::function< void(IBlock *)> getSweep ()
 
std::function< void(IBlock *)> getInnerSweep ()
 
std::function< void(IBlock *)> getOuterSweep ()
 
template<typename FlagField_T >
void fillFromFlagField (const std::shared_ptr< StructuredBlockForest > &blocks, ConstBlockDataID flagFieldID, FlagUID boundaryFlagUID, FlagUID domainFlagUID)
 
template<typename FlagField_T >
void fillFromFlagField (const shared_ptr< StructuredBlockForest > &blocks, IBlock *block, ConstBlockDataID flagFieldID, FlagUID boundaryFlagUID, FlagUID domainFlagUID)
 
auto constgetForceVector (IBlock const *block) const
 
auto constgetIndexVector (IBlock const *block) const
 
BlockDataID getIndexVectorID () const
 
BlockDataID getForceVectorID () const
 

Public Attributes

BlockDataID pdfsID
 

Static Public Attributes

static constexpr std::array< std::array< int, 19u >, 3uneighborOffset
 

Detailed Description

Definition at line 73 of file DynamicUBBSinglePrecision.h.

Constructor & Destructor Documentation

◆ DynamicUBBSinglePrecision()

walberla::lbm::DynamicUBBSinglePrecision::DynamicUBBSinglePrecision ( const std::shared_ptr< StructuredBlockForest > &  blocks,
BlockDataID  pdfsID_,
std::function< Vector3< float >(const Cell &, const shared_ptr< StructuredBlockForest > &, IBlock &)> &  velocityCallbackDynamicUBBSinglePrecision 
)
inline

Definition at line 160 of file DynamicUBBSinglePrecision.h.

References stream.

Member Function Documentation

◆ fillFromFlagField() [1/2]

◆ fillFromFlagField() [2/2]

template<typename FlagField_T >
void walberla::lbm::DynamicUBBSinglePrecision::fillFromFlagField ( const std::shared_ptr< StructuredBlockForest > &  blocks,
ConstBlockDataID  flagFieldID,
FlagUID  boundaryFlagUID,
FlagUID  domainFlagUID 
)
inline

Definition at line 207 of file DynamicUBBSinglePrecision.h.

References block(), and stream.

◆ getForce()

Vector3< double > walberla::lbm::DynamicUBBSinglePrecision::getForce ( IBlock *  block)
inline

◆ getForceVector()

auto const & walberla::lbm::DynamicUBBSinglePrecision::getForceVector ( IBlock const block) const
inline

◆ getForceVectorID()

BlockDataID walberla::lbm::DynamicUBBSinglePrecision::getForceVectorID ( ) const
inline

Definition at line 672 of file DynamicUBBSinglePrecision.h.

◆ getIndexVector()

auto const & walberla::lbm::DynamicUBBSinglePrecision::getIndexVector ( IBlock const block) const
inline

◆ getIndexVectorID()

BlockDataID walberla::lbm::DynamicUBBSinglePrecision::getIndexVectorID ( ) const
inline

Definition at line 671 of file DynamicUBBSinglePrecision.h.

◆ getInnerSweep()

std::function< void(IBlock *)> walberla::lbm::DynamicUBBSinglePrecision::getInnerSweep ( )
inline

Definition at line 198 of file DynamicUBBSinglePrecision.h.

References inner().

◆ getOuterSweep()

std::function< void(IBlock *)> walberla::lbm::DynamicUBBSinglePrecision::getOuterSweep ( )
inline

Definition at line 202 of file DynamicUBBSinglePrecision.h.

References outer().

◆ getSweep()

std::function< void(IBlock *)> walberla::lbm::DynamicUBBSinglePrecision::getSweep ( )
inline

Definition at line 194 of file DynamicUBBSinglePrecision.h.

References run().

◆ inner()

void walberla::lbm::DynamicUBBSinglePrecision::inner ( IBlock *  block)

◆ operator()()

void walberla::lbm::DynamicUBBSinglePrecision::operator() ( IBlock *  block)
inline

Definition at line 181 of file DynamicUBBSinglePrecision.h.

References block(), and run().

◆ outer()

void walberla::lbm::DynamicUBBSinglePrecision::outer ( IBlock *  block)

◆ run()

void walberla::lbm::DynamicUBBSinglePrecision::run ( IBlock *  block)

Member Data Documentation

◆ neighborOffset

constexpr std::array<std::array<int, 19u>, 3u> walberla::lbm::DynamicUBBSinglePrecision::neighborOffset
staticconstexpr
Initial value:
= {{
{0, 0, 0, -1, 1, 0, 0, -1, 1, -1, 1, 0, 0, -1, 1, 0, 0, -1, 1},
{0, 1, -1, 0, 0, 0, 0, 1, 1, -1, -1, 1, -1, 0, 0, 1, -1, 0, 0},
{0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 0, 1, 1, 1, 1, -1, -1, -1, -1},
}}

Definition at line 655 of file DynamicUBBSinglePrecision.h.

◆ pdfsID

BlockDataID walberla::lbm::DynamicUBBSinglePrecision::pdfsID

Definition at line 675 of file DynamicUBBSinglePrecision.h.


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