OpenFPM  5.2.0
Project that contain the implementation of distributed structures
SFCKeysLinear< dim > Class Template Reference

Public Member Functions

const openfpm::vector< size_t > & getKeys () const
 Return cellkeys vector. More...
 
template<typename CellList_type >
void get_hkey (CellList_type &cellList, grid_key_dx< dim > gridKey, size_t m)
 Get a linear (1D-like) key from the coordinates and add to the getKeys vector. More...
 
template<typename CellList_type >
void linearize_hkeys (CellList_type &cellList, size_t m)
 

Private Attributes

openfpm::vector< size_t > keys
 stub object
 

Detailed Description

template<unsigned int dim>
class SFCKeysLinear< dim >

Definition at line 21 of file SFCKeys.hpp.

Member Function Documentation

◆ get_hkey()

template<unsigned int dim>
template<typename CellList_type >
void SFCKeysLinear< dim >::get_hkey ( CellList_type &  cellList,
grid_key_dx< dim >  gridKey,
size_t  m 
)
inline

Get a linear (1D-like) key from the coordinates and add to the getKeys vector.

Template Parameters
CellList_typeCell list type
Parameters
cellListCell list object
gridKeygrid key
morder of a curve

Definition at line 45 of file SFCKeys.hpp.

◆ getKeys()

template<unsigned int dim>
const openfpm::vector<size_t>& SFCKeysLinear< dim >::getKeys ( ) const
inline

Return cellkeys vector.

Returns
vector of cell keys

Definition at line 32 of file SFCKeys.hpp.


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