From 4b25953ed83b70a829a4cca5419b7e2aa8dbd4a3 Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Wed, 10 Oct 2012 08:18:18 +0200
Subject: [PATCH] changed filenames for template implementation according Dimas
 suggestion

---
 MeshLib/Elements/TemplateEdge.h                             | 2 +-
 MeshLib/Elements/{TemplateEdge.hpp => TemplateEdge.tpp}     | 6 +-----
 MeshLib/Elements/TemplateHex.h                              | 2 +-
 MeshLib/Elements/{TemplateHex.hpp => TemplateHex.tpp}       | 2 +-
 MeshLib/Elements/TemplatePrism.h                            | 2 +-
 MeshLib/Elements/{TemplatePrism.hpp => TemplatePrism.tpp}   | 2 +-
 MeshLib/Elements/TemplatePyramid.h                          | 2 +-
 .../Elements/{TemplatePyramid.hpp => TemplatePyramid.tpp}   | 2 +-
 MeshLib/Elements/TemplateQuad.h                             | 2 +-
 MeshLib/Elements/{TemplateQuad.hpp => TemplateQuad.tpp}     | 3 +--
 MeshLib/Elements/TemplateTet.h                              | 2 +-
 MeshLib/Elements/{TemplateTet.hpp => TemplateTet.tpp}       | 2 +-
 MeshLib/Elements/TemplateTri.h                              | 2 +-
 MeshLib/Elements/{TemplateTri.hpp => TemplateTri.tpp}       | 6 +-----
 14 files changed, 14 insertions(+), 23 deletions(-)
 rename MeshLib/Elements/{TemplateEdge.hpp => TemplateEdge.tpp} (89%)
 rename MeshLib/Elements/{TemplateHex.hpp => TemplateHex.tpp} (99%)
 rename MeshLib/Elements/{TemplatePrism.hpp => TemplatePrism.tpp} (99%)
 rename MeshLib/Elements/{TemplatePyramid.hpp => TemplatePyramid.tpp} (99%)
 rename MeshLib/Elements/{TemplateQuad.hpp => TemplateQuad.tpp} (98%)
 rename MeshLib/Elements/{TemplateTet.hpp => TemplateTet.tpp} (99%)
 rename MeshLib/Elements/{TemplateTri.hpp => TemplateTri.tpp} (95%)

diff --git a/MeshLib/Elements/TemplateEdge.h b/MeshLib/Elements/TemplateEdge.h
index 149a94d739b..50b6837b1b0 100644
--- a/MeshLib/Elements/TemplateEdge.h
+++ b/MeshLib/Elements/TemplateEdge.h
@@ -131,7 +131,7 @@ protected:
 
 } /* namespace */
 
-#include "TemplateEdge.hpp"
+#include "TemplateEdge.tpp"
 
 #endif /* TEMPLATEEDGE_H_ */
 
diff --git a/MeshLib/Elements/TemplateEdge.hpp b/MeshLib/Elements/TemplateEdge.tpp
similarity index 89%
rename from MeshLib/Elements/TemplateEdge.hpp
rename to MeshLib/Elements/TemplateEdge.tpp
index 265b1010bd1..175db9db6ea 100644
--- a/MeshLib/Elements/TemplateEdge.hpp
+++ b/MeshLib/Elements/TemplateEdge.tpp
@@ -4,14 +4,11 @@
  *              See accompanying file LICENSE.txt or
  *              http://www.opengeosys.org/LICENSE.txt
  *
- * \file TemplateEdge.hpp
+ * \file TemplateEdge.tpp
  *
  *  Created on  Sep 27, 2012 by Thomas Fischer
  */
 
-#ifndef TEMPLATEEDGE_HPP_
-#define TEMPLATEEDGE_HPP_
-
 namespace MeshLib {
 
 template <unsigned ORDER, unsigned NNODES>
@@ -38,4 +35,3 @@ TemplateEdge<ORDER,NNODES>::~TemplateEdge()
 
 } // namespace MeshLib
 
-#endif /* TEMPLATEEDGE_HPP_ */
diff --git a/MeshLib/Elements/TemplateHex.h b/MeshLib/Elements/TemplateHex.h
index 8b40b39226d..9eca86b7627 100644
--- a/MeshLib/Elements/TemplateHex.h
+++ b/MeshLib/Elements/TemplateHex.h
@@ -114,7 +114,7 @@ protected:
 
 } /* namespace */
 
-#include "TemplateHex.hpp"
+#include "TemplateHex.tpp"
 
 #endif /* TEMPLATEHEX_H_ */
 
diff --git a/MeshLib/Elements/TemplateHex.hpp b/MeshLib/Elements/TemplateHex.tpp
similarity index 99%
rename from MeshLib/Elements/TemplateHex.hpp
rename to MeshLib/Elements/TemplateHex.tpp
index ffc6266140f..6dd746232db 100644
--- a/MeshLib/Elements/TemplateHex.hpp
+++ b/MeshLib/Elements/TemplateHex.tpp
@@ -5,7 +5,7 @@
  *              http://www.opengeosys.org/project/license
  *
  *
- * \file TemplateHex.hpp
+ * \file TemplateHex.tpp
  *
  * Created on 2012-05-02 by Karsten Rink
  */
diff --git a/MeshLib/Elements/TemplatePrism.h b/MeshLib/Elements/TemplatePrism.h
index 84b0e9752b4..694927da41b 100644
--- a/MeshLib/Elements/TemplatePrism.h
+++ b/MeshLib/Elements/TemplatePrism.h
@@ -119,7 +119,7 @@ protected:
 
 } /* namespace */
 
-#include "TemplatePrism.hpp"
+#include "TemplatePrism.tpp"
 
 #endif /* TEMPLATEPRISM_H_ */
 
diff --git a/MeshLib/Elements/TemplatePrism.hpp b/MeshLib/Elements/TemplatePrism.tpp
similarity index 99%
rename from MeshLib/Elements/TemplatePrism.hpp
rename to MeshLib/Elements/TemplatePrism.tpp
index a6275fc1c1e..468fb8c6498 100644
--- a/MeshLib/Elements/TemplatePrism.hpp
+++ b/MeshLib/Elements/TemplatePrism.tpp
@@ -5,7 +5,7 @@
  *              http://www.opengeosys.org/project/license
  *
  *
- * \file TemplatePrism.hpp
+ * \file TemplatePrism.tpp
  *
  * Created on 2012-05-02 by Karsten Rink
  */
diff --git a/MeshLib/Elements/TemplatePyramid.h b/MeshLib/Elements/TemplatePyramid.h
index 469797675a4..7b321890e69 100644
--- a/MeshLib/Elements/TemplatePyramid.h
+++ b/MeshLib/Elements/TemplatePyramid.h
@@ -117,7 +117,7 @@ protected:
 
 } /* namespace */
 
-#include "TemplatePyramid.hpp"
+#include "TemplatePyramid.tpp"
 
 #endif /* TEMPLATEPYRAMID_H_ */
 
diff --git a/MeshLib/Elements/TemplatePyramid.hpp b/MeshLib/Elements/TemplatePyramid.tpp
similarity index 99%
rename from MeshLib/Elements/TemplatePyramid.hpp
rename to MeshLib/Elements/TemplatePyramid.tpp
index 396b4ab9f49..e7a1c17eedd 100644
--- a/MeshLib/Elements/TemplatePyramid.hpp
+++ b/MeshLib/Elements/TemplatePyramid.tpp
@@ -5,7 +5,7 @@
  *              http://www.opengeosys.org/project/license
  *
  *
- * \file TemplatePyramid.hpp
+ * \file TemplatePyramid.tpp
  *
  * Created on 2012-05-02 by Karsten Rink
  */
diff --git a/MeshLib/Elements/TemplateQuad.h b/MeshLib/Elements/TemplateQuad.h
index 2dcae2b4612..609cd570c8c 100644
--- a/MeshLib/Elements/TemplateQuad.h
+++ b/MeshLib/Elements/TemplateQuad.h
@@ -109,7 +109,7 @@ const unsigned TemplateQuad<ORDER,NNODES>::_edge_nodes[4][2] =
 
 } /* namespace */
 
-#include "TemplateQuad.hpp"
+#include "TemplateQuad.tpp"
 
 #endif /* TEMPLATEQUAD_H_ */
 
diff --git a/MeshLib/Elements/TemplateQuad.hpp b/MeshLib/Elements/TemplateQuad.tpp
similarity index 98%
rename from MeshLib/Elements/TemplateQuad.hpp
rename to MeshLib/Elements/TemplateQuad.tpp
index 84555bdf028..a8fb836ffd8 100644
--- a/MeshLib/Elements/TemplateQuad.hpp
+++ b/MeshLib/Elements/TemplateQuad.tpp
@@ -5,12 +5,11 @@
  *              http://www.opengeosys.org/project/license
  *
  *
- * \file Quad.hpp
+ * \file Quad.tpp
  *
  * Created on 2012-05-02 by Karsten Rink
  */
 
-//#include "Quad.h"
 #include "Node.h"
 #include "Tri.h"
 
diff --git a/MeshLib/Elements/TemplateTet.h b/MeshLib/Elements/TemplateTet.h
index 2c2868cd512..01c30608d17 100644
--- a/MeshLib/Elements/TemplateTet.h
+++ b/MeshLib/Elements/TemplateTet.h
@@ -120,7 +120,7 @@ protected:
 
 } /* namespace */
 
-#include "TemplateTet.hpp"
+#include "TemplateTet.tpp"
 
 #endif /* TEMPLATETET_H_ */
 
diff --git a/MeshLib/Elements/TemplateTet.hpp b/MeshLib/Elements/TemplateTet.tpp
similarity index 99%
rename from MeshLib/Elements/TemplateTet.hpp
rename to MeshLib/Elements/TemplateTet.tpp
index b192450b54f..fd549805ddc 100644
--- a/MeshLib/Elements/TemplateTet.hpp
+++ b/MeshLib/Elements/TemplateTet.tpp
@@ -5,7 +5,7 @@
  *              http://www.opengeosys.org/project/license
  *
  *
- * \file TemplateTet.hpp
+ * \file TemplateTet.tpp
  *
  * Created on 2012-05-02 by Karsten Rink
  */
diff --git a/MeshLib/Elements/TemplateTri.h b/MeshLib/Elements/TemplateTri.h
index 5fad5041b3e..2d8be333dff 100644
--- a/MeshLib/Elements/TemplateTri.h
+++ b/MeshLib/Elements/TemplateTri.h
@@ -122,7 +122,7 @@ const unsigned TemplateTri<ORDER, NNODES>::_edge_nodes[3][2] = {
 
 } /* namespace */
 
-#include "TemplateTri.hpp"
+#include "TemplateTri.tpp"
 
 #endif /* TEMPLATETRI_H_ */
 
diff --git a/MeshLib/Elements/TemplateTri.hpp b/MeshLib/Elements/TemplateTri.tpp
similarity index 95%
rename from MeshLib/Elements/TemplateTri.hpp
rename to MeshLib/Elements/TemplateTri.tpp
index 156f0ea2356..7994326053d 100644
--- a/MeshLib/Elements/TemplateTri.hpp
+++ b/MeshLib/Elements/TemplateTri.tpp
@@ -4,14 +4,11 @@
  *              See accompanying file LICENSE.txt or
  *              http://www.opengeosys.org/LICENSE.txt
  *
- * \file TemplateTri.hpp
+ * \file TemplateTri.tpp
  *
  *  Created on  Sep 27, 2012 by Thomas Fischer
  */
 
-#ifndef TEMPLATETRI_HPP_
-#define TEMPLATETRI_HPP_
-
 namespace MeshLib {
 
 template <unsigned ORDER, unsigned NNODES>
@@ -97,4 +94,3 @@ unsigned TemplateTri<ORDER,NNODES>::identifyFace(Node* nodes[3]) const
 
 } // namespace MeshLib
 
-#endif /* TEMPLATETRI_HPP_ */
-- 
GitLab