From 0c53d1a9b2fa96341b764ed92936207d1e62ff9b Mon Sep 17 00:00:00 2001
From: Pietro Incardona <incardon@mpi-cbg.de>
Date: Tue, 3 Nov 2015 02:25:09 +0100
Subject: [PATCH] Fixing IO

---
 src/VTKWriter_grids_st.hpp | 43 ++++++++++++++++++++++++--------------
 1 file changed, 27 insertions(+), 16 deletions(-)

diff --git a/src/VTKWriter_grids_st.hpp b/src/VTKWriter_grids_st.hpp
index 49ce373..bfbec78 100644
--- a/src/VTKWriter_grids_st.hpp
+++ b/src/VTKWriter_grids_st.hpp
@@ -16,8 +16,7 @@
 
 /*! \brief for each combination in the cell grid you can have different grids
  *
- * \param grid
- * \param cg combination
+ * \tparam Grid type of grid
  *
  */
 template <typename Grid>
@@ -29,37 +28,49 @@ struct cell_grid
 	// combination
 	comb<Grid::dims> cmb;
 
+	cell_grid() {}
+
 	//! construct a cell grid
 	cell_grid(const comb<Grid::dims> & cmb)
 	:cmb(cmb)
 	{}
 
-	//! Copy constructor
-	inline cell_grid(const cell_grid<Grid> & ele)
+	cell_grid(const cell_grid<Grid> & cg)
 	{
-		this->operator=(ele);
+		this->operator=(cg);
 	}
 
-	//! Copy constructor
-	inline cell_grid(cell_grid<Grid> && ele)
+	cell_grid(cell_grid<Grid> && cg)
 	{
-		this->operator=(ele);
+		this->operator=(cg);
 	}
 
-	//! Copy constructor
-	inline cell_grid<Grid> & operator=(const cell_grid<Grid> & ele)
+	/*! \brief Copy the cell grid
+	 *
+	 * \param cg cell_grid to copy
+	 *
+	 * \return itself
+	 *
+	 */
+	cell_grid<Grid> & operator=(const cell_grid<Grid> & cg)
 	{
-		cmb = ele.cmb;
-		grids = ele.grids;
+		cmb = cg.cmb;
+		grids = cg.grids;
 
 		return *this;
 	}
 
-	//! Copy constructor
-	inline cell_grid<Grid> & operator=(cell_grid<Grid> && ele)
+	/*! \brief Copy the cell grid
+	 *
+	 * \param cg cell_grid to copy
+	 *
+	 * \return itself
+	 *
+	 */
+	cell_grid<Grid> & operator=(cell_grid<Grid> && cg)
 	{
-		cmb = ele.cmb;
-		grids = ele.grids;
+		cmb = cg.cmb;
+		grids = cg.grids;
 
 		return *this;
 	}
-- 
GitLab