... | ... | @@ -4,14 +4,9 @@ The definition of a vector, grid, or graph, define how your data is organized, b |
|
|
|
|
|
```cpp
|
|
|
|
|
|
/*! \brief Definition of a class Point in plain C++ and boost::vector for testing purpose
|
|
|
*
|
|
|
* Definition of a class Point in plain C++ and boost::vector for testing purpose
|
|
|
*
|
|
|
* \param T base type of all the fields
|
|
|
*
|
|
|
*/
|
|
|
|
|
|
/////////////////////////////////////
|
|
|
// C++ FORMAT
|
|
|
/////////////////////////////////////
|
|
|
template<typename T> class Point_orig
|
|
|
{
|
|
|
public:
|
... | ... | @@ -33,8 +28,10 @@ public: |
|
|
inline void sets(T s_) {s = s_;};
|
|
|
};
|
|
|
|
|
|
// tranformed
|
|
|
|
|
|
////////////////////////////////////
|
|
|
// OPENFPM DATA STRUCTURE FORMAT
|
|
|
////////////////////////////////////
|
|
|
template<typename T> class Point_test
|
|
|
{
|
|
|
public:
|
... | ... | |