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

#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_
 

Detailed Description

Definition at line 55 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

Constructor & Destructor Documentation

◆ CollideSweepSinglePrecisionThermalizedCUDA()

walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::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 
)
inline

Definition at line 57 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

Member Function Documentation

◆ configure()

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

◆ getSweep() [1/2]

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

Definition at line 78 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

◆ getSweep() [2/2]

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

Definition at line 94 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

References run(), and stream.

◆ getSweepOnCellInterval() [1/2]

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

Definition at line 83 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

References stream.

◆ getSweepOnCellInterval() [2/2]

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

Definition at line 99 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

References runOnCellInterval(), and stream.

◆ operator()()

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

Definition at line 74 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

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

◆ run()

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

◆ runOnCellInterval()

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

Member Data Documentation

◆ block_offset_0_

uint32_t walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::block_offset_0_

Definition at line 120 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

Referenced by configure(), run(), and runOnCellInterval().

◆ block_offset_1_

uint32_t walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::block_offset_1_

Definition at line 121 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

Referenced by configure(), run(), and runOnCellInterval().

◆ block_offset_2_

uint32_t walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::block_offset_2_

Definition at line 122 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

Referenced by configure(), run(), and runOnCellInterval().

◆ configured_

bool walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::configured_

Definition at line 130 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

Referenced by configure(), run(), and runOnCellInterval().

◆ forceID

BlockDataID walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::forceID

Definition at line 118 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ kT_

float walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::kT_

Definition at line 123 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ omega_bulk_

float walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::omega_bulk_

Definition at line 124 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ omega_even_

float walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::omega_even_

Definition at line 125 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ omega_odd_

float walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::omega_odd_

Definition at line 126 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ omega_shear_

float walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::omega_shear_

Definition at line 127 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ pdfsID

BlockDataID walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::pdfsID

Definition at line 119 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ seed_

uint32_t walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::seed_

Definition at line 128 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ time_step_

uint32_t walberla::pystencils::CollideSweepSinglePrecisionThermalizedCUDA::time_step_

Definition at line 129 of file CollideSweepSinglePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().


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