Reference documentation for deal.II version GIT relicensing-860-g3e6195f9ee 2024-06-20 00:40:01+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
GridOutFlags::Gnuplot Struct Reference

#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)
void parse_parameters (ParameterHandler &param)

Static Public Member Functions

static void declare_parameters (ParameterHandler &param)

Public Attributes

bool write_cell_numbers
unsigned int n_extra_curved_line_points
bool curved_inner_cells
bool write_additional_boundary_lines

Detailed Description

Flags describing the details of output in GNUPLOT format.

Definition at line 234 of file grid_out.h.

Constructor & Destructor Documentation

◆ Gnuplot()

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 


Definition at line 154 of file

Member Function Documentation

◆ declare_parameters()

void GridOutFlags::Gnuplot::declare_parameters ( ParameterHandler param)

Declare parameters in ParameterHandler.

Definition at line 167 of file

◆ parse_parameters()

void GridOutFlags::Gnuplot::parse_parameters ( ParameterHandler param)

Parse parameters of ParameterHandler.

Definition at line 175 of file

Member Data Documentation

◆ write_cell_numbers

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.

◆ n_extra_curved_line_points

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.

◆ curved_inner_cells

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 259 of file grid_out.h.

◆ write_additional_boundary_lines

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.

This is not yet implemented for the dim = 2 case. For backwards compatibility, however, this will not raise a runtime error.

Definition at line 272 of file grid_out.h.

The documentation for this struct was generated from the following files: