Reference documentation for deal.II version 9.0.0
grid_out.h
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 1999 - 2018 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=nullptr) 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=nullptr) 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=nullptr) 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 
1092  template <int dim, int spacedim>
1093  void write_vtk (const Triangulation<dim,spacedim> &tria,
1094  std::ostream &out) const;
1095 
1113  template <int dim, int spacedim>
1114  void write_vtu (const Triangulation<dim,spacedim> &tria,
1115  std::ostream &out) const;
1116 
1145  template <int dim, int spacedim>
1147  const std::string &filename_without_extension,
1148  const bool view_levels=false,
1149  const bool include_artificial=false) const;
1150 
1155  template <int dim, int spacedim>
1156  void write (const Triangulation<dim,spacedim> &tria,
1157  std::ostream &out,
1158  const OutputFormat output_format,
1159  const Mapping<dim,spacedim> *mapping=nullptr) const;
1160 
1164  template <int dim, int spacedim>
1165  void write (const Triangulation<dim,spacedim> &tria,
1166  std::ostream &out,
1167  const Mapping<dim,spacedim> *mapping=nullptr) const;
1168 
1172  void set_flags (const GridOutFlags::DX &flags);
1173 
1177  void set_flags (const GridOutFlags::Msh &flags);
1178 
1182  void set_flags (const GridOutFlags::Ucd &flags);
1183 
1187  void set_flags (const GridOutFlags::Gnuplot &flags);
1188 
1192  void set_flags (const GridOutFlags::Eps<1> &flags);
1193 
1197  void set_flags (const GridOutFlags::Eps<2> &flags);
1198 
1202  void set_flags (const GridOutFlags::Eps<3> &flags);
1203 
1207  void set_flags (const GridOutFlags::XFig &flags);
1208 
1212  void set_flags (const GridOutFlags::Svg &flags);
1213 
1217  void set_flags (const GridOutFlags::MathGL &flags);
1218 
1222  void set_flags (const GridOutFlags::Vtk &flags);
1223 
1227  void set_flags (const GridOutFlags::Vtu &flags);
1228 
1243  static std::string default_suffix (const OutputFormat output_format);
1244 
1249  std::string default_suffix () const;
1250 
1264  static OutputFormat parse_output_format (const std::string &format_name);
1265 
1271  static std::string get_output_format_names ();
1272 
1276  static void declare_parameters (ParameterHandler &param);
1277 
1281  void parse_parameters (ParameterHandler &param);
1282 
1287  std::size_t memory_consumption () const;
1288 
1293 
1294 private:
1299 
1304 
1310 
1316 
1322 
1328 
1334 
1340 
1345 
1350 
1355 
1360 
1365 
1391  template <int dim, int spacedim>
1392  unsigned int
1394  const unsigned int next_element_index,
1395  std::ostream &out) const;
1396 
1400  unsigned int
1401  write_msh_faces (const Triangulation<1,1> &tria,
1402  const unsigned int next_element_index,
1403  std::ostream &out) const;
1408  unsigned int
1409  write_msh_faces (const Triangulation<1,2> &tria,
1410  const unsigned int next_element_index,
1411  std::ostream &out) const;
1412  unsigned int
1413  write_msh_faces (const Triangulation<1,3> &tria,
1414  const unsigned int next_element_index,
1415  std::ostream &out) const;
1416 
1417 
1418 
1444  template <int dim, int spacedim>
1445  unsigned int
1447  const unsigned int next_element_index,
1448  std::ostream &out) const;
1449 
1453  unsigned int
1454  write_msh_lines (const Triangulation<1,1> &tria,
1455  const unsigned int next_element_index,
1456  std::ostream &out) const;
1457 
1462  unsigned int
1463  write_msh_lines (const Triangulation<1,2> &tria,
1464  const unsigned int next_element_index,
1465  std::ostream &out) const;
1466  unsigned int
1467  write_msh_lines (const Triangulation<1,3> &tria,
1468  const unsigned int next_element_index,
1469  std::ostream &out) const;
1473  unsigned int
1474  write_msh_lines (const Triangulation<2,2> &tria,
1475  const unsigned int next_element_index,
1476  std::ostream &out) const;
1481  unsigned int
1482  write_msh_lines (const Triangulation<2,3> &tria,
1483  const unsigned int next_element_index,
1484  std::ostream &out) const;
1485 
1511  template <int dim, int spacedim>
1512  unsigned int
1514  const unsigned int next_element_index,
1515  std::ostream &out) const;
1516 
1520  unsigned int
1521  write_ucd_faces (const Triangulation<1,1> &tria,
1522  const unsigned int next_element_index,
1523  std::ostream &out) const;
1524 
1529  unsigned int
1530  write_ucd_faces (const Triangulation<1,2> &tria,
1531  const unsigned int next_element_index,
1532  std::ostream &out) const;
1533  unsigned int
1534  write_ucd_faces (const Triangulation<1,3> &tria,
1535  const unsigned int next_element_index,
1536  std::ostream &out) const;
1537 
1538 
1564  template <int dim, int spacedim>
1565  unsigned int
1567  const unsigned int next_element_index,
1568  std::ostream &out) const;
1569 
1573  unsigned int
1574  write_ucd_lines (const Triangulation<1,1> &tria,
1575  const unsigned int next_element_index,
1576  std::ostream &out) const;
1581  unsigned int
1582  write_ucd_lines (const Triangulation<1,2> &tria,
1583  const unsigned int next_element_index,
1584  std::ostream &out) const;
1585  unsigned int
1586  write_ucd_lines (const Triangulation<1,3> &tria,
1587  const unsigned int next_element_index,
1588  std::ostream &out) const;
1589 
1590 
1594  unsigned int
1595  write_ucd_lines (const Triangulation<2,2> &tria,
1596  const unsigned int next_element_index,
1597  std::ostream &out) const;
1602  unsigned int
1603  write_ucd_lines (const Triangulation<2,3> &tria,
1604  const unsigned int next_element_index,
1605  std::ostream &out) const;
1606 
1607 
1618  static Point<2> svg_project_point(Point<3> point,
1619  Point<3> camera_position,
1620  Point<3> camera_direction,
1621  Point<3> camera_horizontal,
1622  float camera_focus);
1623 
1636  template <int dim, int spacedim>
1637  unsigned int n_boundary_faces (const Triangulation<dim,spacedim> &tria) const;
1638 
1643  unsigned int n_boundary_faces (const Triangulation<1,1> &tria) const;
1644 
1649  unsigned int n_boundary_faces (const Triangulation<1,2> &tria) const;
1650  unsigned int n_boundary_faces (const Triangulation<1,3> &tria) const;
1651 
1664  template <int dim, int spacedim>
1665  unsigned int n_boundary_lines (const Triangulation<dim,spacedim> &tria) const;
1666 
1671  unsigned int n_boundary_lines (const Triangulation<1,1> &tria) const;
1672 
1677  unsigned int n_boundary_lines (const Triangulation<1,2> &tria) const;
1678  unsigned int n_boundary_lines (const Triangulation<1,3> &tria) const;
1679 
1684  unsigned int n_boundary_lines (const Triangulation<2,2> &tria) const;
1689  unsigned int n_boundary_lines (const Triangulation<2,3> &tria) const;
1690 };
1691 
1692 
1693 
1694 DEAL_II_NAMESPACE_CLOSE
1695 
1696 #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:2698
OutputFormat default_format
Definition: grid_out.h:1298
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
void write_xfig(const Triangulation< dim, spacedim > &tria, std::ostream &out, const Mapping< dim, spacedim > *mapping=nullptr) const
Definition: grid_out.cc:1217
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:1333
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
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:3084
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:2827
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
void write_gnuplot(const Triangulation< dim, spacedim > &tria, std::ostream &out, const Mapping< dim, spacedim > *mapping=nullptr) const
Definition: grid_out.cc:3500
unsigned int n_boundary_lines(const Triangulation< dim, spacedim > &tria) const
Definition: grid_out.cc:2715
GridOutFlags::Vtk vtk_flags
Definition: grid_out.h:1359
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:1321
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
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:1354
write() calls write_mathgl()
Definition: grid_out.h:864
GridOutFlags::DX dx_flags
Definition: grid_out.h:1303
GridOutFlags::Msh msh_flags
Definition: grid_out.h:1309
GridOutFlags::Eps< 1 > eps_flags_1
Definition: grid_out.h:1327
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:1344
bool label_subdomain_id
Write subdomain id of each cell. Defaults to false.
Definition: grid_out.h:684
#define DeclException0(Exception0)
Definition: exceptions.h:323
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:1315
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
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:2994
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:3034
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:2869
GridOutFlags::Svg svg_flags
Definition: grid_out.h:1349
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
void write_eps(const Triangulation< dim, spacedim > &tria, std::ostream &out, const Mapping< dim, spacedim > *mapping=nullptr) const
Definition: grid_out.cc:4026
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:1339
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
void write(const Triangulation< dim, spacedim > &tria, std::ostream &out, const OutputFormat output_format, const Mapping< dim, spacedim > *mapping=nullptr) const
Definition: grid_out.cc:4036
GridOutFlags::Vtu vtu_flags
Definition: grid_out.h:1364
unsigned int width
The width of the plot. Computed automatically from height if zero (default)
Definition: grid_out.h:616
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