template<unsigned int dim>
struct NNFull< dim >
Definition at line 262 of file SparseGridGpu.hpp.
|
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]) |
|
template<unsigned int blockEdgeSize, typename indexT2 > |
static __device__ bool | getNNindex_offset (grid_key_dx< dim, indexT2 > &coord, unsigned int &NN_index, unsigned int &offset_nn) |
| given a coordinate writtel in local coordinate for a given it return the neighborhood chunk position and the offset in the neighborhood chunk
|
|
◆ getNNindex_offset()
template<unsigned int dim>
template<unsigned int blockEdgeSize, typename indexT2 >
static __device__ bool NNFull< dim >::getNNindex_offset |
( |
grid_key_dx< dim, indexT2 > & |
coord, |
|
|
unsigned int & |
NN_index, |
|
|
unsigned int & |
offset_nn |
|
) |
| |
|
inlinestatic |
given a coordinate writtel in local coordinate for a given it return the neighborhood chunk position and the offset in the neighborhood chunk
- Parameters
-
coord | local coordinated |
NN_index | index of the neighborhood chunk |
offset_nn | offset in local coordinates |
- Returns
- true if it is inside false otherwise
Definition at line 336 of file SparseGridGpu.hpp.
◆ getNNpos()
template<unsigned int dim>
template<typename indexT , typename blockCoord_type , typename blockMap_type , typename SparseGrid_type >
static __device__ indexT NNFull< dim >::getNNpos |
( |
blockCoord_type & |
blockCoord, |
|
|
blockMap_type & |
blockMap, |
|
|
SparseGrid_type & |
sparseGrid, |
|
|
const unsigned int |
offset |
|
) |
| |
|
inlinestatic |
◆ getNNskin()
template<unsigned int dim>
template<typename indexT , unsigned int blockEdgeSize, typename coordType >
static __host__ indexT NNFull< dim >::getNNskin |
( |
coordType & |
coord, |
|
|
int |
stencilSupportRadius |
|
) |
| |
|
inlinestatic |
◆ isPadding()
template<unsigned int dim>
template<typename sparseGrid_type , typename coord_type , typename Mask_type , unsigned int eb_size>
static __device__ bool NNFull< dim >::isPadding |
( |
sparseGrid_type & |
sparseGrid, |
|
|
coord_type & |
coord, |
|
|
Mask_type(&) |
enlargedBlock[eb_size] |
|
) |
| |
|
inlinestatic |
◆ nNN
template<unsigned int dim>
The documentation for this struct was generated from the following file: