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

#include <StreamCollideSweepLeesEdwardsDoublePrecisionCUDA.h>

Public Member Functions

 StreamCollideSweepLeesEdwardsDoublePrecisionCUDA (BlockDataID forceID_, BlockDataID pdfsID_, double grid_size, double omega_shear, double v_s)
 
 ~StreamCollideSweepLeesEdwardsDoublePrecisionCUDA ()
 
void run (IBlock *block, gpuStream_t stream=nullptr)
 
void runOnCellInterval (const shared_ptr< StructuredBlockStorage > &blocks, const CellInterval &globalCellInterval, cell_idx_t ghostLayers, IBlock *block, gpuStream_t stream=nullptr)
 
void operator() (IBlock *block, gpuStream_t stream=nullptr)
 
std::function< void(IBlock *)> getSweep (gpuStream_t stream=nullptr)
 
std::function< void(IBlock *)> getSweepOnCellInterval (const shared_ptr< StructuredBlockStorage > &blocks, const CellInterval &globalCellInterval, cell_idx_t ghostLayers=1, gpuStream_t stream=nullptr)
 
void configure (const shared_ptr< StructuredBlockStorage > &, IBlock *)
 
double getGrid_size () const
 
double getOmega_shear () const
 
double getV_s () const
 
void setGrid_size (const double value)
 
void setOmega_shear (const double value)
 
void setV_s (const double value)
 

Static Public Member Functions

static std::function< void(IBlock *)> getSweep (const shared_ptr< StreamCollideSweepLeesEdwardsDoublePrecisionCUDA > &kernel)
 
static std::function< void(IBlock *, gpuStream_t)> getSweepOnCellInterval (const shared_ptr< StreamCollideSweepLeesEdwardsDoublePrecisionCUDA > &kernel, const shared_ptr< StructuredBlockStorage > &blocks, const CellInterval &globalCellInterval, cell_idx_t ghostLayers=1)
 

Detailed Description

Constructor & Destructor Documentation

◆ StreamCollideSweepLeesEdwardsDoublePrecisionCUDA()

walberla::pystencils::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA ( BlockDataID  forceID_,
BlockDataID  pdfsID_,
double  grid_size,
double  omega_shear,
double  v_s 
)
inline

◆ ~StreamCollideSweepLeesEdwardsDoublePrecisionCUDA()

walberla::pystencils::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA::~StreamCollideSweepLeesEdwardsDoublePrecisionCUDA ( )
inline

Member Function Documentation

◆ configure()

void walberla::pystencils::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA::configure ( const shared_ptr< StructuredBlockStorage > &  ,
IBlock *   
)
inline

◆ getGrid_size()

double walberla::pystencils::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA::getGrid_size ( ) const
inline

◆ getOmega_shear()

double walberla::pystencils::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA::getOmega_shear ( ) const
inline

◆ getSweep() [1/2]

static std::function< void(IBlock *)> walberla::pystencils::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA::getSweep ( const shared_ptr< StreamCollideSweepLeesEdwardsDoublePrecisionCUDA > &  kernel)
inlinestatic

◆ getSweep() [2/2]

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

Definition at line 102 of file StreamCollideSweepLeesEdwardsDoublePrecisionCUDA.h.

References run(), and stream.

◆ getSweepOnCellInterval() [1/2]

static std::function< void(IBlock *, gpuStream_t)> walberla::pystencils::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA::getSweepOnCellInterval ( const shared_ptr< StreamCollideSweepLeesEdwardsDoublePrecisionCUDA > &  kernel,
const shared_ptr< StructuredBlockStorage > &  blocks,
const CellInterval &  globalCellInterval,
cell_idx_t  ghostLayers = 1 
)
inlinestatic

Definition at line 90 of file StreamCollideSweepLeesEdwardsDoublePrecisionCUDA.h.

References stream.

◆ getSweepOnCellInterval() [2/2]

std::function< void(IBlock *)> walberla::pystencils::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA::getSweepOnCellInterval ( const shared_ptr< StructuredBlockStorage > &  blocks,
const CellInterval &  globalCellInterval,
cell_idx_t  ghostLayers = 1,
gpuStream_t  stream = nullptr 
)
inline

◆ getV_s()

double walberla::pystencils::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA::getV_s ( ) const
inline

◆ operator()()

void walberla::pystencils::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA::operator() ( IBlock *  block,
gpuStream_t  stream = nullptr 
)
inline

Definition at line 80 of file StreamCollideSweepLeesEdwardsDoublePrecisionCUDA.h.

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

◆ run()

void walberla::pystencils::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA::run ( IBlock *  block,
gpuStream_t  stream = nullptr 
)

Definition at line 114 of file StreamCollideSweepLeesEdwardsDoublePrecisionCUDA.cu.

References block(), and RESTRICT.

Referenced by getSweep(), and operator()().

◆ runOnCellInterval()

void walberla::pystencils::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA::runOnCellInterval ( const shared_ptr< StructuredBlockStorage > &  blocks,
const CellInterval &  globalCellInterval,
cell_idx_t  ghostLayers,
IBlock *  block,
gpuStream_t  stream = nullptr 
)

Definition at line 167 of file StreamCollideSweepLeesEdwardsDoublePrecisionCUDA.cu.

References block(), and RESTRICT.

Referenced by getSweepOnCellInterval().

◆ setGrid_size()

void walberla::pystencils::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA::setGrid_size ( const double  value)
inline

◆ setOmega_shear()

void walberla::pystencils::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA::setOmega_shear ( const double  value)
inline

◆ setV_s()

void walberla::pystencils::StreamCollideSweepLeesEdwardsDoublePrecisionCUDA::setV_s ( const double  value)
inline

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