OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
Process_keys_lin< dim, CellList > Class Template Reference

Detailed Description

template<unsigned int dim, typename CellList>
class Process_keys_lin< dim, CellList >

Definition at line 21 of file ProcKeys.hpp.

Public Types

typedef ParticleIt_CellP
< CellList
Pit
 Particle Iterator produced by this key generator.
 

Public Member Functions

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

Private Attributes

openfpm::vector< size_t > keys
 stub object
 

Member Function Documentation

template<unsigned int dim, typename CellList >
template<typename S >
void Process_keys_lin< dim, CellList >::get_hkey ( S &  obj,
grid_key_dx< dim >  gk,
size_t  m 
)
inline

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

Template Parameters
SCell list type
Parameters
objCell list object
gkgrid key
morder of a curve

Definition at line 49 of file ProcKeys.hpp.

template<unsigned int dim, typename CellList >
const openfpm::vector<size_t>& Process_keys_lin< dim, CellList >::getKeys ( ) const
inline

Return cellkeys vector.

Returns
vector of cell keys

Definition at line 36 of file ProcKeys.hpp.


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