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

#include <ReactionKernelBulk_1_double_precision_CUDA.h>

Public Member Functions

 ReactionKernelBulk_1_double_precision_CUDA (BlockDataID rho_0ID_, double order_0, double rate_coefficient, double stoech_0)
 
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 *)
 
double getOrder_0 () const
 
double getRate_coefficient () const
 
double getStoech_0 () const
 
void setOrder_0 (const double value)
 
void setRate_coefficient (const double value)
 
void setStoech_0 (const double value)
 

Static Public Member Functions

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

Detailed Description

Definition at line 57 of file ReactionKernelBulk_1_double_precision_CUDA.h.

Constructor & Destructor Documentation

◆ ReactionKernelBulk_1_double_precision_CUDA()

walberla::pystencils::ReactionKernelBulk_1_double_precision_CUDA::ReactionKernelBulk_1_double_precision_CUDA ( BlockDataID  rho_0ID_,
double  order_0,
double  rate_coefficient,
double  stoech_0 
)
inline

Definition at line 59 of file ReactionKernelBulk_1_double_precision_CUDA.h.

Member Function Documentation

◆ configure()

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

◆ getOrder_0()

double walberla::pystencils::ReactionKernelBulk_1_double_precision_CUDA::getOrder_0 ( ) const
inline

◆ getRate_coefficient()

double walberla::pystencils::ReactionKernelBulk_1_double_precision_CUDA::getRate_coefficient ( ) const
inline

◆ getStoech_0()

double walberla::pystencils::ReactionKernelBulk_1_double_precision_CUDA::getStoech_0 ( ) const
inline

◆ getSweep() [1/2]

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

Definition at line 77 of file ReactionKernelBulk_1_double_precision_CUDA.h.

◆ getSweep() [2/2]

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

Definition at line 93 of file ReactionKernelBulk_1_double_precision_CUDA.h.

References run(), and stream.

◆ getSweepOnCellInterval() [1/2]

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

Definition at line 82 of file ReactionKernelBulk_1_double_precision_CUDA.h.

References stream.

◆ getSweepOnCellInterval() [2/2]

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

References runOnCellInterval(), and stream.

◆ operator()()

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

Definition at line 73 of file ReactionKernelBulk_1_double_precision_CUDA.h.

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

◆ run()

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

Definition at line 61 of file ReactionKernelBulk_1_double_precision_CUDA.cu.

References block(), RESTRICT, and stream.

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

◆ runOnCellInterval()

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

Definition at line 84 of file ReactionKernelBulk_1_double_precision_CUDA.cu.

References block(), RESTRICT, and stream.

Referenced by getSweepOnCellInterval().

◆ setOrder_0()

void walberla::pystencils::ReactionKernelBulk_1_double_precision_CUDA::setOrder_0 ( const double  value)
inline

◆ setRate_coefficient()

void walberla::pystencils::ReactionKernelBulk_1_double_precision_CUDA::setRate_coefficient ( const double  value)
inline

◆ setStoech_0()

void walberla::pystencils::ReactionKernelBulk_1_double_precision_CUDA::setStoech_0 ( const double  value)
inline

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