ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <CollideSweepSinglePrecisionThermalizedCUDA.h>
Public Member Functions | |
CollideSweepSinglePrecisionThermalizedCUDA (BlockDataID forceID_, BlockDataID pdfsID_, float kT, float omega_bulk, float omega_even, float omega_odd, float omega_shear, uint32_t seed, uint32_t time_step) | |
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< CollideSweepSinglePrecisionThermalizedCUDA > &kernel) |
static std::function< void(IBlock *, gpuStream_t)> | getSweepOnCellInterval (const shared_ptr< CollideSweepSinglePrecisionThermalizedCUDA > &kernel, const shared_ptr< StructuredBlockStorage > &blocks, const CellInterval &globalCellInterval, cell_idx_t ghostLayers=1) |
Public Attributes | |
BlockDataID | forceID |
BlockDataID | pdfsID |
uint32_t | block_offset_0_ |
uint32_t | block_offset_1_ |
uint32_t | block_offset_2_ |
float | kT_ |
float | omega_bulk_ |
float | omega_even_ |
float | omega_odd_ |
float | omega_shear_ |
uint32_t | seed_ |
uint32_t | time_step_ |
bool | configured_ |
Definition at line 55 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
|
inline |
Definition at line 57 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
|
inline |
Definition at line 109 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
References block_offset_0_, block_offset_1_, block_offset_2_, and configured_.
|
inlinestatic |
Definition at line 78 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
|
inline |
Definition at line 94 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
|
inlinestatic |
Definition at line 83 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
References stream.
|
inline |
Definition at line 99 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
References runOnCellInterval(), and stream.
|
inline |
Definition at line 74 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
void walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::run | ( | IBlock * | block, |
gpuStream_t | stream = nullptr |
||
) |
Definition at line 403 of file CollideSweepSinglePrecisionThermalizedCUDA.cu.
References block(), block_offset_0_, block_offset_1_, block_offset_2_, configured_, forceID, kT_, omega_bulk_, omega_even_, omega_odd_, omega_shear_, pdfsID, RESTRICT, seed_, and time_step_.
Referenced by getSweep(), and operator()().
void walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::runOnCellInterval | ( | const shared_ptr< StructuredBlockStorage > & | blocks, |
const CellInterval & | globalCellInterval, | ||
cell_idx_t | ghostLayers, | ||
IBlock * | block, | ||
gpuStream_t | stream = nullptr |
||
) |
Definition at line 448 of file CollideSweepSinglePrecisionThermalizedCUDA.cu.
References block(), block_offset_0_, block_offset_1_, block_offset_2_, configured_, forceID, kT_, omega_bulk_, omega_even_, omega_odd_, omega_shear_, pdfsID, RESTRICT, seed_, and time_step_.
Referenced by getSweepOnCellInterval().
uint32_t walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::block_offset_0_ |
Definition at line 120 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
Referenced by configure(), run(), and runOnCellInterval().
uint32_t walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::block_offset_1_ |
Definition at line 121 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
Referenced by configure(), run(), and runOnCellInterval().
uint32_t walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::block_offset_2_ |
Definition at line 122 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
Referenced by configure(), run(), and runOnCellInterval().
bool walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::configured_ |
Definition at line 130 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
Referenced by configure(), run(), and runOnCellInterval().
BlockDataID walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::forceID |
Definition at line 118 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
Referenced by run(), and runOnCellInterval().
float walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::kT_ |
Definition at line 123 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
Referenced by run(), and runOnCellInterval().
float walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::omega_bulk_ |
Definition at line 124 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
Referenced by run(), and runOnCellInterval().
float walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::omega_even_ |
Definition at line 125 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
Referenced by run(), and runOnCellInterval().
float walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::omega_odd_ |
Definition at line 126 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
Referenced by run(), and runOnCellInterval().
float walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::omega_shear_ |
Definition at line 127 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
Referenced by run(), and runOnCellInterval().
BlockDataID walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::pdfsID |
Definition at line 119 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
Referenced by run(), and runOnCellInterval().
uint32_t walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::seed_ |
Definition at line 128 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
Referenced by run(), and runOnCellInterval().
uint32_t walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::time_step_ |
Definition at line 129 of file CollideSweepSinglePrecisionThermalizedCUDA.h.
Referenced by run(), and runOnCellInterval().