From 4f8545ff16b0af40785be35e894a8e5587b05bdd Mon Sep 17 00:00:00 2001
From: Pietro Incardona <incardon@mpi-cbg.de>
Date: Fri, 27 Jan 2017 01:27:53 +0100
Subject: [PATCH] Fixing Multiphase Cell-list and verlet list

---
 src/Vector/vector_dist.hpp | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/Vector/vector_dist.hpp b/src/Vector/vector_dist.hpp
index f6516758c..11f0eee2d 100644
--- a/src/Vector/vector_dist.hpp
+++ b/src/Vector/vector_dist.hpp
@@ -1210,6 +1210,16 @@ public:
 		return v_pos;
 	}
 
+	/*! \brief return the position vector of all the particles
+	 *
+	 * \return the particle position vector
+	 *
+	 */
+	openfpm::vector<Point<dim,St>> & getPosVector()
+	{
+		return v_pos;
+	}
+
 	/*! \brief It return the sum of the particles in the previous processors
 	 *
 	 * \return the particles number
-- 
GitLab