]> https://gitweb.dealii.org/ - dealii.git/commitdiff
enums are no classes
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 15 Apr 2013 15:04:32 +0000 (15:04 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 15 Apr 2013 15:04:32 +0000 (15:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@29286 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/grid_out.cc

index acf1e36c1ffcf16d23a9af7ead0f523cf1dbe898..b5098e9f853e1535a92601986e712a195191599b 100644 (file)
@@ -1377,7 +1377,7 @@ void GridOut::write_svg(const Triangulation<2,2> &tria, std::ostream &out) const
   unsigned int width;
 
   unsigned int margin_in_percent = 0;
-  if (svg_flags.margin || svg_flags.background == GridOutFlags::Svg::Background::dealii) margin_in_percent = 8.5;
+  if (svg_flags.margin || svg_flags.background == GridOutFlags::Svg::dealii) margin_in_percent = 8.5;
 
   // initial font size for cell labels
   unsigned int cell_label_font_size;
@@ -1386,10 +1386,10 @@ void GridOut::write_svg(const Triangulation<2,2> &tria, std::ostream &out) const
   unsigned int font_size = static_cast<unsigned int>(.5 + (height/100.) * 2.);
 
   // get date and time
-  time_t time_stamp;
-  tm *now;
-  time_stamp = time(0);
-  now = localtime(&time_stamp);
+  // time_t time_stamp;
+  // tm *now;
+  // time_stamp = time(0);
+  // now = localtime(&time_stamp);
 
   // vectors and variables for the perspective view
   Point<3> camera_position;

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.