OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
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
19template<typename T> class Point_orig
20{
21public:
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_test.hpp:5