Flow123d
point.hh
Go to the documentation of this file.
1 /*
2  * point.hh
3  *
4  * Created on: Nov 27, 2012
5  * Author: jb
6  */
7 
8 #ifndef POINT_HH_
9 #define POINT_HH_
10 
11 #include <armadillo>
12 
13 
14 //#if HAVE_CXX11
15 
16 /*
17  * TODO:
18  * need better resolution of various C++11 functionalities
19  * e.g. following is supported from GCC 4.7
20  */
21 
22 //template <int spacedim>
23 //using Point = arma::vec::fixed<spacedim>
24 
25 //#else
26 
27 template<int spacedim>
28 class Space {
29 public:
30  typedef typename arma::vec::fixed<spacedim> Point;
31 };
32 //#define
33 
34 //#endif
35 
36 
37 #endif /* POINT_HH_ */