ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <InitialPDFsSetterSinglePrecisionCUDA.h>
Public Member Functions | |
InitialPDFsSetterSinglePrecisionCUDA (BlockDataID forceID_, BlockDataID pdfsID_, BlockDataID velocityID_, float rho_0) | |
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< InitialPDFsSetterSinglePrecisionCUDA > &kernel) |
static std::function< void(IBlock *, gpuStream_t)> | getSweepOnCellInterval (const shared_ptr< InitialPDFsSetterSinglePrecisionCUDA > &kernel, const shared_ptr< StructuredBlockStorage > &blocks, const CellInterval &globalCellInterval, cell_idx_t ghostLayers=1) |
Public Attributes | |
BlockDataID | forceID |
BlockDataID | pdfsID |
BlockDataID | velocityID |
float | rho_0_ |
Definition at line 55 of file InitialPDFsSetterSinglePrecisionCUDA.h.
|
inline |
Definition at line 57 of file InitialPDFsSetterSinglePrecisionCUDA.h.
|
inline |
Definition at line 105 of file InitialPDFsSetterSinglePrecisionCUDA.h.
|
inlinestatic |
Definition at line 75 of file InitialPDFsSetterSinglePrecisionCUDA.h.
|
inline |
Definition at line 90 of file InitialPDFsSetterSinglePrecisionCUDA.h.
|
inlinestatic |
Definition at line 79 of file InitialPDFsSetterSinglePrecisionCUDA.h.
References stream.
|
inline |
Definition at line 95 of file InitialPDFsSetterSinglePrecisionCUDA.h.
References runOnCellInterval(), and stream.
|
inline |
Definition at line 70 of file InitialPDFsSetterSinglePrecisionCUDA.h.
void walberla::pystencils::InitialPDFsSetterSinglePrecisionCUDA::run | ( | IBlock * | block, |
gpuStream_t | stream = nullptr |
||
) |
Definition at line 81 of file InitialPDFsSetterSinglePrecisionCUDA.cu.
References block(), forceID, pdfsID, RESTRICT, rho_0_, velocity(), and velocityID.
Referenced by getSweep(), and operator()().
void walberla::pystencils::InitialPDFsSetterSinglePrecisionCUDA::runOnCellInterval | ( | const shared_ptr< StructuredBlockStorage > & | blocks, |
const CellInterval & | globalCellInterval, | ||
cell_idx_t | ghostLayers, | ||
IBlock * | block, | ||
gpuStream_t | stream = nullptr |
||
) |
Definition at line 123 of file InitialPDFsSetterSinglePrecisionCUDA.cu.
References block(), forceID, pdfsID, RESTRICT, rho_0_, velocity(), and velocityID.
Referenced by getSweepOnCellInterval().
BlockDataID walberla::pystencils::InitialPDFsSetterSinglePrecisionCUDA::forceID |
Definition at line 108 of file InitialPDFsSetterSinglePrecisionCUDA.h.
Referenced by run(), and runOnCellInterval().
BlockDataID walberla::pystencils::InitialPDFsSetterSinglePrecisionCUDA::pdfsID |
Definition at line 109 of file InitialPDFsSetterSinglePrecisionCUDA.h.
Referenced by run(), and runOnCellInterval().
float walberla::pystencils::InitialPDFsSetterSinglePrecisionCUDA::rho_0_ |
Definition at line 111 of file InitialPDFsSetterSinglePrecisionCUDA.h.
Referenced by run(), and runOnCellInterval().
BlockDataID walberla::pystencils::InitialPDFsSetterSinglePrecisionCUDA::velocityID |
Definition at line 110 of file InitialPDFsSetterSinglePrecisionCUDA.h.
Referenced by run(), and runOnCellInterval().