From a12fef0798e6fe7e9e61f45ea2167ec8e07d0af9 Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Wed, 16 Apr 2008 08:49:22 +0000
Subject: [PATCH] * Small update for writing 2nd-degree Lagrange elements

---
 AMDiS/src/VtkWriter.cc | 8 ++------
 AMDiS/src/VtkWriter.h  | 6 ------
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/AMDiS/src/VtkWriter.cc b/AMDiS/src/VtkWriter.cc
index b77c9b1e..f362f60a 100644
--- a/AMDiS/src/VtkWriter.cc
+++ b/AMDiS/src/VtkWriter.cc
@@ -84,12 +84,8 @@ namespace AMDiS {
       file << "        <DataArray type=\"Float32\" Name=\"value" << i 
 	   << "\" format=\"ascii\">" << ::std::endl;
       
-      if ((dim_ == 2) && (degree_ == 2)) {
-	writeVertexValues_dim2_degree2(file, i);
-      } else {
-	writeVertexValues(file, i);
-      }
-
+      writeVertexValues(file, i);
+      
       file << "        </DataArray>" << ::std::endl;
     }
 
diff --git a/AMDiS/src/VtkWriter.h b/AMDiS/src/VtkWriter.h
index b0b4ef5a..b8aa1db1 100644
--- a/AMDiS/src/VtkWriter.h
+++ b/AMDiS/src/VtkWriter.h
@@ -69,12 +69,6 @@ namespace AMDiS {
     void writeVertexValues(::std::ofstream &file, int componentNo);
 
 
-    /** \brief
-     * 
-     */
-    void writeVertexValues_dim2_degree2(::std::ofstream &file, int componentNo);
-
-
     /** \brief
      * 
      */
-- 
GitLab