From 28ddc66615cdeadd299d78a87ba74b6f41600353 Mon Sep 17 00:00:00 2001 From: Praveen C Date: Sun, 30 Aug 2015 11:55:48 +0530 Subject: [PATCH] Remove strand_id since it is not clear how to use it. A default strand_id of 1 will be used. --- include/deal.II/base/data_out_base.h | 9 +-------- source/base/data_out_base.cc | 14 ++++---------- 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/include/deal.II/base/data_out_base.h b/include/deal.II/base/data_out_base.h index 1da0e726b0..ba80e2b0d5 100644 --- a/include/deal.II/base/data_out_base.h +++ b/include/deal.II/base/data_out_base.h @@ -840,19 +840,12 @@ namespace DataOutBase */ double solution_time; - /** - * A strand is a set of zones that represent the same region of the solution over time. - * strand_id is an integer value that uniquely identifies each strand. - */ - int strand_id; - /** * Constructor. */ TecplotFlags (const char *tecplot_binary_file_name = NULL, const char *zone_name = NULL, - const double solution_time = -1.0, - const int strand_id = 1); + const double solution_time = -1.0); /** * Return an estimate for the memory consumption, in bytes, of this diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index 09e7c90491..246d45f387 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -1979,18 +1979,12 @@ namespace DataOutBase TecplotFlags:: TecplotFlags (const char *tecplot_binary_file_name, const char *zone_name, - const double solution_time, - const int strand_id) + const double solution_time) : tecplot_binary_file_name(tecplot_binary_file_name), zone_name(zone_name), - solution_time (solution_time), - strand_id (strand_id) - - { - Assert (strand_id >= 1, - ExcMessage("For transient data, strand_id must be > 0")); - } + solution_time (solution_time) + {} @@ -4103,7 +4097,7 @@ namespace DataOutBase out << "t=\"" << flags.zone_name << "\" "; if (flags.solution_time >= 0.0) - out << "strandid=" << flags.strand_id << ", solutiontime=" << flags.solution_time <<", "; + out << "strandid=1, solutiontime=" << flags.solution_time <<", "; out << "f=feblock, n=" << n_nodes << ", e=" << n_cells << ", et=" << tecplot_cell_type[dim] << '\n'; -- 2.39.5