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
base_type.hpp
1
#ifndef BASE_TYPE_HPP
2
#define BASE_TYPE_HPP
3
4
#include <boost/multi_array.hpp>
5
6
template
<
class
T>
7
struct
base_type
8
{
9
typedef
T type;
10
};
11
12
13
template
<
class
T>
14
struct
base_type
<boost::multi_array_ref<T,1>>
15
{
16
typedef
T type;
17
};
18
19
template
<
class
T>
20
struct
base_type
<boost::multi_array_ref<T,2>>
21
{
22
typedef
T type;
23
};
24
25
template
<
class
T>
26
struct
base_type
<boost::multi_array_ref<T,3>>
27
{
28
typedef
T type;
29
};
30
31
template
<
class
T>
32
struct
base_type
<boost::multi_array_ref<T,4>>
33
{
34
typedef
T type;
35
};
36
37
template
<
class
T>
38
struct
base_type
<boost::multi_array_ref<T,5>>
39
{
40
typedef
T type;
41
};
42
43
#endif
base_type
Definition:
base_type.hpp:7
src
base_type.hpp
Generated by
1.8.6