Reference documentation for deal.II version 8.5.1
grid_out.h
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 1999 - 2016 by the deal.II authors
4 //
5 // This file is part of the deal.II library.
6 //
7 // The deal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 2.1 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE at
12 // the top level of the deal.II distribution.
13 //
14 // ---------------------------------------------------------------------
15 
16 #ifndef dealii__grid_out_h
17 #define dealii__grid_out_h
18 
19 
20 
21 #include <deal.II/base/config.h>
22 #include <deal.II/base/exceptions.h>
23 #include <deal.II/base/point.h>
24 #include <deal.II/base/data_out_base.h>
25 
26 #include <string>
27 
28 DEAL_II_NAMESPACE_OPEN
29 
30 class ParameterHandler;
31 template <int dim, int spacedim> class Triangulation;
32 template <int dim, int spacedim> class Mapping;
33 
34 
43 namespace GridOutFlags
44 {
50  struct DX
51  {
56 
61 
66 
71 
77 
81  DX (const bool write_cells = true,
82  const bool write_faces = false,
83  const bool write_diameter = false,
84  const bool write_measure = false,
85  const bool write_all_faces = true);
86 
90  static void declare_parameters (ParameterHandler &param);
91 
95  void parse_parameters (ParameterHandler &param);
96  };
97 
103  struct Msh
104  {
133 
137  Msh (const bool write_faces = false,
138  const bool write_lines = false);
142  static void declare_parameters (ParameterHandler &param);
143 
147  void parse_parameters (ParameterHandler &param);
148  };
149 
150 
156  struct Ucd
157  {
168 
182 
198 
202  Ucd (const bool write_preamble = false,
203  const bool write_faces = false,
204  const bool write_lines = false);
205 
209  static void declare_parameters (ParameterHandler &param);
210 
214  void parse_parameters (ParameterHandler &param);
215  };
216 
217 
223  struct Gnuplot
224  {
235 
243 
250 
254  Gnuplot (const bool write_cell_number = false,
255  const unsigned int n_boundary_face_points = 2,
256  const bool curved_inner_cells = false);
260  static void declare_parameters (ParameterHandler &param);
261 
265  void parse_parameters (ParameterHandler &param);
266  };
267 
280  {
286  enum SizeType
287  {
296  };
297 
302 
310  unsigned int size;
311 
315  double line_width;
316 
324 
336 
344 
349  const unsigned int size = 300,
350  const double line_width = 0.5,
351  const bool color_lines_on_user_flag = false,
352  const unsigned int n_boundary_face_points = 2,
353  const bool color_lines_level = false);
357  static void declare_parameters (ParameterHandler &param);
358 
362  void parse_parameters (ParameterHandler &param);
363  };
364 
365 
376  template <int dim>
377  struct Eps
378  {};
379 
385  template <>
386  struct Eps<1> : public EpsFlagsBase
387  {
391  Eps (const SizeType size_type = width,
392  const unsigned int size = 300,
393  const double line_width = 0.5,
394  const bool color_lines_on_user_flag = false,
395  const unsigned int n_boundary_face_points = 2);
399  static void declare_parameters (ParameterHandler &param);
400 
404  void parse_parameters (ParameterHandler &param);
405  };
406 
407 
413  template <>
414  struct Eps<2> : public EpsFlagsBase
415  {
433 
439 
443  Eps (const SizeType size_type = width,
444  const unsigned int size = 300,
445  const double line_width = 0.5,
446  const bool color_lines_on_user_flag = false,
447  const unsigned int n_boundary_face_points = 2,
448  const bool write_cell_numbers = false,
449  const bool write_cell_number_level = true,
450  const bool write_vertex_numbers = false,
451  const bool color_lines_level = false);
455  static void declare_parameters (ParameterHandler &param);
456 
460  void parse_parameters (ParameterHandler &param);
461  };
462 
468  template <>
469  struct Eps<3> : public EpsFlagsBase
470  {
476  double azimut_angle;
477 
486  double turn_angle;
487 
491  Eps (const SizeType size_type = width,
492  const unsigned int size = 300,
493  const double line_width = 0.5,
494  const bool color_lines_on_user_flag = false,
495  const unsigned int n_boundary_face_points = 2,
496  const double azimut_angle = 60,
497  const double turn_angle = 30);
501  static void declare_parameters (ParameterHandler &param);
502 
506  void parse_parameters (ParameterHandler &param);
507  };
508 
514  struct XFig
515  {
520 
524  enum Coloring
525  {
534  } color_by;
535 
543 
548 
553 
559 
566 
572 
579 
584 
589 
593  XFig();
597  static void declare_parameters (ParameterHandler &param);
598 
602  void parse_parameters (ParameterHandler &param);
603  };
604 
605 
611  struct Svg
612  {
614  unsigned int height;
616  unsigned int width;
618  unsigned int line_thickness;
621 
623  bool margin;
624 
629  {
636  };
637 
638  Background background;
639 
640  // View angles for the perspective view of the grid; Default is 0, 0 (top view).
649 
653  enum Coloring
654  {
665  };
666 
667  Coloring coloring;
668 
671 
674 
687 
692 
696  Svg(const unsigned int line_thickness = 2,
697  const unsigned int boundary_line_thickness = 4,
698  bool margin = true,
699  const Background background = white,
700  const int azimuth_angle = 0,
701  const int polar_angle = 0,
702  const Coloring coloring = level_number,
703  const bool convert_level_number_to_height = false,
704  const bool label_level_number = true,
705  const bool label_cell_index = true,
706  const bool label_material_id = false,
707  const bool label_subdomain_id = false,
708  const bool draw_colorbar = true,
709  const bool draw_legend = true);
710  };
711 
717  struct MathGL
718  {
722  MathGL ();
723 
728 
732  static void declare_parameters (ParameterHandler &param);
733 
737  void parse_parameters (ParameterHandler &param);
738  };
739 
740 
747  struct Vtk : public DataOutBase::VtkFlags
748  {};
749 
750 
757  struct Vtu : public DataOutBase::VtkFlags
758  {};
759 }
760 
761 
762 
837 class GridOut
838 {
839 public:
846  {
850  dx,
869  };
870 
874  GridOut ();
875 
884  template <int dim, int spacedim>
885  void write_dx (const Triangulation<dim,spacedim> &tria,
886  std::ostream &out) const;
887 
919  template <int dim, int spacedim>
920  void write_gnuplot (const Triangulation<dim,spacedim> &tria,
921  std::ostream &out,
922  const Mapping<dim,spacedim> *mapping=0) const;
923 
942  template <int dim, int spacedim>
943  void write_msh (const Triangulation<dim,spacedim> &tria,
944  std::ostream &out) const;
945 
965  template <int dim, int spacedim>
966  void write_ucd (const Triangulation<dim,spacedim> &tria,
967  std::ostream &out) const;
968 
998  template <int dim, int spacedim>
999  void write_eps (const Triangulation<dim, spacedim> &tria,
1000  std::ostream &out,
1001  const Mapping<dim, spacedim> *mapping=0) const;
1002 
1021  template <int dim, int spacedim>
1022  void write_xfig (const Triangulation<dim, spacedim> &tria,
1023  std::ostream &out,
1024  const Mapping<dim, spacedim> *mapping=0) const;
1025 
1044  void write_svg (const Triangulation<2,2> &tria,
1045  std::ostream &out) const;
1046 
1052  template <int dim, int spacedim>
1053  void write_svg (const Triangulation<dim,spacedim> &tria,
1054  std::ostream &out) const;
1055 
1056 
1071  template <int dim, int spacedim>
1072  void write_mathgl (const Triangulation<dim, spacedim> &tria,
1073  std::ostream &out) const;
1074 
1078  template <int dim, int spacedim>
1079  void write_vtk (const Triangulation<dim,spacedim> &tria,
1080  std::ostream &out) const;
1081 
1085  template <int dim, int spacedim>
1086  void write_vtu (const Triangulation<dim,spacedim> &tria,
1087  std::ostream &out) const;
1088 
1117  template <int dim, int spacedim>
1119  const std::string &filename_without_extension,
1120  const bool view_levels=false,
1121  const bool include_artificial=false) const;
1122 
1127  template <int dim, int spacedim>
1128  void write (const Triangulation<dim,spacedim> &tria,
1129  std::ostream &out,
1130  const OutputFormat output_format,
1131  const Mapping<dim,spacedim> *mapping=0) const;
1132 
1136  template <int dim, int spacedim>
1137  void write (const Triangulation<dim,spacedim> &tria,
1138  std::ostream &out,
1139  const Mapping<dim,spacedim> *mapping=0) const;
1140 
1144  void set_flags (const GridOutFlags::DX &flags);
1145 
1149  void set_flags (const GridOutFlags::Msh &flags);
1150 
1154  void set_flags (const GridOutFlags::Ucd &flags);
1155 
1159  void set_flags (const GridOutFlags::Gnuplot &flags);
1160 
1164  void set_flags (const GridOutFlags::Eps<1> &flags);
1165 
1169  void set_flags (const GridOutFlags::Eps<2> &flags);
1170 
1174  void set_flags (const GridOutFlags::Eps<3> &flags);
1175 
1179  void set_flags (const GridOutFlags::XFig &flags);
1180 
1184  void set_flags (const GridOutFlags::Svg &flags);
1185 
1189  void set_flags (const GridOutFlags::MathGL &flags);
1190 
1194  void set_flags (const GridOutFlags::Vtk &flags);
1195 
1199  void set_flags (const GridOutFlags::Vtu &flags);
1200 
1215  static std::string default_suffix (const OutputFormat output_format);
1216 
1221  std::string default_suffix () const;
1222 
1236  static OutputFormat parse_output_format (const std::string &format_name);
1237 
1243  static std::string get_output_format_names ();
1244 
1248  static void declare_parameters (ParameterHandler &param);
1249 
1253  void parse_parameters (ParameterHandler &param);
1254 
1259  std::size_t memory_consumption () const;
1260 
1265 
1266 private:
1271 
1276 
1282 
1288 
1294 
1300 
1306 
1312 
1317 
1322 
1327 
1332 
1337 
1363  template <int dim, int spacedim>
1364  unsigned int
1366  const unsigned int next_element_index,
1367  std::ostream &out) const;
1368 
1372  unsigned int
1373  write_msh_faces (const Triangulation<1,1> &tria,
1374  const unsigned int next_element_index,
1375  std::ostream &out) const;
1380  unsigned int
1381  write_msh_faces (const Triangulation<1,2> &tria,
1382  const unsigned int next_element_index,
1383  std::ostream &out) const;
1384  unsigned int
1385  write_msh_faces (const Triangulation<1,3> &tria,
1386  const unsigned int next_element_index,
1387  std::ostream &out) const;
1388 
1389 
1390 
1416  template <int dim, int spacedim>
1417  unsigned int
1419  const unsigned int next_element_index,
1420  std::ostream &out) const;
1421 
1425  unsigned int
1426  write_msh_lines (const Triangulation<1,1> &tria,
1427  const unsigned int next_element_index,
1428  std::ostream &out) const;
1429 
1434  unsigned int
1435  write_msh_lines (const Triangulation<1,2> &tria,
1436  const unsigned int next_element_index,
1437  std::ostream &out) const;
1438  unsigned int
1439  write_msh_lines (const Triangulation<1,3> &tria,
1440  const unsigned int next_element_index,
1441  std::ostream &out) const;
1445  unsigned int
1446  write_msh_lines (const Triangulation<2,2> &tria,
1447  const unsigned int next_element_index,
1448  std::ostream &out) const;
1453  unsigned int
1454  write_msh_lines (const Triangulation<2,3> &tria,
1455  const unsigned int next_element_index,
1456  std::ostream &out) const;
1457 
1483  template <int dim, int spacedim>
1484  unsigned int
1486  const unsigned int next_element_index,
1487  std::ostream &out) const;
1488 
1492  unsigned int
1493  write_ucd_faces (const Triangulation<1,1> &tria,
1494  const unsigned int next_element_index,
1495  std::ostream &out) const;
1496 
1501  unsigned int
1502  write_ucd_faces (const Triangulation<1,2> &tria,
1503  const unsigned int next_element_index,
1504  std::ostream &out) const;
1505  unsigned int
1506  write_ucd_faces (const Triangulation<1,3> &tria,
1507  const unsigned int next_element_index,
1508  std::ostream &out) const;
1509 
1510 
1536  template <int dim, int spacedim>
1537  unsigned int
1539  const unsigned int next_element_index,
1540  std::ostream &out) const;
1541 
1545  unsigned int
1546  write_ucd_lines (const Triangulation<1,1> &tria,
1547  const unsigned int next_element_index,
1548  std::ostream &out) const;
1553  unsigned int
1554  write_ucd_lines (const Triangulation<1,2> &tria,
1555  const unsigned int next_element_index,
1556  std::ostream &out) const;
1557  unsigned int
1558  write_ucd_lines (const Triangulation<1,3> &tria,
1559  const unsigned int next_element_index,
1560  std::ostream &out) const;
1561 
1562 
1566  unsigned int
1567  write_ucd_lines (const Triangulation<2,2> &tria,
1568  const unsigned int next_element_index,
1569  std::ostream &out) const;
1574  unsigned int
1575  write_ucd_lines (const Triangulation<2,3> &tria,
1576  const unsigned int next_element_index,
1577  std::ostream &out) const;
1578 
1579 
1590  static Point<2> svg_project_point(Point<3> point,
1591  Point<3> camera_position,
1592  Point<3> camera_direction,
1593  Point<3> camera_horizontal,
1594  float camera_focus);
1595 
1608  template <int dim, int spacedim>
1609  unsigned int n_boundary_faces (const Triangulation<dim,spacedim> &tria) const;
1610 
1615  unsigned int n_boundary_faces (const Triangulation<1,1> &tria) const;
1616 
1621  unsigned int n_boundary_faces (const Triangulation<1,2> &tria) const;
1622  unsigned int n_boundary_faces (const Triangulation<1,3> &tria) const;
1623 
1636  template <int dim, int spacedim>
1637  unsigned int n_boundary_lines (const Triangulation<dim,spacedim> &tria) const;
1638 
1643  unsigned int n_boundary_lines (const Triangulation<1,1> &tria) const;
1644 
1649  unsigned int n_boundary_lines (const Triangulation<1,2> &tria) const;
1650  unsigned int n_boundary_lines (const Triangulation<1,3> &tria) const;
1651 
1656  unsigned int n_boundary_lines (const Triangulation<2,2> &tria) const;
1661  unsigned int n_boundary_lines (const Triangulation<2,3> &tria) const;
1662 };
1663 
1664 
1665 
1666 DEAL_II_NAMESPACE_CLOSE
1667 
1668 #endif
void parse_parameters(ParameterHandler &param)
Definition: grid_out.cc:146
Use white background.
Definition: grid_out.h:633
void parse_parameters(ParameterHandler &param)
Definition: grid_out.cc:624
unsigned int n_boundary_faces(const Triangulation< dim, spacedim > &tria) const
Definition: grid_out.cc:2687
OutputFormat default_format
Definition: grid_out.h:1270
DX(const bool write_cells=true, const bool write_faces=false, const bool write_diameter=false, const bool write_measure=false, const bool write_all_faces=true)
Definition: grid_out.cc:44
static OutputFormat parse_output_format(const std::string &format_name)
Definition: grid_out.cc:527
bool margin
Margin around the plotted area.
Definition: grid_out.h:623
bool write_cells
Definition: grid_out.h:55
write() calls write_dx()
Definition: grid_out.h:850
Gnuplot(const bool write_cell_number=false, const unsigned int n_boundary_face_points=2, const bool curved_inner_cells=false)
Definition: grid_out.cc:129
unsigned int n_boundary_face_points
Definition: grid_out.h:547
static void declare_parameters(ParameterHandler &param)
Definition: grid_out.cc:389
No cell coloring.
Definition: grid_out.h:656
GridOutFlags::Eps< 2 > eps_flags_2
Definition: grid_out.h:1305
unsigned int height
Height of the plot in SVG units, computed from width if zero. Defaults to 1000.
Definition: grid_out.h:614
OutputFormat
Definition: grid_out.h:845
bool draw_legend
Draw a legend next to the plotted grid, explaining the label of the cells.
Definition: grid_out.h:691
void write_vtu(const Triangulation< dim, spacedim > &tria, std::ostream &out) const
Definition: grid_out.cc:2508
Use transparent value of SVG.
Definition: grid_out.h:631
GridOut()
Definition: grid_out.cc:402
void parse_parameters(ParameterHandler &param)
Definition: grid_out.cc:189
void write_mesh_per_processor_as_vtu(const Triangulation< dim, spacedim > &tria, const std::string &filename_without_extension, const bool view_levels=false, const bool include_artificial=false) const
Definition: grid_out.cc:2532
static void declare_parameters(ParameterHandler &param)
Definition: grid_out.cc:321
Convert the level number into the cell color.
Definition: grid_out.h:660
write() calls write_eps()
Definition: grid_out.h:854
unsigned int line_thickness
Thickness of the lines between cells.
Definition: grid_out.h:618
void write_eps(const Triangulation< dim, spacedim > &tria, std::ostream &out, const Mapping< dim, spacedim > *mapping=0) const
Definition: grid_out.cc:4013
unsigned int n_boundary_face_points
Definition: grid_out.h:242
bool convert_level_number_to_height
Interpret the level number of the cells as altitude over the x-y-plane (useful in the perspective vie...
Definition: grid_out.h:670
bool write_diameter
Definition: grid_out.h:65
static Point< 2 > svg_project_point(Point< 3 > point, Point< 3 > camera_position, Point< 3 > camera_direction, Point< 3 > camera_horizontal, float camera_focus)
Definition: grid_out.cc:3073
void write_mathgl(const Triangulation< dim, spacedim > &tria, std::ostream &out) const
Definition: grid_out.cc:2295
unsigned int boundary_line_thickness
Thickness of lines at the boundary.
Definition: grid_out.h:620
unsigned int write_msh_faces(const Triangulation< dim, spacedim > &tria, const unsigned int next_element_index, std::ostream &out) const
Definition: grid_out.cc:2816
void parse_parameters(ParameterHandler &param)
Definition: grid_out.cc:73
bool write_all_faces
Definition: grid_out.h:76
write() calls write_ucd()
Definition: grid_out.h:856
unsigned int n_boundary_lines(const Triangulation< dim, spacedim > &tria) const
Definition: grid_out.cc:2704
GridOutFlags::Vtk vtk_flags
Definition: grid_out.h:1331
Point< 2 > scaling
Definition: grid_out.h:552
bool label_cell_index
Write cell index into each cell. Defaults to true.
Definition: grid_out.h:680
GridOutFlags::Gnuplot gnuplot_flags
Definition: grid_out.h:1293
void write_svg(const Triangulation< 2, 2 > &tria, std::ostream &out) const
Definition: grid_out.cc:1425
Convert the global subdomain id into the cell color.
Definition: grid_out.h:531
Convert the material id into the cell color.
Definition: grid_out.h:527
void write_gnuplot(const Triangulation< dim, spacedim > &tria, std::ostream &out, const Mapping< dim, spacedim > *mapping=0) const
Definition: grid_out.cc:3489
static void declare_parameters(ParameterHandler &param)
Definition: grid_out.cc:139
std::size_t memory_consumption() const
Definition: grid_out.cc:670
GridOutFlags::MathGL mathgl_flags
Definition: grid_out.h:1326
write() calls write_mathgl()
Definition: grid_out.h:864
GridOutFlags::DX dx_flags
Definition: grid_out.h:1275
GridOutFlags::Msh msh_flags
Definition: grid_out.h:1281
GridOutFlags::Eps< 1 > eps_flags_1
Definition: grid_out.h:1299
write() calls write_gnuplot()
Definition: grid_out.h:852
bool label_material_id
Write material id of each cell. Defaults to false.
Definition: grid_out.h:682
EpsFlagsBase(const SizeType size_type=width, const unsigned int size=300, const double line_width=0.5, const bool color_lines_on_user_flag=false, const unsigned int n_boundary_face_points=2, const bool color_lines_level=false)
Definition: grid_out.cc:153
Abstract base class for mapping classes.
Definition: dof_tools.h:46
GridOutFlags::XFig xfig_flags
Definition: grid_out.h:1316
bool label_subdomain_id
Write subdomain id of each cell. Defaults to false.
Definition: grid_out.h:684
#define DeclException0(Exception0)
Definition: exceptions.h:541
Ucd(const bool write_preamble=false, const bool write_faces=false, const bool write_lines=false)
Definition: grid_out.cc:103
static void declare_parameters(ParameterHandler &param)
Definition: grid_out.cc:576
bool label_level_subdomain_id
Write level subdomain id of each cell. Defaults to false.
Definition: grid_out.h:686
static std::string get_output_format_names()
Definition: grid_out.cc:569
Convert the subdomain id into the cell color.
Definition: grid_out.h:662
Msh(const bool write_faces=false, const bool write_lines=false)
Definition: grid_out.cc:83
void write_vtk(const Triangulation< dim, spacedim > &tria, std::ostream &out) const
Definition: grid_out.cc:2484
GridOutFlags::Ucd ucd_flags
Definition: grid_out.h:1287
static void declare_parameters(ParameterHandler &param)
Definition: grid_out.cc:113
static void declare_parameters(ParameterHandler &param)
Definition: grid_out.cc:168
Do nothing in write()
Definition: grid_out.h:848
float cell_font_scaling
Scaling of the font for cell annotations. Defaults to 1.
Definition: grid_out.h:676
Convert the level subdomain id into the cell color.
Definition: grid_out.h:533
write() calls write_xfig()
Definition: grid_out.h:858
Convert the level subdomain id into the cell color.
Definition: grid_out.h:664
void write(const Triangulation< dim, spacedim > &tria, std::ostream &out, const OutputFormat output_format, const Mapping< dim, spacedim > *mapping=0) const
Definition: grid_out.cc:4023
bool write_faces
Definition: grid_out.h:60
Convert the level into the cell color.
Definition: grid_out.h:529
void parse_parameters(ParameterHandler &param)
Definition: grid_out.cc:96
unsigned int n_boundary_face_points
Definition: grid_out.h:335
Point< 2 > offset
Definition: grid_out.h:558
static void declare_parameters(ParameterHandler &param)
Definition: grid_out.cc:89
unsigned int write_ucd_faces(const Triangulation< dim, spacedim > &tria, const unsigned int next_element_index, std::ostream &out) const
Definition: grid_out.cc:2983
write() calls write_msh()
Definition: grid_out.h:860
void write_ucd(const Triangulation< dim, spacedim > &tria, std::ostream &out) const
Definition: grid_out.cc:1091
unsigned int write_ucd_lines(const Triangulation< dim, spacedim > &tria, const unsigned int next_element_index, std::ostream &out) const
Definition: grid_out.cc:3023
write() calls write_svg()
Definition: grid_out.h:862
unsigned int write_msh_lines(const Triangulation< dim, spacedim > &tria, const unsigned int next_element_index, std::ostream &out) const
Definition: grid_out.cc:2858
GridOutFlags::Svg svg_flags
Definition: grid_out.h:1321
Svg(const unsigned int line_thickness=2, const unsigned int boundary_line_thickness=4, bool margin=true, const Background background=white, const int azimuth_angle=0, const int polar_angle=0, const Coloring coloring=level_number, const bool convert_level_number_to_height=false, const bool label_level_number=true, const bool label_cell_index=true, const bool label_material_id=false, const bool label_subdomain_id=false, const bool draw_colorbar=true, const bool draw_legend=true)
Definition: grid_out.cc:348
void parse_parameters(ParameterHandler &param)
Definition: grid_out.cc:336
bool write_measure
Definition: grid_out.h:70
Convert the material id into the cell color (default)
Definition: grid_out.h:658
float level_height_factor
The factor determining the vertical distance between levels (default = 0.3)
Definition: grid_out.h:673
GridOutFlags::Eps< 3 > eps_flags_3
Definition: grid_out.h:1311
static ::ExceptionBase & ExcInvalidState()
write() calls write_vtu()
Definition: grid_out.h:868
static void declare_parameters(ParameterHandler &param)
Definition: grid_out.cc:56
void set_flags(const GridOutFlags::DX &flags)
Definition: grid_out.cc:408
bool label_level_number
Write level number into each cell. Defaults to true.
Definition: grid_out.h:678
void parse_parameters(ParameterHandler &param)
Definition: grid_out.cc:121
void write_dx(const Triangulation< dim, spacedim > &tria, std::ostream &out) const
Definition: grid_out.cc:712
bool draw_colorbar
Draw a colorbar next to the plotted grid with respect to the chosen coloring of the cells...
Definition: grid_out.h:689
GridOutFlags::Vtu vtu_flags
Definition: grid_out.h:1336
unsigned int width
The width of the plot. Computed automatically from height if zero (default)
Definition: grid_out.h:616
void write_xfig(const Triangulation< dim, spacedim > &tria, std::ostream &out, const Mapping< dim, spacedim > *mapping=0) const
Definition: grid_out.cc:1217
write() calls write_vtk()
Definition: grid_out.h:866
void parse_parameters(ParameterHandler &param)
Definition: grid_out.cc:394
void write_msh(const Triangulation< dim, spacedim > &tria, std::ostream &out) const
Definition: grid_out.cc:945
std::string default_suffix() const
Definition: grid_out.cc:519