From d155c4f7b04c092557529385dfb4f13707044048 Mon Sep 17 00:00:00 2001 From: Florian Prill Date: Fri, 29 Feb 2008 13:33:44 +0000 Subject: [PATCH] Fixed implementation of 1D tecplot ASCII output. git-svn-id: https://svn.dealii.org/trunk@15817 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/data_out_base.cc | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) 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'; } -- 2.39.5