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

#include <CollideSweepDoublePrecisionLeesEdwardsCUDA.h>

Public Member Functions

 CollideSweepDoublePrecisionLeesEdwardsCUDA (BlockDataID forceID_, BlockDataID pdfsID_, double grid_size, double omega_shear, double 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< CollideSweepDoublePrecisionLeesEdwardsCUDA > &kernel)
 
static std::function< void(IBlock *, gpuStream_t)> getSweepOnCellInterval (const shared_ptr< CollideSweepDoublePrecisionLeesEdwardsCUDA > &kernel, const shared_ptr< StructuredBlockStorage > &blocks, const CellInterval &globalCellInterval, cell_idx_t ghostLayers=1)
 

Public Attributes

BlockDataID forceID
 
BlockDataID pdfsID
 
double grid_size_
 
double omega_shear_
 
double v_s_
 

Detailed Description

Definition at line 55 of file CollideSweepDoublePrecisionLeesEdwardsCUDA.h.

Constructor & Destructor Documentation

◆ CollideSweepDoublePrecisionLeesEdwardsCUDA()

walberla::pystencils::CollideSweepDoublePrecisionLeesEdwardsCUDA::CollideSweepDoublePrecisionLeesEdwardsCUDA ( BlockDataID  forceID_,
BlockDataID  pdfsID_,
double  grid_size,
double  omega_shear,
double  v_s 
)
inline

Definition at line 57 of file CollideSweepDoublePrecisionLeesEdwardsCUDA.h.

Member Function Documentation

◆ configure()

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

◆ getSweep() [1/2]

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

Definition at line 75 of file CollideSweepDoublePrecisionLeesEdwardsCUDA.h.

◆ getSweep() [2/2]

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

Definition at line 91 of file CollideSweepDoublePrecisionLeesEdwardsCUDA.h.

References run(), and stream.

◆ getSweepOnCellInterval() [1/2]

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

Definition at line 80 of file CollideSweepDoublePrecisionLeesEdwardsCUDA.h.

References stream.

◆ getSweepOnCellInterval() [2/2]

std::function< void(IBlock *)> walberla::pystencils::CollideSweepDoublePrecisionLeesEdwardsCUDA::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 CollideSweepDoublePrecisionLeesEdwardsCUDA.h.

References runOnCellInterval(), and stream.

◆ operator()()

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

Definition at line 71 of file CollideSweepDoublePrecisionLeesEdwardsCUDA.h.

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

◆ run()

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

◆ runOnCellInterval()

void walberla::pystencils::CollideSweepDoublePrecisionLeesEdwardsCUDA::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::CollideSweepDoublePrecisionLeesEdwardsCUDA::forceID

Definition at line 109 of file CollideSweepDoublePrecisionLeesEdwardsCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ grid_size_

double walberla::pystencils::CollideSweepDoublePrecisionLeesEdwardsCUDA::grid_size_

Definition at line 111 of file CollideSweepDoublePrecisionLeesEdwardsCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ omega_shear_

double walberla::pystencils::CollideSweepDoublePrecisionLeesEdwardsCUDA::omega_shear_

Definition at line 112 of file CollideSweepDoublePrecisionLeesEdwardsCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ pdfsID

BlockDataID walberla::pystencils::CollideSweepDoublePrecisionLeesEdwardsCUDA::pdfsID

Definition at line 110 of file CollideSweepDoublePrecisionLeesEdwardsCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ v_s_

double walberla::pystencils::CollideSweepDoublePrecisionLeesEdwardsCUDA::v_s_

Definition at line 113 of file CollideSweepDoublePrecisionLeesEdwardsCUDA.h.

Referenced by run(), and runOnCellInterval().


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