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

#include <FixedFlux_single_precision_CUDA.h>

Classes

struct  IndexInfo
 
class  IndexVectors
 

Public Member Functions

 FixedFlux_single_precision_CUDA (const std::shared_ptr< StructuredBlockForest > &blocks, BlockDataID fluxID_, std::function< Vector3< float >(const Cell &, const shared_ptr< StructuredBlockForest > &, IBlock &)> &fluxCallback)
 
void run (IBlock *block, gpuStream_t stream=nullptr)
 
void operator() (IBlock *block, gpuStream_t stream=nullptr)
 
void inner (IBlock *block, gpuStream_t stream=nullptr)
 
void outer (IBlock *block, gpuStream_t stream=nullptr)
 
Vector3< float > getForce (IBlock *)
 
std::function< void(IBlock *)> getSweep (gpuStream_t stream=nullptr)
 
std::function< void(IBlock *)> getInnerSweep (gpuStream_t stream=nullptr)
 
std::function< void(IBlock *)> getOuterSweep (gpuStream_t stream=nullptr)
 
template<typename FlagField_T >
void fillFromFlagField (const std::shared_ptr< StructuredBlockForest > &blocks, ConstBlockDataID flagFieldID, FlagUID boundaryFlagUID, FlagUID domainFlagUID)
 
template<typename FlagField_T >
void fillFromFlagField (const shared_ptr< StructuredBlockForest > &blocks, IBlock *block, ConstBlockDataID flagFieldID, FlagUID boundaryFlagUID, FlagUID domainFlagUID)
 

Public Attributes

BlockDataID fluxID
 

Detailed Description

Definition at line 56 of file FixedFlux_single_precision_CUDA.h.

Constructor & Destructor Documentation

◆ FixedFlux_single_precision_CUDA()

walberla::pystencils::FixedFlux_single_precision_CUDA::FixedFlux_single_precision_CUDA ( const std::shared_ptr< StructuredBlockForest > &  blocks,
BlockDataID  fluxID_,
std::function< Vector3< float >(const Cell &, const shared_ptr< StructuredBlockForest > &, IBlock &)> &  fluxCallback 
)
inline

Definition at line 127 of file FixedFlux_single_precision_CUDA.h.

Member Function Documentation

◆ fillFromFlagField() [1/2]

template<typename FlagField_T >
void walberla::pystencils::FixedFlux_single_precision_CUDA::fillFromFlagField ( const shared_ptr< StructuredBlockForest > &  blocks,
IBlock *  block,
ConstBlockDataID  flagFieldID,
FlagUID  boundaryFlagUID,
FlagUID  domainFlagUID 
)
inline

◆ fillFromFlagField() [2/2]

template<typename FlagField_T >
void walberla::pystencils::FixedFlux_single_precision_CUDA::fillFromFlagField ( const std::shared_ptr< StructuredBlockForest > &  blocks,
ConstBlockDataID  flagFieldID,
FlagUID  boundaryFlagUID,
FlagUID  domainFlagUID 
)
inline

Definition at line 170 of file FixedFlux_single_precision_CUDA.h.

◆ getForce()

Vector3< float > walberla::pystencils::FixedFlux_single_precision_CUDA::getForce ( IBlock *  )
inline

Definition at line 150 of file FixedFlux_single_precision_CUDA.h.

◆ getInnerSweep()

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

Definition at line 161 of file FixedFlux_single_precision_CUDA.h.

References inner(), and stream.

◆ getOuterSweep()

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

Definition at line 165 of file FixedFlux_single_precision_CUDA.h.

References outer(), and stream.

◆ getSweep()

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

Definition at line 157 of file FixedFlux_single_precision_CUDA.h.

References run(), and stream.

◆ inner()

void walberla::pystencils::FixedFlux_single_precision_CUDA::inner ( IBlock *  block,
gpuStream_t  stream = nullptr 
)

◆ operator()()

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

Definition at line 142 of file FixedFlux_single_precision_CUDA.h.

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

◆ outer()

void walberla::pystencils::FixedFlux_single_precision_CUDA::outer ( IBlock *  block,
gpuStream_t  stream = nullptr 
)

◆ run()

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

Member Data Documentation

◆ fluxID

BlockDataID walberla::pystencils::FixedFlux_single_precision_CUDA::fluxID

Definition at line 784 of file FixedFlux_single_precision_CUDA.h.


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