OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
CellDecomposer_gpu_ker< dim, T, cnt_type, ids_type, transform > Class Template Reference

Detailed Description

template<unsigned int dim, typename T, typename cnt_type, typename ids_type, typename transform>
class CellDecomposer_gpu_ker< dim, T, cnt_type, ids_type, transform >

Definition at line 18 of file CellDecomposer_gpu_ker.cuh.

+ Inheritance diagram for CellDecomposer_gpu_ker< dim, T, cnt_type, ids_type, transform >:

Public Member Functions

__device__ __host__ CellDecomposer_gpu_ker (openfpm::array< T, dim, cnt_type > &spacing_c, openfpm::array< ids_type, dim, cnt_type > &div_c, openfpm::array< ids_type, dim, cnt_type > &off, const transform &t)
 
__host__ grid_sm< dim, void > getGrid ()
 
__device__ __host__ grid_key_dx< dim, ids_type > getCell (const Point< dim, T > &xp) const
 
__device__ __host__ cnt_type LinId (const grid_key_dx< dim, ids_type > &k) const
 
__device__ const openfpm::array< T, dim, cnt_type > & get_spacing_c () const
 
__device__ __host__ const openfpm::array< ids_type, dim, cnt_type > & get_div_c () const
 
__device__ __host__ const openfpm::array< ids_type, dim, cnt_type > & get_off () const
 
__device__ __host__ const transform & get_t () const
 

Private Attributes

openfpm::array< T, dim, cnt_type > spacing_c
 Spacing.
 
openfpm::array< ids_type, dim, cnt_type > div_c
 number of sub-divisions in each direction
 
openfpm::array< ids_type, dim, cnt_type > off
 cell offset
 
transform t
 transformation
 

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