OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
NNStar< dim > Struct Template Reference

Detailed Description

template<unsigned int dim>
struct NNStar< dim >

Definition at line 87 of file SparseGridGpu_ker_util.hpp.

Static Public Member Functions

template<typename indexT , typename blockCoord_type , typename blockMap_type , typename SparseGrid_type >
static __device__ indexT getNNpos (blockCoord_type &blockCoord, blockMap_type &blockMap, SparseGrid_type &sparseGrid, const unsigned int offset)
 
template<typename indexT , unsigned int blockEdgeSize, typename coordType >
static __host__ indexT getNNskin (coordType &coord, int stencilSupportRadius)
 
template<typename sparseGrid_type , typename coord_type , typename Mask_type , unsigned int eb_size>
static __device__ bool isPadding (sparseGrid_type &sparseGrid, coord_type &coord, Mask_type(&enlargedBlock)[eb_size])
 
static __device__ bool getNNindex_offset ()
 given a coordinate give the neighborhood chunk position and the offset in the neighborhood chunk More...
 

Static Public Attributes

static const int nNN = IntPow<2, dim>::value
 

Member Function Documentation

◆ getNNindex_offset()

template<unsigned int dim>
static __device__ bool NNStar< dim >::getNNindex_offset ( )
inlinestatic

given a coordinate give the neighborhood chunk position and the offset in the neighborhood chunk

Definition at line 163 of file SparseGridGpu_ker_util.hpp.


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