From b25ec63a543cc1705d4aa63e85611b7630978eaf Mon Sep 17 00:00:00 2001 From: Pietro Incardona <incardon@mpi-cbg.de> Date: Thu, 13 Oct 2016 01:00:35 +0200 Subject: [PATCH] Adding missing files --- src/debug.hpp | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/debug.hpp diff --git a/src/debug.hpp b/src/debug.hpp new file mode 100644 index 000000000..d550941bf --- /dev/null +++ b/src/debug.hpp @@ -0,0 +1,36 @@ +/* + * debug.hpp + * + * Created on: Oct 7, 2016 + * Author: i-bird + */ + +#ifndef SRC_DEBUG_HPP_ +#define SRC_DEBUG_HPP_ + +#include "Vector/map_vector.hpp" +#include "Space/Shape/Point.hpp" + +Point<3,float> getPosPoint3f(openfpm::vector<Point<3,float>> & pos, size_t i) +{ + return Point<3,float>(pos.get(i)); +} + +Point<3,double> getPosPoint3d(openfpm::vector<Point<3,double>> & pos, size_t i) +{ + return Point<3,double>(pos.get(i)); +} + +Point<2,float> getPosPoint2f(openfpm::vector<Point<2,float>> & pos, size_t i) +{ + return Point<2,float>(pos.get(i)); +} + +Point<2,double> getPosPoint2d(openfpm::vector<Point<2,double>> & pos, size_t i) +{ + return Point<2,double>(pos.get(i)); +} + + + +#endif /* SRC_DEBUG_HPP_ */ -- GitLab