OpenFPM_data
0.1.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
All
Data Structures
Namespaces
Functions
Variables
Typedefs
Friends
CellList.hpp
1
/*
2
* CellList.hpp
3
*
4
* Created on: Mar 21, 2015
5
* Author: Pietro Incardona
6
*/
7
8
#ifndef CELLLIST_HPP_
9
#define CELLLIST_HPP_
10
11
#include "Vector/map_vector.hpp"
12
#include "CellDecomposer.hpp"
13
15
#define CELL_REALLOC 16ul
16
17
/* NOTE all the implementations
18
*
19
* has complexity O(1) in getting the cell id and the elements in a cell
20
* but with different constants
21
*
22
*/
23
24
// Fastest implementation of the Cell list
25
#define FAST 1
26
// Balanced memory and speed wise implementation of the cell list
27
#define BALANCED 2
28
// Memory wise of the Cell list
29
#define MEMORY 3
30
31
39
template
<
unsigned
int
dim,
typename
T,
unsigned
int
impl=FAST,
typename
transform = no_transform<dim,T>,
typename
base=openfpm::vector<T>>
40
class
CellList
41
{
42
};
43
44
#include "CellListFast.hpp"
45
#include "CellListBal.hpp"
46
#include "CellListMem.hpp"
47
48
#endif
/* CELLLIST_HPP_ */
CellList
Cell list structure.
Definition:
CellList.hpp:40
src
NN
CellList
CellList.hpp
Generated by
1.8.6