OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
BoundaryStencilSetXRescaled< dim, p_src, p_dst, ScalarT > Struct Template Reference

Detailed Description

template<unsigned int dim, unsigned int p_src, unsigned int p_dst, typename ScalarT = float>
struct BoundaryStencilSetXRescaled< dim, p_src, p_dst, ScalarT >

Definition at line 38 of file SparseGridGpu_testKernels.cuh.

Public Types

typedef NNStar< dim > stencil_type
 

Static Public Member Functions

template<typename SparseGridT , typename DataBlockWrapperT >
static __device__ void stencil (SparseGridT &sparseGrid, const unsigned int dataBlockId, openfpm::sparse_index< unsigned int > dataBlockIdPos, unsigned int offset, grid_key_dx< dim, int > &pointCoord, DataBlockWrapperT &dataBlockLoad, DataBlockWrapperT &dataBlockStore, unsigned char curMask, ScalarT minX, ScalarT maxX, ScalarT minValue, ScalarT maxValue)
 
template<typename SparseGridT , typename CtxT >
static void __host__ flush (SparseGridT &sparseGrid, CtxT &ctx)
 

Static Public Attributes

static constexpr unsigned int supportRadius = 1
 

Member Typedef Documentation

◆ stencil_type

template<unsigned int dim, unsigned int p_src, unsigned int p_dst, typename ScalarT = float>
typedef NNStar<dim> BoundaryStencilSetXRescaled< dim, p_src, p_dst, ScalarT >::stencil_type

Definition at line 42 of file SparseGridGpu_testKernels.cuh.

Member Function Documentation

◆ flush()

template<unsigned int dim, unsigned int p_src, unsigned int p_dst, typename ScalarT = float>
template<typename SparseGridT , typename CtxT >
static void __host__ BoundaryStencilSetXRescaled< dim, p_src, p_dst, ScalarT >::flush ( SparseGridT &  sparseGrid,
CtxT &  ctx 
)
inlinestatic

Definition at line 76 of file SparseGridGpu_testKernels.cuh.

◆ stencil()

template<unsigned int dim, unsigned int p_src, unsigned int p_dst, typename ScalarT = float>
template<typename SparseGridT , typename DataBlockWrapperT >
static __device__ void BoundaryStencilSetXRescaled< dim, p_src, p_dst, ScalarT >::stencil ( SparseGridT &  sparseGrid,
const unsigned int  dataBlockId,
openfpm::sparse_index< unsigned int >  dataBlockIdPos,
unsigned int  offset,
grid_key_dx< dim, int > &  pointCoord,
DataBlockWrapperT &  dataBlockLoad,
DataBlockWrapperT &  dataBlockStore,
unsigned char  curMask,
ScalarT  minX,
ScalarT  maxX,
ScalarT  minValue,
ScalarT  maxValue 
)
inlinestatic

Definition at line 47 of file SparseGridGpu_testKernels.cuh.

Field Documentation

◆ supportRadius

template<unsigned int dim, unsigned int p_src, unsigned int p_dst, typename ScalarT = float>
constexpr unsigned int BoundaryStencilSetXRescaled< dim, p_src, p_dst, ScalarT >::supportRadius = 1
staticconstexpr

Definition at line 44 of file SparseGridGpu_testKernels.cuh.


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