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

#include <CollideSweepDoublePrecisionThermalizedCUDA.h>

Public Member Functions

 CollideSweepDoublePrecisionThermalizedCUDA (BlockDataID forceID_, BlockDataID pdfsID_, double kT, double omega_bulk, double omega_even, double omega_odd, double 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< CollideSweepDoublePrecisionThermalizedCUDA > &kernel)
 
static std::function< void(IBlock *, gpuStream_t)> getSweepOnCellInterval (const shared_ptr< CollideSweepDoublePrecisionThermalizedCUDA > &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_
 
double kT_
 
double omega_bulk_
 
double omega_even_
 
double omega_odd_
 
double omega_shear_
 
uint32_t seed_
 
uint32_t time_step_
 
bool configured_
 

Detailed Description

Definition at line 55 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

Constructor & Destructor Documentation

◆ CollideSweepDoublePrecisionThermalizedCUDA()

walberla::pystencils::CollideSweepDoublePrecisionThermalizedCUDA::CollideSweepDoublePrecisionThermalizedCUDA ( BlockDataID  forceID_,
BlockDataID  pdfsID_,
double  kT,
double  omega_bulk,
double  omega_even,
double  omega_odd,
double  omega_shear,
uint32_t  seed,
uint32_t  time_step 
)
inline

Definition at line 57 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

Member Function Documentation

◆ configure()

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

◆ getSweep() [1/2]

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

Definition at line 77 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

◆ getSweep() [2/2]

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

Definition at line 93 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

References run(), and stream.

◆ getSweepOnCellInterval() [1/2]

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

Definition at line 82 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

References stream.

◆ getSweepOnCellInterval() [2/2]

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

Definition at line 98 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

References runOnCellInterval(), and stream.

◆ operator()()

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

Definition at line 73 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

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

◆ run()

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

◆ runOnCellInterval()

void walberla::pystencils::CollideSweepDoublePrecisionThermalizedCUDA::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::CollideSweepDoublePrecisionThermalizedCUDA::block_offset_0_

Definition at line 119 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

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

◆ block_offset_1_

uint32_t walberla::pystencils::CollideSweepDoublePrecisionThermalizedCUDA::block_offset_1_

Definition at line 120 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

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

◆ block_offset_2_

uint32_t walberla::pystencils::CollideSweepDoublePrecisionThermalizedCUDA::block_offset_2_

Definition at line 121 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

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

◆ configured_

bool walberla::pystencils::CollideSweepDoublePrecisionThermalizedCUDA::configured_

Definition at line 129 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

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

◆ forceID

BlockDataID walberla::pystencils::CollideSweepDoublePrecisionThermalizedCUDA::forceID

Definition at line 117 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ kT_

double walberla::pystencils::CollideSweepDoublePrecisionThermalizedCUDA::kT_

Definition at line 122 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ omega_bulk_

double walberla::pystencils::CollideSweepDoublePrecisionThermalizedCUDA::omega_bulk_

Definition at line 123 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ omega_even_

double walberla::pystencils::CollideSweepDoublePrecisionThermalizedCUDA::omega_even_

Definition at line 124 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ omega_odd_

double walberla::pystencils::CollideSweepDoublePrecisionThermalizedCUDA::omega_odd_

Definition at line 125 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ omega_shear_

double walberla::pystencils::CollideSweepDoublePrecisionThermalizedCUDA::omega_shear_

Definition at line 126 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ pdfsID

BlockDataID walberla::pystencils::CollideSweepDoublePrecisionThermalizedCUDA::pdfsID

Definition at line 118 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ seed_

uint32_t walberla::pystencils::CollideSweepDoublePrecisionThermalizedCUDA::seed_

Definition at line 127 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().

◆ time_step_

uint32_t walberla::pystencils::CollideSweepDoublePrecisionThermalizedCUDA::time_step_

Definition at line 128 of file CollideSweepDoublePrecisionThermalizedCUDA.h.

Referenced by run(), and runOnCellInterval().


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