Reference documentation for deal.II version 9.2.0
|
#include <deal.II/grid/grid_out.h>
Public Member Functions | |
Gnuplot (const bool write_cell_number=false, const unsigned int n_extra_curved_line_points=2, const bool curved_inner_cells=false, const bool write_additional_boundary_lines=true) | |
Gnuplot (const Gnuplot &flags) | |
Gnuplot & | operator= (const Gnuplot &flags) |
void | parse_parameters (ParameterHandler ¶m) |
Static Public Member Functions | |
static void | declare_parameters (ParameterHandler ¶m) |
Public Attributes | |
bool | write_cell_numbers |
unsigned int | n_extra_curved_line_points |
unsigned int & | n_boundary_face_points |
bool | curved_inner_cells |
bool | write_additional_boundary_lines |
Flags describing the details of output in GNUPLOT format.
Definition at line 234 of file grid_out.h.
GridOutFlags::Gnuplot::Gnuplot | ( | const bool | write_cell_number = false , |
const unsigned int | n_extra_curved_line_points = 2 , |
||
const bool | curved_inner_cells = false , |
||
const bool | write_additional_boundary_lines = true |
||
) |
Constructor.
Definition at line 150 of file grid_out.cc.
GridOutFlags::Gnuplot::Gnuplot | ( | const Gnuplot & | flags | ) |
Copy constructor. Needed since this class (for backwards compatibility) has a reference member variable.
Definition at line 164 of file grid_out.cc.
Copy operator. Needed since this class (for backwards compatibility) has a reference member variable.
Definition at line 174 of file grid_out.cc.
|
static |
Declare parameters in ParameterHandler.
Definition at line 187 of file grid_out.cc.
void GridOutFlags::Gnuplot::parse_parameters | ( | ParameterHandler & | param | ) |
Parse parameters of ParameterHandler.
Definition at line 195 of file grid_out.cc.
bool GridOutFlags::Gnuplot::write_cell_numbers |
Write the number of each cell into the output file before starting with the lines it is composed of, as a comment. This might be useful if you want to find out details about the grid, for example the position of cells of which you know the number. It enlarges the size of the output significantly, however.
Default: false
.
Definition at line 245 of file grid_out.h.
unsigned int GridOutFlags::Gnuplot::n_extra_curved_line_points |
Number of points, excluding the vertices, to plot on curved lines. Since GNUPLOT can only plot straight lines, setting this number to a value greater than zero (4 or 5 is usually enough for refined grids) makes the plot look curved even though it is not.
Definition at line 253 of file grid_out.h.
unsigned int& GridOutFlags::Gnuplot::n_boundary_face_points |
Based on the vertices of the face and n_boundary_face_points additional points a tensor product mesh (transformed to the real space) of (n_boundary_face_points+2)dim-1 points is plotted on each boundary face.
Definition at line 265 of file grid_out.h.
bool GridOutFlags::Gnuplot::curved_inner_cells |
Boolean indicating whether or not interior lines should be plotted with n_extra_curved_line_points
line segments.
Definition at line 271 of file grid_out.h.
bool GridOutFlags::Gnuplot::write_additional_boundary_lines |
Flag. If true then, when writing spacedim = 3
output, write 2*n_extra_curved_line_points
extra lines on boundary faces.
Setting this option has no effect when spacedim = 2
since, in that case, boundary faces are lines and outputting additional lines does not make sense.
dim = 2
case. For backwards compatibility, however, this will not raise a runtime error. Definition at line 284 of file grid_out.h.