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

#include <DynamicUBBSinglePrecisionCUDA.h>

Classes

struct  IndexInfo
 
class  IndexVectors
 

Public Member Functions

 DynamicUBBSinglePrecisionCUDA (const shared_ptr< StructuredBlockForest > &blocks, BlockDataID pdfsID_, std::function< Vector3< float32 >(const Cell &, const shared_ptr< StructuredBlockForest > &, IBlock &)> &velocityCallback)
 
void run (IBlock *block, gpuStream_t stream=nullptr)
 
void operator() (IBlock *block, gpuStream_t stream=nullptr)
 
void inner (IBlock *block, gpuStream_t stream=nullptr)
 
void outer (IBlock *block, gpuStream_t stream=nullptr)
 
Vector3< double > getForce (IBlock *)
 
std::function< void(IBlock *)> getSweep (gpuStream_t stream=nullptr)
 
std::function< void(IBlock *)> getInnerSweep (gpuStream_t stream=nullptr)
 
std::function< void(IBlock *)> getOuterSweep (gpuStream_t stream=nullptr)
 
template<typename FlagField_T >
void fillFromFlagField (const 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)
 

Public Attributes

BlockDataID pdfsID
 

Detailed Description

Definition at line 55 of file DynamicUBBSinglePrecisionCUDA.h.

Constructor & Destructor Documentation

◆ DynamicUBBSinglePrecisionCUDA()

walberla::lbm::DynamicUBBSinglePrecisionCUDA::DynamicUBBSinglePrecisionCUDA ( const shared_ptr< StructuredBlockForest > &  blocks,
BlockDataID  pdfsID_,
std::function< Vector3< float32 >(const Cell &, const shared_ptr< StructuredBlockForest > &, IBlock &)> &  velocityCallback 
)
inline

Definition at line 117 of file DynamicUBBSinglePrecisionCUDA.h.

Member Function Documentation

◆ fillFromFlagField() [1/2]

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

Definition at line 160 of file DynamicUBBSinglePrecisionCUDA.h.

◆ fillFromFlagField() [2/2]

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

◆ getForce()

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

Definition at line 140 of file DynamicUBBSinglePrecisionCUDA.h.

◆ getInnerSweep()

std::function< void(IBlock *)> walberla::lbm::DynamicUBBSinglePrecisionCUDA::getInnerSweep ( gpuStream_t  stream = nullptr)
inline

Definition at line 151 of file DynamicUBBSinglePrecisionCUDA.h.

References inner(), and stream.

◆ getOuterSweep()

std::function< void(IBlock *)> walberla::lbm::DynamicUBBSinglePrecisionCUDA::getOuterSweep ( gpuStream_t  stream = nullptr)
inline

Definition at line 155 of file DynamicUBBSinglePrecisionCUDA.h.

References outer(), and stream.

◆ getSweep()

std::function< void(IBlock *)> walberla::lbm::DynamicUBBSinglePrecisionCUDA::getSweep ( gpuStream_t  stream = nullptr)
inline

Definition at line 147 of file DynamicUBBSinglePrecisionCUDA.h.

References run(), and stream.

◆ inner()

void walberla::lbm::DynamicUBBSinglePrecisionCUDA::inner ( IBlock *  block,
gpuStream_t  stream = nullptr 
)

◆ operator()()

void walberla::lbm::DynamicUBBSinglePrecisionCUDA::operator() ( IBlock *  block,
gpuStream_t  stream = nullptr 
)
inline

Definition at line 132 of file DynamicUBBSinglePrecisionCUDA.h.

References block(), run(), and stream.

◆ outer()

void walberla::lbm::DynamicUBBSinglePrecisionCUDA::outer ( IBlock *  block,
gpuStream_t  stream = nullptr 
)

◆ run()

void walberla::lbm::DynamicUBBSinglePrecisionCUDA::run ( IBlock *  block,
gpuStream_t  stream = nullptr 
)

Member Data Documentation

◆ pdfsID

BlockDataID walberla::lbm::DynamicUBBSinglePrecisionCUDA::pdfsID

Definition at line 606 of file DynamicUBBSinglePrecisionCUDA.h.


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