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
Point_orig.hpp
1 /*
2  * Point_orig.hpp
3  *
4  * Created on: Jun 7, 2015
5  * Author: i-bird
6  */
7 
8 #ifndef POINT_ORIG_HPP_
9 #define POINT_ORIG_HPP_
10 
19 template<typename T> class Point_orig
20 {
21 public:
22 
23  T x;
24  T y;
25  T z;
26 
27  T s;
28 
29  T v[3];
30  T t[3][3];
31 
32  inline void setx(T x_) {x = x_;};
33  inline void sety(T y_) {y = y_;};
34  inline void setz(T z_) {z = z_;};
35  inline void sets(T s_) {s = s_;};
36 };
37 
38 
39 
40 #endif /* POINT_ORIG_HPP_ */
Definition of a class Point in plain C++ and boost::vector for testing purpose.
Definition: Point_orig.hpp:19