OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
Point_test.hpp
1#include <iostream.h>
2
3#pragma openfpm struct(align : 0, padding : 0 , order : none, options : none)
4template<typename T> class Point_orig
5{
6public:
7
8 T x;
9 T y;
10 T z;
11
12 T s;
13
14 T v[3];
15 T t[3][3];
16
17 inline void setx(T x_) {x = x_;};
18 inline void sety(T y_) {y = y_;};
19 inline void setz(T z_) {z = z_;};
20};
Definition of a class Point in plain C++ and boost::vector for testing purpose.
Definition Point_test.hpp:5