From: Guido Kanschat Date: Mon, 15 Apr 2013 15:18:01 +0000 (+0000) Subject: enums are still no classes X-Git-Tag: v8.0.0~698 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f9f3e4c52e6bedd7e5728b81937c1ce04924944;p=dealii.git enums are still no classes git-svn-id: https://svn.dealii.org/trunk@29287 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/grid/grid_out.cc b/deal.II/source/grid/grid_out.cc index b5098e9f85..65f39e9315 100644 --- a/deal.II/source/grid/grid_out.cc +++ b/deal.II/source/grid/grid_out.cc @@ -1377,7 +1377,8 @@ 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::dealii) margin_in_percent = 8.5; + if (svg_flags.margin || svg_flags.background == GridOutFlags::Svg::dealii) + margin_in_percent = 8; // initial font size for cell labels unsigned int cell_label_font_size; @@ -1503,13 +1504,13 @@ void GridOut::write_svg(const Triangulation<2,2> &tria, std::ostream &out) const switch (svg_flags.coloring) { - case GridOutFlags::Svg::Coloring::material_id: + case GridOutFlags::Svg::material_id: n = n_materials; break; - case GridOutFlags::Svg::Coloring::level_number: + case GridOutFlags::Svg::level_number: n = n_levels; break; - case GridOutFlags::Svg::Coloring::subdomain_id: + case GridOutFlags::Svg::subdomain_id: n = n_subdomains; break; // case GridOutFlags::Svg::Coloring::level_subdomain_id: n = n_level_subdomains;