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

#include <CollideSweepSinglePrecisionLeesEdwardsCUDA.h>

Public Member Functions

 CollideSweepSinglePrecisionLeesEdwardsCUDA (BlockDataID forceID_, BlockDataID pdfsID_, float grid_size, float omega_shear, float v_s)
 
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 > &blocks, IBlock *block)
 

Static Public Member Functions

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

Public Attributes

BlockDataID forceID
 
BlockDataID pdfsID
 
float grid_size_
 
float omega_shear_
 
float v_s_
 

Detailed Description

Definition at line 55 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.

Constructor & Destructor Documentation

◆ CollideSweepSinglePrecisionLeesEdwardsCUDA()

walberla::pystencils::CollideSweepSinglePrecisionLeesEdwardsCUDA::CollideSweepSinglePrecisionLeesEdwardsCUDA ( BlockDataID  forceID_,
BlockDataID  pdfsID_,
float  grid_size,
float  omega_shear,
float  v_s 
)
inline

Definition at line 57 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.

Member Function Documentation

◆ configure()

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

◆ getSweep() [1/2]

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

Definition at line 75 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.

◆ getSweep() [2/2]

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

Definition at line 91 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.

References run(), and stream.

◆ getSweepOnCellInterval() [1/2]

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

Definition at line 80 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.

References stream.

◆ getSweepOnCellInterval() [2/2]

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

Definition at line 96 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.

References runOnCellInterval(), and stream.

◆ operator()()

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

Definition at line 71 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.

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

◆ run()

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

◆ runOnCellInterval()

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

Member Data Documentation

◆ forceID

BlockDataID walberla::pystencils::CollideSweepSinglePrecisionLeesEdwardsCUDA::forceID

Definition at line 109 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ grid_size_

float walberla::pystencils::CollideSweepSinglePrecisionLeesEdwardsCUDA::grid_size_

Definition at line 111 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ omega_shear_

float walberla::pystencils::CollideSweepSinglePrecisionLeesEdwardsCUDA::omega_shear_

Definition at line 112 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ pdfsID

BlockDataID walberla::pystencils::CollideSweepSinglePrecisionLeesEdwardsCUDA::pdfsID

Definition at line 110 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ v_s_

float walberla::pystencils::CollideSweepSinglePrecisionLeesEdwardsCUDA::v_s_

Definition at line 113 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.

Referenced by run(), and runOnCellInterval().


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