]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Rename plot_cell_numbers to write_cell_numbers, as this is the name
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 14 Jun 2002 12:32:55 +0000 (12:32 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 14 Jun 2002 12:32:55 +0000 (12:32 +0000)
already used for Gnuplot.

git-svn-id: https://svn.dealii.org/trunk@6122 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/grid_out.h
deal.II/deal.II/source/grid/grid_out.all_dimensions.cc
deal.II/deal.II/source/grid/grid_out.cc

index 67c9d63bdf40df9901f660626e7696d86c7505f0..83101b353054629302875a0b29fb4980e48d9410 100644 (file)
@@ -141,7 +141,7 @@ namespace GridOutFlags
                                        * Default: @p{false}.
                                        */
       bool write_cell_numbers;
-      
+
                                       /**
                                        * This is the number of
                                        * points on a boundary face,
@@ -291,7 +291,7 @@ namespace GridOutFlags
                                        * number written is
                                        * @p{level.index}.
                                        */
-      bool plot_cell_numbers;
+      bool write_cell_numbers;
       
                                       /**
                                        * Constructor.
@@ -301,7 +301,7 @@ namespace GridOutFlags
           const double       line_width = 0.5,
           const bool         color_lines_on_user_flag = false,
           const unsigned int n_boundary_face_points = 2,
-          const bool         plot_cell_numbers = false);
+          const bool         write_cell_numbers = false);
   };
   
                                   /**
index 7e5840d2752fd1f46ba7d7625dcf016bf3d69dd8..d85d845d8dc9b65db5905e2f759a505d467859a5 100644 (file)
@@ -79,12 +79,12 @@ namespace GridOutFlags
               const double       line_width,
               const bool color_lines_on_user_flag,
               const unsigned int n_boundary_face_points,
-              const bool         plot_cell_numbers)
+              const bool         write_cell_numbers)
                  :
                  EpsFlagsBase(size_type, size, line_width,
                               color_lines_on_user_flag,
                               n_boundary_face_points),
-                 plot_cell_numbers (plot_cell_numbers)
+                 write_cell_numbers (write_cell_numbers)
   {};
 
 
index 7f4fb29d03c92e0e429365b6dfb721750fde8d89..cbdb96dea0119a8092734142992841186c010368 100644 (file)
@@ -1011,7 +1011,7 @@ void GridOut::write_eps (const Triangulation<dim> &tria,
                                       // it is reverse engineered
                                       // from what GNUPLOT uses in
                                       // its output
-      if ((dim == 2) && (eps_flags_2.plot_cell_numbers == true))
+      if ((dim == 2) && (eps_flags_2.write_cell_numbers == true))
        {
          out << ("/R {rmoveto} bind def\n"
                  "/Symbol-Oblique /Symbol findfont [1 0 .167 1 0 0] makefont\n"
@@ -1047,7 +1047,7 @@ void GridOut::write_eps (const Triangulation<dim> &tria,
 
                                   // finally write the cell numbers
                                   // in 2d, if that is desired
-  if ((dim == 2) && (eps_flags_2.plot_cell_numbers == true))
+  if ((dim == 2) && (eps_flags_2.write_cell_numbers == true))
     {
       out << "(Helvetica) findfont 140 scalefont setfont"
          << std::endl;

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.