OpenFPM  5.2.0
Project that contain the implementation of distributed structures
CellDecomposer_gpu_ker< dim, T, ids_type, transform_type > Class Template Reference
+ Inheritance diagram for CellDecomposer_gpu_ker< dim, T, ids_type, transform_type >:

Public Member Functions

__device__ __host__ CellDecomposer_gpu_ker (openfpm::array< T, dim > &unitCellP2, openfpm::array< ids_type, dim > &numCellDiv, openfpm::array< ids_type, dim > &cellPadDim, const transform_type &pointTransform)
 
__device__ __host__ CellDecomposer_gpu_ker (openfpm::array< T, dim > &unitCellP2, openfpm::array< ids_type, dim > &numCellDiv, openfpm::array< ids_type, dim > &cellPadDim, const transform_type &pointTransform, Box< dim, T > cellListSpaceBox, grid_sm< dim, void > cellListGrid, Point< dim, long int > cellShift)
 
__device__ __host__ grid_sm< dim, void > getGrid ()
 
__device__ __host__ void getGridSize (size_t(&sz)[dim]) const
 
template<typename ids_type2 >
__device__ __host__ mem_id getGridLinId (const grid_key_dx< dim, ids_type2 > &gk) const
 
__device__ __host__ grid_key_dx< dim, ids_type > getCell (const Point< dim, T > &xp) const
 
__device__ __host__ unsigned int LinId (const grid_key_dx< dim, ids_type > &k) const
 
__device__ const openfpm::array< T, dim > & get_spacing_c () const
 
__device__ __host__ const openfpm::array< ids_type, dim > & get_div_c () const
 
__device__ __host__ const openfpm::array< ids_type, dim > & get_off () const
 
__device__ __host__ const transform_type & get_t () const
 
__device__ __host__ grid_key_dx< dim > getCellGrid (const T(&pos)[dim]) const
 
__device__ __host__ grid_key_dx< dim > getCellGrid (const Point< dim, T > &pos) const
 
__device__ __host__ size_t ConvertToID (const T(&x)[dim], size_t s) const
 
__device__ __host__ size_t ConvertToID (const Point< dim, T > &x, size_t s, size_t sc=0) const
 

Private Attributes

openfpm::array< T, dim > unitCellP2
 Spacing.
 
openfpm::array< ids_type, dim > numCellDiv
 number of sub-divisions in each direction
 
openfpm::array< ids_type, dim > cellPadDim
 cell offset
 
transform_type pointTransform
 transformation
 
Box< dim, T > cellListSpaceBox
 Unit box of the Cell list.
 
grid_sm< dim, void > cellListGrid
 Grid structure of the Cell list.
 
Point< dim, long int > cellShift
 cellShift
 

Detailed Description

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

Definition at line 18 of file CellDecomposer_gpu_ker.cuh.


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