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

#include <DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA.h>

Public Member Functions

 DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA (BlockDataID jID_, BlockDataID phiID_, BlockDataID rhoID_, double D, double f_ext_0, double f_ext_1, double f_ext_2, double kT, double z)
 
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 getD () const
 
double getF_ext_0 () const
 
double getF_ext_1 () const
 
double getF_ext_2 () const
 
double getKt () const
 
double getZ () const
 
void setD (const double value)
 
void setF_ext_0 (const double value)
 
void setF_ext_1 (const double value)
 
void setF_ext_2 (const double value)
 
void setKt (const double value)
 
void setZ (const double value)
 
void setPhiID (BlockDataID phiID_)
 

Static Public Member Functions

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

Detailed Description

Constructor & Destructor Documentation

◆ DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA()

walberla::pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA::DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA ( BlockDataID  jID_,
BlockDataID  phiID_,
BlockDataID  rhoID_,
double  D,
double  f_ext_0,
double  f_ext_1,
double  f_ext_2,
double  kT,
double  z 
)
inline

Member Function Documentation

◆ configure()

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

◆ getD()

double walberla::pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA::getD ( ) const
inline

◆ getF_ext_0()

double walberla::pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA::getF_ext_0 ( ) const
inline

◆ getF_ext_1()

double walberla::pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA::getF_ext_1 ( ) const
inline

◆ getF_ext_2()

double walberla::pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA::getF_ext_2 ( ) const
inline

◆ getKt()

double walberla::pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA::getKt ( ) const
inline

◆ getSweep() [1/2]

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

◆ getSweep() [2/2]

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

Definition at line 94 of file DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA.h.

References run(), and stream.

◆ getSweepOnCellInterval() [1/2]

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

◆ getSweepOnCellInterval() [2/2]

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

◆ getZ()

double walberla::pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA::getZ ( ) const
inline

◆ operator()()

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

◆ run()

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

Definition at line 97 of file DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA.cu.

References block(), RESTRICT, and stream.

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

◆ runOnCellInterval()

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

◆ setD()

void walberla::pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA::setD ( const double  value)
inline

◆ setF_ext_0()

void walberla::pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA::setF_ext_0 ( const double  value)
inline

◆ setF_ext_1()

void walberla::pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA::setF_ext_1 ( const double  value)
inline

◆ setF_ext_2()

void walberla::pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA::setF_ext_2 ( const double  value)
inline

◆ setKt()

void walberla::pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA::setKt ( const double  value)
inline

◆ setPhiID()

void walberla::pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA::setPhiID ( BlockDataID  phiID_)
inline

◆ setZ()

void walberla::pystencils::DiffusiveFluxKernelWithElectrostatic_double_precision_CUDA::setZ ( const double  value)
inline

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