OpenFPM  5.2.0
Project that contain the implementation of distributed structures
CellList_util.hpp
1 /*
2  * CellList_util.hpp
3  *
4  * Created on: Oct 20, 2016
5  * Author: i-bird
6  */
7 
8 #ifndef OPENFPM_DATA_SRC_NN_CELLLIST_CELLLIST_UTIL_HPP_
9 #define OPENFPM_DATA_SRC_NN_CELLLIST_CELLLIST_UTIL_HPP_
10 
11 #include "util/ofp_context.hpp"
12 
13 #include "Vector/map_vector.hpp"
14 
19 template<typename vector_pos_type>
20 struct pos_v
21 {
22  vector_pos_type & pos;
23 
24  pos_v(vector_pos_type & pos)
25  :pos(pos)
26  {}
27 };
28 
29 #endif /* OPENFPM_DATA_SRC_NN_CELLLIST_CELLLIST_UTIL_HPP_ */
Structure that contain a reference to a vector of particles.