OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
trash_bin.hpp
1 /*
2  * trash_bin.hpp
3  *
4  * Created on: Nov 24, 2014
5  * Author: i-bird
6  */
7 
8 #ifndef TRASH_BIN_HPP_
9 #define TRASH_BIN_HPP_
10 
11 
20 template<typename T>
21 class E_p
22 {
23 public:
25  typedef typename boost::fusion::result_of::push_front<typename T::type, size_t>::type E_a;
26 
28  typedef E_a type;
29 
30  E_a data;
31 };
32 
41 template<typename T>
42 class V_p
43 {
44 public:
46  typedef typename boost::fusion::result_of::push_front<typename T::type, size_t>::type V_a;
47 
49  typedef V_a type;
50 
51  V_a data;
52 };
53 
54 
55 #endif /* TRASH_BIN_HPP_ */
56 
57 
66 /* template <unsigned int p>inline typename type_cpu_prop<p,T>::type & getBoostVector(grid_key_dx<dim> & v1)
67 {
68 #ifdef MEMLEAK_CHECK
69  check_valid(&boost::fusion::at_c<p>(data.mem_r->operator[](g1.LinId(v1))));
70 #endif
71  return boost::fusion::at_c<p>(data.mem_r->operator[](g1.LinId(v1)));
72 }*/
boost::fusion::result_of::push_front< typename T::type, size_t >::type E_a
insert a size_t property to the boost::vector
Definition: trash_bin.hpp:25
boost::fusion::result_of::push_front< typename T::type, size_t >::type V_a
insert a size_t property to the boost::vector
Definition: trash_bin.hpp:46
V_a type
type for the vertex
Definition: trash_bin.hpp:49
Vertex class that encapsulate an object T.
Definition: trash_bin.hpp:42
E_a type
type for the edge
Definition: trash_bin.hpp:28
Edge class that encapsulate an object T.
Definition: trash_bin.hpp:21