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

#include <DiffusiveFluxKernelThermalized_single_precision_CUDA.h>

Public Member Functions

 DiffusiveFluxKernelThermalized_single_precision_CUDA (BlockDataID jID_, BlockDataID rhoID_, float D, uint32_t field_size_0, uint32_t field_size_1, uint32_t field_size_2, 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)
 
float getD () const
 
uint32_t getBlock_offset_0 () const
 
uint32_t getBlock_offset_1 () const
 
uint32_t getBlock_offset_2 () const
 
uint32_t getField_size_0 () const
 
uint32_t getField_size_1 () const
 
uint32_t getField_size_2 () const
 
uint32_t getSeed () const
 
uint32_t getTime_step () const
 
void setD (const float value)
 
void setBlock_offset_0 (const uint32_t value)
 
void setBlock_offset_1 (const uint32_t value)
 
void setBlock_offset_2 (const uint32_t value)
 
void setField_size_0 (const uint32_t value)
 
void setField_size_1 (const uint32_t value)
 
void setField_size_2 (const uint32_t value)
 
void setSeed (const uint32_t value)
 
void setTime_step (const uint32_t value)
 

Static Public Member Functions

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

Detailed Description

Constructor & Destructor Documentation

◆ DiffusiveFluxKernelThermalized_single_precision_CUDA()

walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::DiffusiveFluxKernelThermalized_single_precision_CUDA ( BlockDataID  jID_,
BlockDataID  rhoID_,
float  D,
uint32_t  field_size_0,
uint32_t  field_size_1,
uint32_t  field_size_2,
uint32_t  seed,
uint32_t  time_step 
)
inline

Member Function Documentation

◆ configure()

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

◆ getBlock_offset_0()

uint32_t walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::getBlock_offset_0 ( ) const
inline

◆ getBlock_offset_1()

uint32_t walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::getBlock_offset_1 ( ) const
inline

◆ getBlock_offset_2()

uint32_t walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::getBlock_offset_2 ( ) const
inline

◆ getD()

float walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::getD ( ) const
inline

◆ getField_size_0()

uint32_t walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::getField_size_0 ( ) const
inline

◆ getField_size_1()

uint32_t walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::getField_size_1 ( ) const
inline

◆ getField_size_2()

uint32_t walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::getField_size_2 ( ) const
inline

◆ getSeed()

uint32_t walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::getSeed ( ) const
inline

◆ getSweep() [1/2]

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

◆ getSweep() [2/2]

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

Definition at line 98 of file DiffusiveFluxKernelThermalized_single_precision_CUDA.h.

References run(), and stream.

◆ getSweepOnCellInterval() [1/2]

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

Definition at line 86 of file DiffusiveFluxKernelThermalized_single_precision_CUDA.h.

References stream.

◆ getSweepOnCellInterval() [2/2]

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

◆ getTime_step()

uint32_t walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::getTime_step ( ) const
inline

◆ operator()()

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

Definition at line 76 of file DiffusiveFluxKernelThermalized_single_precision_CUDA.h.

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

◆ run()

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

Definition at line 424 of file DiffusiveFluxKernelThermalized_single_precision_CUDA.cu.

References block(), and RESTRICT.

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

◆ runOnCellInterval()

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

Definition at line 466 of file DiffusiveFluxKernelThermalized_single_precision_CUDA.cu.

References block(), and RESTRICT.

Referenced by getSweepOnCellInterval().

◆ setBlock_offset_0()

void walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::setBlock_offset_0 ( const uint32_t  value)
inline

◆ setBlock_offset_1()

void walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::setBlock_offset_1 ( const uint32_t  value)
inline

◆ setBlock_offset_2()

void walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::setBlock_offset_2 ( const uint32_t  value)
inline

◆ setD()

void walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::setD ( const float  value)
inline

◆ setField_size_0()

void walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::setField_size_0 ( const uint32_t  value)
inline

◆ setField_size_1()

void walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::setField_size_1 ( const uint32_t  value)
inline

◆ setField_size_2()

void walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::setField_size_2 ( const uint32_t  value)
inline

◆ setSeed()

void walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::setSeed ( const uint32_t  value)
inline

◆ setTime_step()

void walberla::pystencils::DiffusiveFluxKernelThermalized_single_precision_CUDA::setTime_step ( const uint32_t  value)
inline

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