]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fixed implementation of 1D tecplot ASCII output.
authorprill <prill@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 29 Feb 2008 13:33:44 +0000 (13:33 +0000)
committerprill <prill@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 29 Feb 2008 13:33:44 +0000 (13:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@15817 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/data_out_base.cc

index d8b62a2d8e1e63b8faba87b6bcf5189be579853c..ca61b475adbf2ae3851f28f5871cfb2a3cb940c4 100644 (file)
@@ -79,7 +79,7 @@ namespace
 
   static const char* tecplot_cell_type[4] =
   {
-       "", "", "quadrilateral", "brick"
+       "", "lineseg", "quadrilateral", "brick"
   };
 
 #ifdef DEAL_II_HAVE_TECPLOT
@@ -3237,13 +3237,8 @@ void DataOutBase::write_tecplot (const std::vector<Patch<dim,spacedim> > &patche
     
     out << '\n';
     
-    if (dim > 1)
-      {
-       out << "zone f=feblock, n=" << n_nodes << ", e=" << n_cells
-           << ", et=" << tecplot_cell_type[dim] << '\n';
-      }
-    else
-      out << "zone f=block, I=" << n_nodes << '\n';
+    out << "zone f=feblock, n=" << n_nodes << ", e=" << n_cells
+       << ", et=" << tecplot_cell_type[dim] << '\n';
   }
 
   

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.