ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#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_ |
Definition at line 55 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.
|
inline |
Definition at line 57 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.
|
inline |
Definition at line 106 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.
|
inlinestatic |
Definition at line 75 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.
|
inline |
Definition at line 91 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.
|
inlinestatic |
Definition at line 80 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.
References stream.
|
inline |
Definition at line 96 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.
References runOnCellInterval(), and stream.
|
inline |
Definition at line 71 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.
void walberla::pystencils::CollideSweepSinglePrecisionLeesEdwardsCUDA::run | ( | IBlock * | block, |
gpuStream_t | stream = nullptr |
||
) |
Definition at line 157 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.cu.
References block(), forceID, grid_size_, omega_shear_, pdfsID, RESTRICT, and v_s_.
Referenced by getSweep(), and operator()().
void walberla::pystencils::CollideSweepSinglePrecisionLeesEdwardsCUDA::runOnCellInterval | ( | const shared_ptr< StructuredBlockStorage > & | blocks, |
const CellInterval & | globalCellInterval, | ||
cell_idx_t | ghostLayers, | ||
IBlock * | block, | ||
gpuStream_t | stream = nullptr |
||
) |
Definition at line 193 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.cu.
References block(), forceID, grid_size_, omega_shear_, pdfsID, RESTRICT, and v_s_.
Referenced by getSweepOnCellInterval().
BlockDataID walberla::pystencils::CollideSweepSinglePrecisionLeesEdwardsCUDA::forceID |
Definition at line 109 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.
Referenced by run(), and runOnCellInterval().
float walberla::pystencils::CollideSweepSinglePrecisionLeesEdwardsCUDA::grid_size_ |
Definition at line 111 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.
Referenced by run(), and runOnCellInterval().
float walberla::pystencils::CollideSweepSinglePrecisionLeesEdwardsCUDA::omega_shear_ |
Definition at line 112 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.
Referenced by run(), and runOnCellInterval().
BlockDataID walberla::pystencils::CollideSweepSinglePrecisionLeesEdwardsCUDA::pdfsID |
Definition at line 110 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.
Referenced by run(), and runOnCellInterval().
float walberla::pystencils::CollideSweepSinglePrecisionLeesEdwardsCUDA::v_s_ |
Definition at line 113 of file CollideSweepSinglePrecisionLeesEdwardsCUDA.h.
Referenced by run(), and runOnCellInterval().