Flow123d  release_3.0.0-1182-ga9abfa7
point.hh
Go to the documentation of this file.
1 /*!
2  *
3  * Copyright (C) 2015 Technical University of Liberec. All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it under
6  * the terms of the GNU General Public License version 3 as published by the
7  * Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12  *
13  *
14  * @file point.hh
15  * @brief
16  */
17 
18 #ifndef POINT_HH_
19 #define POINT_HH_
20 
21 #include <armadillo>
22 
23 
24 /*
25  * TODO:
26  * - This Point notation is used in:
27  * - fields, in particular value and value_list method
28  * - io, output_element, output_mesh
29  * - bih_tree, bounding box
30  * - With own definition in fem/maps... !!
31  * - not used in:
32  * - Mesh, Node
33  * -
34  * Used single Point definition in mesh and reuse it elsewhere.
35  * Do not use it in BIH, in order to make BIH separate library (WIP).
36  * Try to use Armor instead of Armadillo fixed vectors.
37  */
38 
39 template<int spacedim>
40 class Space {
41 public:
42  typedef typename arma::vec::fixed<spacedim> Point;
43 };
44 
45 
46 #endif /* POINT_HH_ */
arma::vec::fixed< spacedim > Point
Definition: point.hh:42
Definition: point.hh:40