From: prill Date: Fri, 29 Feb 2008 13:33:44 +0000 (+0000) Subject: Fixed implementation of 1D tecplot ASCII output. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb70cf1728df19c2db6401fb87d561bf262930f5;p=dealii-svn.git Fixed implementation of 1D tecplot ASCII output. git-svn-id: https://svn.dealii.org/trunk@15817 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/data_out_base.cc b/deal.II/base/source/data_out_base.cc index d8b62a2d8e..ca61b475ad 100644 --- a/deal.II/base/source/data_out_base.cc +++ b/deal.II/base/source/data_out_base.cc @@ -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 > &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'; }