OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
LaplacianStencil< dim, p > Struct Template Reference

Detailed Description

template<unsigned int dim, unsigned int p>
struct LaplacianStencil< dim, p >

Definition at line 154 of file SparseGridGpu_tests.cu.

Static Public Member Functions

template<typename SparseGridT , typename DataBlockWrapperT >
static __device__ void stencil (SparseGridT &sparseGrid, grid_key_dx< dim, int > &dataBlockCoord, unsigned int offset, grid_key_dx< dim, int > &pointCoord, DataBlockWrapperT &dataBlockLoad, DataBlockWrapperT &dataBlockStore)
 
template<typename SparseGridT , typename CtxT >
static void __host__ flush (SparseGridT &sparseGrid, CtxT &ctx)
 

Static Public Attributes

static constexpr unsigned int supportRadius = 1
 

Member Function Documentation

◆ flush()

template<unsigned int dim, unsigned int p>
template<typename SparseGridT , typename CtxT >
static void __host__ LaplacianStencil< dim, p >::flush ( SparseGridT &  sparseGrid,
CtxT &  ctx 
)
inlinestatic

Definition at line 199 of file SparseGridGpu_tests.cu.

◆ stencil()

template<unsigned int dim, unsigned int p>
template<typename SparseGridT , typename DataBlockWrapperT >
static __device__ void LaplacianStencil< dim, p >::stencil ( SparseGridT &  sparseGrid,
grid_key_dx< dim, int > &  dataBlockCoord,
unsigned int  offset,
grid_key_dx< dim, int > &  pointCoord,
DataBlockWrapperT &  dataBlockLoad,
DataBlockWrapperT &  dataBlockStore 
)
inlinestatic

Definition at line 161 of file SparseGridGpu_tests.cu.

Field Documentation

◆ supportRadius

template<unsigned int dim, unsigned int p>
constexpr unsigned int LaplacianStencil< dim, p >::supportRadius = 1
staticconstexpr

Definition at line 158 of file SparseGridGpu_tests.cu.


The documentation for this struct was generated from the following file: