]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove strand_id since it is not clear how to use it. A default strand_id of 1 will... 1462/head
authorPraveen C <cpraveen@gmail.com>
Sun, 30 Aug 2015 06:25:48 +0000 (11:55 +0530)
committerPraveen C <cpraveen@gmail.com>
Sun, 30 Aug 2015 06:25:48 +0000 (11:55 +0530)
include/deal.II/base/data_out_base.h
source/base/data_out_base.cc

index 1da0e726b08bbe5146353ef7675b6b0c409ad22b..ba80e2b0d5b665805d87e9d1a2d156b9b5d2dd5f 100644 (file)
@@ -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.
-     * <tt>strand_id</tt> 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
index 09e7c90491846fbe9d029ba75a6226d8867a2976..246d45f387fd9939ec58a42b88ab1dd314147caa 100644 (file)
@@ -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';

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.