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

#include <UpdateVelFromPDFSinglePrecisionCUDA.h>

Public Member Functions

 UpdateVelFromPDFSinglePrecisionCUDA (BlockDataID forceID_, BlockDataID pdfsID_, BlockDataID velocityID_)
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 *)

Static Public Member Functions

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

Detailed Description

Definition at line 55 of file UpdateVelFromPDFSinglePrecisionCUDA.h.

Constructor & Destructor Documentation

◆ UpdateVelFromPDFSinglePrecisionCUDA()

walberla::pystencils::UpdateVelFromPDFSinglePrecisionCUDA::UpdateVelFromPDFSinglePrecisionCUDA ( BlockDataID forceID_,
BlockDataID pdfsID_,
BlockDataID velocityID_ )
inline

Definition at line 57 of file UpdateVelFromPDFSinglePrecisionCUDA.h.

Member Function Documentation

◆ configure()

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

Definition at line 103 of file UpdateVelFromPDFSinglePrecisionCUDA.h.

◆ getSweep() [1/2]

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

Definition at line 73 of file UpdateVelFromPDFSinglePrecisionCUDA.h.

◆ getSweep() [2/2]

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

Definition at line 88 of file UpdateVelFromPDFSinglePrecisionCUDA.h.

References run(), and stream.

◆ getSweepOnCellInterval() [1/2]

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

Definition at line 93 of file UpdateVelFromPDFSinglePrecisionCUDA.h.

References runOnCellInterval(), and stream.

◆ getSweepOnCellInterval() [2/2]

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

Definition at line 77 of file UpdateVelFromPDFSinglePrecisionCUDA.h.

References stream.

◆ operator()()

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

Definition at line 68 of file UpdateVelFromPDFSinglePrecisionCUDA.h.

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

◆ run()

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

Definition at line 72 of file UpdateVelFromPDFSinglePrecisionCUDA.cu.

References block(), RESTRICT, stream, and velocity().

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

◆ runOnCellInterval()

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

Definition at line 113 of file UpdateVelFromPDFSinglePrecisionCUDA.cu.

References block(), RESTRICT, stream, and velocity().

Referenced by getSweepOnCellInterval().


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