Class for an hilbert order processing of cell keys for CellList implementation.
More...
#include <SFCKeys.hpp>
|
| 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 an hilbert key from the coordinates and add to the getKeys vector. More...
|
| |
| template<typename CellList_type > |
| void | linearize_hkeys (CellList_type &cellList, size_t m) |
| | Get get the coordinates from hilbert key, linearize and add to the getKeys vector. More...
|
| |
|
|
openfpm::vector< size_t > | keys |
| | vector for storing the cell keys
|
| |
|
size_t | m = 0 |
| | Order of an hilbert curve.
|
| |
template<unsigned int dim>
class SFCKeysGrid< dim >
Class for an hilbert order processing of cell keys for CellList implementation.
- Template Parameters
-
| dim | Dimansionality of the space |
Definition at line 150 of file SFCKeys.hpp.
◆ get_hkey()
template<unsigned int dim>
template<typename CellList_type >
Get an hilbert key from the coordinates and add to the getKeys vector.
- Template Parameters
-
| CellList_type | Cell list type |
- Parameters
-
| cellList | Cell list object |
| gridKey | grid key |
| m | order of a curve |
Definition at line 177 of file SFCKeys.hpp.
◆ getKeys()
template<unsigned int dim>
Return cellkeys vector.
- Returns
- vector of cell keys
Definition at line 164 of file SFCKeys.hpp.
◆ linearize_hkeys()
template<unsigned int dim>
template<typename CellList_type >
| void SFCKeysGrid< dim >::linearize_hkeys |
( |
CellList_type & |
cellList, |
|
|
size_t |
m |
|
) |
| |
|
inline |
Get get the coordinates from hilbert key, linearize and add to the getKeys vector.
- Template Parameters
-
| CellList_type | Cell list type |
- Parameters
-
| cellList | Cell list object |
| m | order of a curve |
Definition at line 198 of file SFCKeys.hpp.
The documentation for this class was generated from the following file: