deal.II version GIT relicensing-1936-ge55124254b 2024-10-04 21:10:00+00:00
|
#include <deal.II/grid/grid_out.h>
Public Types | |
enum | SizeType { width , height } |
Public Member Functions | |
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) | |
void | parse_parameters (ParameterHandler ¶m) |
Static Public Member Functions | |
static void | declare_parameters (ParameterHandler ¶m) |
Public Attributes | |
SizeType | size_type |
unsigned int | size |
double | line_width |
bool | color_lines_on_user_flag |
unsigned int | n_boundary_face_points |
bool | color_lines_level |
Flags describing the details of output for encapsulated postscript. In this structure, the flags common to all dimensions are listed. Flags which are specific to one space dimension only are listed in derived classes.
By default, the size of the picture is scaled such that the width equals 300 units.
Definition at line 306 of file grid_out.h.
Enum denoting the possibilities whether the scaling should be done such that the given size
equals the width or the height of the resulting picture.
Enumerator | |
---|---|
width | Scale with the width. |
height | Scale with the height. |
Definition at line 313 of file grid_out.h.
GridOutFlags::EpsFlagsBase::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 |
||
) |
Constructor.
Definition at line 182 of file grid_out.cc.
|
static |
Declare parameters in ParameterHandler.
Definition at line 198 of file grid_out.cc.
void GridOutFlags::EpsFlagsBase::parse_parameters | ( | ParameterHandler & | param | ) |
Parse parameters of ParameterHandler.
Definition at line 231 of file grid_out.cc.
SizeType GridOutFlags::EpsFlagsBase::size_type |
See above. Default is width
.
Definition at line 328 of file grid_out.h.
unsigned int GridOutFlags::EpsFlagsBase::size |
Width or height of the output as given in postscript units This usually is given by the strange unit 1/72 inch. Whether this is height or width is specified by the flag size_type
.
Default is 300.
Definition at line 337 of file grid_out.h.
double GridOutFlags::EpsFlagsBase::line_width |
Width of a line in postscript units. Default is 0.5.
Definition at line 342 of file grid_out.h.
bool GridOutFlags::EpsFlagsBase::color_lines_on_user_flag |
Should lines with a set user_flag
be drawn in a different color (red)? See GlossUserFlags for information about user flags.
Definition at line 350 of file grid_out.h.
unsigned int GridOutFlags::EpsFlagsBase::n_boundary_face_points |
The number of points on a boundary face that are plotted in addition to the vertices of the face.
This number is only used if the mapping used is not simply the standard \(Q_1\) mapping (i.e., an object of kind MappingQ(1)) that may describe edges of cells as curved and that will then be approximated using line segments with a number of intermediate points as described by the current variable.
Definition at line 362 of file grid_out.h.
bool GridOutFlags::EpsFlagsBase::color_lines_level |
Should lines be colored according to their refinement level? This overrides color_lines_on_user_flag for all levels except level 0. Colors are: level 0: black, other levels: rainbow scale from blue to red.
Definition at line 370 of file grid_out.h.