deal2lkit: A ToolKit library for Deal.II
ParsedGridGenerator< dim, spacedim > Class Template Reference

Parsed grid generator. More...

#include <parsed_grid_generator.h>

Inheritance diagram for ParsedGridGenerator< dim, spacedim >:
ParameterAcceptor Subscriptor

Public Member Functions

 ParsedGridGenerator (const std::string section_name="", const std::string grid_type="rectangle", const std::string input_grid_file="", const std::string opt_point_1="", const std::string opt_point_2="", const std::string opt_colorize="false", const std::string opt_double_1="1.0", const std::string opt_double_2="0.5", const std::string opt_double_3="1.5", const std::string opt_int_1="1", const std::string opt_int_2="2", const std::string opt_vec_of_int="", const std::string mesh_smoothing="none", const std::string output_grid_file="", const std::string opt_manifold_descriptors="")
 Constructor. More...
 
virtual void declare_parameters (ParameterHandler &prm)
 Declare all parameters of this class. More...
 
Triangulation< dim, spacedim > * serial ()
 Return a pointer to a newly created serial Triangulation. More...
 
void create (Triangulation< dim, spacedim > &tria)
 Generate the grid. More...
 
void write (const Triangulation< dim, spacedim > &tria, const std::string &filename="") const
 Write the given Triangulation to the output file specified in Output file name, or in the optional file name. More...
 
- Public Member Functions inherited from ParameterAcceptor
 ParameterAcceptor (const std::string section_name="")
 The constructor adds derived classes to the list of acceptors. More...
 
virtual ~ParameterAcceptor ()
 The destructor sets to zero the pointer relative to this index, so that it is safe to destroy the mother class. More...
 
virtual void parse_parameters (ParameterHandler &prm)
 Parse the parameter file. More...
 
virtual void parse_parameters_call_back ()
 Parse parameter call back. More...
 
std::string get_section_name () const
 Return the section name of this class. More...
 
std::vector< std::string > get_section_path () const
 Travers all registered classes, and figure out what subsections we need to enter. More...
 
template<class T >
void add_parameter (ParameterHandler &prm, T *parameter, const std::string &entry, const std::string &default_value, const Patterns::PatternBase &pattern=Patterns::Anything(), const std::string &documentation=std::string())
 Add a parameter the given parameter list. More...
 
template<class T >
void add_parameter (T &parameter, const std::string &entry, const std::string &documentation=std::string(), ParameterHandler &prm=ParameterAcceptor::prm)
 Add a parameter to the global parameter handler ParameterAcceptor::prm. More...
 
void enter_my_subsection (ParameterHandler &prm)
 Make sure we enter the right subsection of the global parameter file. More...
 
void leave_my_subsection (ParameterHandler &prm)
 This function undoes what the enter_my_subsection() function did. More...
 
template<>
std_cxx11::shared_ptr< Patterns::PatternBaseto_pattern (const double &)
 double More...
 
template<>
std::string to_string (const double &entry)
 
template<>
double to_type (const std::string &parameter)
 
template<>
std_cxx11::shared_ptr< Patterns::PatternBaseto_pattern (const int &)
 int More...
 
template<>
std::string to_string (const int &entry)
 
template<>
int to_type (const std::string &parameter)
 
template<>
std_cxx11::shared_ptr< Patterns::PatternBaseto_pattern (const unsigned int &)
 unsigned int More...
 
template<>
std::string to_string (const unsigned int &entry)
 
template<>
unsigned int to_type (const std::string &parameter)
 
template<>
std_cxx11::shared_ptr< Patterns::PatternBaseto_pattern (const bool &)
 bool More...
 
template<>
std::string to_string (const bool &entry)
 
template<>
bool to_type (const std::string &parameter)
 
- Public Member Functions inherited from Subscriptor
 Subscriptor ()
 
 Subscriptor (const Subscriptor &)
 
 Subscriptor (Subscriptor &&)
 
virtual ~Subscriptor ()
 
Subscriptoroperator= (const Subscriptor &)
 
Subscriptoroperator= (Subscriptor &&)
 
void subscribe (const char *identifier=0) const
 
void unsubscribe (const char *identifier=0) const
 
unsigned int n_subscriptions () const
 
void list_subscribers () const
 
void serialize (Archive &ar, const unsigned int version)
 

Static Public Member Functions

static std::string get_grid_names ()
 Return a list of implemented grids. More...
 
- Static Public Member Functions inherited from ParameterAcceptor
static void initialize (const std::string filename="", const std::string outfilename="")
 Call declare_all_parameters(), read filename (if it is present as input parameter) and parse_all_parameters() on the static member prm. More...
 
static void clear ()
 Clear class list and global parameter file. More...
 
static void parse_all_parameters (ParameterHandler &prm=ParameterAcceptor::prm)
 Parse the given ParameterHandler. More...
 
static void log_info ()
 Print information about all stored classes. More...
 
static void declare_all_parameters (ParameterHandler &prm=ParameterAcceptor::prm)
 Initialize the ParameterHandler with all derived classes parameters.This function enters the subsection returned by get_section_name() for each derived class, and declares all parameters that were added using add_parameter(). More...
 
template<class T >
static std_cxx11::shared_ptr< Patterns::PatternBaseto_pattern (const T &)
 Given a class T, construct its default pattern to be used when declaring parameters. More...
 
template<class T >
static T to_type (const std::string &)
 Given a string, fill the value of the given parameter. More...
 
template<class T >
static std::string to_string (const T &)
 Given a parameter, return a string containing the given parameter. More...
 
- Static Public Member Functions inherited from Subscriptor
static::ExceptionBase & ExcInUse (int arg1, char *arg2, std::string &arg3)
 
static::ExceptionBase & ExcNoSubscriber (char *arg1, char *arg2)
 

Private Member Functions

Triangulation< dim, spacedim >::MeshSmoothing get_smoothing ()
 Mesh smoothing. More...
 
void parse_manifold_descriptors (const std::string &str_manifold_descriptors)
 Take str_manifold_descriptors and fill manifold_descriptors with ids and manifolds. More...
 

Private Attributes

std::string mesh_smoothing
 Mesh smoothing to apply to the newly created Triangulation. More...
 
std::string grid_name
 The grid to generate. More...
 
std::string optional_manifold_descriptors
 Optional Manifold descriptors. More...
 
std::string default_manifold_descriptors
 Default Manifold descriptors. More...
 
std::map< types::manifold_id, shared_ptr< Manifold< dim, spacedim > > > manifold_descriptors
 A map of Manifold associated to the given manifold_ids. More...
 
double double_option_one
 Optional double argument. More...
 
double double_option_two
 Optional double argument. More...
 
double double_option_three
 Optional double argument. More...
 
Point< spacedim > point_option_one
 Optional Point argument. More...
 
Point< spacedim > point_option_two
 Optional Point argument. More...
 
unsigned int un_int_option_one
 Optional int argument. More...
 
unsigned int un_int_option_two
 Optional int argument. More...
 
bool colorize
 For all the internally generated meshes that support it, turn on colorizing. More...
 
bool create_default_manifolds
 Create default manifold descriptors. More...
 
bool copy_boundary_to_manifold_ids
 Copy boundary ids to manifold ids. More...
 
bool copy_material_to_manifold_ids
 Copy material ids to manifold ids. More...
 
std::vector< unsigned int > un_int_vec_option_one
 Optional vector of integers. More...
 
std::string input_grid_file_name
 Input grid file name. More...
 
std::string output_grid_file_name
 Output grid file name. More...
 
std::string str_point_1
 
std::string str_point_2
 
std::string str_colorize
 
std::string str_double_1
 
std::string str_double_2
 
std::string str_double_3
 
std::string str_un_int_1
 
std::string str_un_int_2
 
std::string str_vec_int
 

Friends

struct PGGHelper
 Helper function to create grids. More...
 

Additional Inherited Members

- Static Public Attributes inherited from ParameterAcceptor
static ParameterHandler prm
 Static parameter. More...
 
- Protected Attributes inherited from ParameterAcceptor
const std::string section_name
 The subsection name for this class. More...
 

Detailed Description

template<int dim, int spacedim = dim>
class ParsedGridGenerator< dim, spacedim >

Parsed grid generator.

Create a grid by reading a parameter file, either using dealii::GridGenerator functions, or by reading it from a file in supported format.

All Triangulations in the GridGenerator Namespace are supported, as well as all file formats supported by GridIn. This class is in all effects a wrapper around the GridGenerator namespace functions, GridIn, GridOut and some Manifold classes of the deal.II library.

ParsedGridGenerator can be used both in serial and parallel settings, and a typical usage of this class is

// 2D square - serial mesh
// by default it constructs the rectangle whose opposite corner points
// are p1=(10.0,10.0) and p2=(20.0,20.0)
ParsedGridGenerator<2,2> tria_builder_2d("2D mesh",
"rectangle",
"",
"10.0,10.0",
"20.0,20.0",
"true");
// 3D parallelepiped - parallel distributed mesh
// by default it constructs the parallelepiped whose opposite corner
// points are p1=(7.0,8.0,9.0) and p2=(15.0.16.0,16.7)
ParsedGridGenerator<3,3> tria_builder_3d("3D mesh",
"rectangle",
"",
"7.0,8.0,9.0",
"15.0,16.0,16.7");
// call ParameterAcceptor
ParameterAcceptor::initialize("file.prm", "no_descriptions.prm");
// Construct a serial mesh following the indications in "file.prm"
// in the section "2D mesh"
Triangulation<2,2> *tria_serial = tria_builder_2d.serial();
// Construct a parallel::distributed::Triangulation following the
// indications in "file.prm'', in the section "3D mesh"
tria_builder_3d.distributed(MPI_COMM_WORLD);

Once the function ParameterAcceptor::initialize("file.prm", "no_descriptions.prm") is called, the "no_descriptions.prm" is filled with the following entries:

subsection 3D mesh
set Colorize = false
set Grid to generate = rectangle
set Input grid file name =
set Mesh smoothing alogrithm = none
set Optional Point<spacedim> 1 = 7.0,8.0,9.0
set Optional Point<spacedim> 2 = 15.0,16.0,16.7
set Optional double 1 = 1.0
set Optional double 2 = 0.5
set Optional int 1 = 1
set Optional vector of dim int = 1,1,1
set Output grid file name =
set Copy boundary to manifold ids = false
set Copy material to manifold ids = false
set Create default manifolds = false
set Manifold descriptors =
end
subsection 2D mesh
set Colorize = true
set Grid to generate = rectangle
set Input grid file name =
set Mesh smoothing alogrithm = none
set Optional Point<spacedim> 1 = 10.0,10.0
set Optional Point<spacedim> 2 = 20.0,20.0
set Optional double 1 = 1.0
set Optional double 2 = 0.5
set Optional int 1 = 1
set Optional vector of dim int = 1,1
set Output grid file name =
set Copy boundary to manifold ids = false
set Copy material to manifold ids = false
set Create default manifolds = false
set Manifold descriptors =
end

If the user would then change the parameter file to generate a sphere, or read a file, no change in the code would be necessary, as at run time the new parameters would be used.

Setting the option "Create default manifolds" to true, makes sure that default manifold descritpors for each Triangulation that requires non straigth boundary is also generated together with the Triangulation, and attached to it.

If the option Output grid file name is set to non-empty, when the user calls ParsedGridGenerator::write(), an output grid would be generated using GridOut, choosing the right format according to the extension of the file.

Support for reading a single face of a NURBS surface into a Triangulationa<2,3> is also available, by specifying an input file name which is in the STEP or IGES format. In this case the OpenCASCADE::read_STEP() or OpenCASCADE::read_IGES() are called, and the resulting OpenCASCADE object is split into its faces. The face can be selected using the "Optional int 1" parameter.

Definition at line 145 of file parsed_grid_generator.h.

Constructor & Destructor Documentation

§ ParsedGridGenerator()

template<int dim, int spacedim>
ParsedGridGenerator< dim, spacedim >::ParsedGridGenerator ( const std::string  section_name = "",
const std::string  grid_type = "rectangle",
const std::string  input_grid_file = "",
const std::string  opt_point_1 = "",
const std::string  opt_point_2 = "",
const std::string  opt_colorize = "false",
const std::string  opt_double_1 = "1.0",
const std::string  opt_double_2 = "0.5",
const std::string  opt_double_3 = "1.5",
const std::string  opt_int_1 = "1",
const std::string  opt_int_2 = "2",
const std::string  opt_vec_of_int = "",
const std::string  mesh_smoothing = "none",
const std::string  output_grid_file = "",
const std::string  opt_manifold_descriptors = "" 
)

Constructor.

Takes a name for the section of the Parameter Handler to use.

This class is derived from ParameterAcceptor. Once you constructed an object of this class, if you call ParameterAcceptor::parse_all_parameters(), also the parameters of this class will be filled with values from the argument ParameterHandler.

This constructor takes optional strings which allow the user to decide what are the default values that will be written on the parameter file. The first optional argument specifies the section name within the parameter file. If the section name is empty, by default it is set to ParsedGridGenerator<x,x> where x,x is replaced with the actual dim and spacedim numbers with which the user instantiated the class.

Since every GridGenerator function takes a different set of arguments, we provide a list of optional arguments that will be used by the class itself.

Definition at line 57 of file parsed_grid_generator.cc.

Member Function Documentation

§ create()

template<int dim, int spacedim>
void ParsedGridGenerator< dim, spacedim >::create ( Triangulation< dim, spacedim > &  tria)

Generate the grid.

Fill a user supplied empty Triangulation using the parameter file. If the Triangulation is not empty, an exception is thrown.

The following grids are implemented:

  • file-> read grid from a file using:
    • Input grid filename : input filename
  • rectangle-> calls GridGenerator::SubdividedHyperRectangle() using:
  • hyper_sphere-> calls GridGenerator::HyperSphere() using:
  • hyper_ball-> calls GridGenerator::HyperBall() using:
  • parallelepiped-> ccalls GridGenerator::Parallelepiped() using:
    • std::vector<unsigned int> : number of subdivisions in each coordinate direction
    • Point<spacedim>: lower-left corner
    • Point<spacedim>: upper-right corner
    • bool: colorize grid
  • hyper_shell-> calls GridGenerator::HyperShell() using:
    • Point<spacedim>: center
    • double: inner sphere radius
    • double: outer sphere radius
    • unsigned int: number of cells of the resulting triangulation (In 3D, only 6, 12, and 96 are allowed)
    • bool: colorize grid
  • hyper_L-> GridGenerator::HyperL(). It produces the hypercube with the interval [left,right] without the hypercube made out of the interval [(left+right)/2,right] for each coordinate.:
    • double: left
    • double: right
  • half_hyper_ball-> produce a half hyper-ball around center, which contains four elements in 2d and 6 in 3d. The cut plane is perpendicular to the x-axis:
  • cylinder-> create a cylinder around the x-axis. The cylinder extends from x=-half_length to x=+half_length and its projection into the yz-plane is a circle of radius radius:
    • double: radius
    • double: half length of the cylinder
  • truncated_cone-> create a cut cone around the x-axis. The cone extends from x=-half_length to x=half_length and its projection into the yz-plane is a circle of radius radius1 at x=-half_length and a circle of radius radius2 at x=+half_length:
    • double: radius 1
    • double: radius 2
    • double: half length
  • hyper_cross-> a center cell with stacks of cell protruding from each surface:
    • Vector of dim int: sizes
    • bool: colorize grid
  • hyper_cube_slit-> initialize the given Triangulation with a hypercube with a slit. In each coordinate direction, the hypercube extends from left to right:
    • double: left
    • double: right
    • bool: colorize grid
  • half_hyper_shell-> produce a half hyper-shell, i.e. the space between two circles in two space dimensions and the region between two spheres in 3D:
    • Point<spacedim>: center
    • double: inner radius
    • double: outer radius
    • unsigned int: number of cells
    • bool: colorize grid
  • quarter_hyper_shell-> Produce a domain that is the intersection between a hyper-shell with given inner and outer radius, i.e. the space between two circles in two space dimensions and the region between two spheres in 3D, and the positive quadrant (in 2D) or octant (in 3D). In 2D, this is indeed a quarter of the full annulus, while the function is a misnomer in 3D because there the domain is not a quarter but one eighth of the full shell:
    • Point<spacedim>: center
    • double: inner radius
    • double: outer radius
    • unsigned int: number of cells
    • bool: colorize grid
  • cylinder_shell-> produce a domain that is the space between two cylinders in 3D, with given length, inner and outer radius and a given number of elements for this initial triangulation. If n_radial_cells is zero (as is the default), then it is computed adaptively such that the resulting elements have the least aspect ratio. The same holds for n_axial_cells:
    • double: lenght
    • double: inner radius
    • double: outer radius
    • unsigned int: n_radial_cells
    • unsigned int: n_axial_cells
  • moebius-> produce a ring of cells in 3d that is cut open, twisted and glued together again. This results in a kind of m"oebius-loop:
    • unsigned int: number of cells in the loop
    • unsigned int: number of rotations (Pi/2 each) to be performed before gluing the loop together
    • double: radius of the circle
    • double: radius of the cylinder bend together as loop
  • hyper_cube_with_cylindrical_hole-> produces a square in the xy-plane with a circular hole in the middle:
    • double: inner radius
    • double: outer radius
    • double: length
    • unsigned int: repetitions (number of subdivisions along the z-direction)
    • bool: colorize grid
  • torus-> produce the surface meshing of the torus:
    • double: radius of the circle which forms the middle line of the torus containing the loop of cells
    • double: inner radius of the torus
  • cheese-> domain itself is rectangular. The argument holes specifies how many square holes the domain should have in each coordinate direction :" - *Vector of dim int*: number of holes on each direction"

Definition at line 884 of file parsed_grid_generator.cc.

§ declare_parameters()

template<int dim, int spacedim>
void ParsedGridGenerator< dim, spacedim >::declare_parameters ( ParameterHandler prm)
virtual

Declare all parameters of this class.

Reimplemented from ParameterAcceptor.

Definition at line 102 of file parsed_grid_generator.cc.

§ get_grid_names()

template<int dim, int spacedim>
std::string ParsedGridGenerator< dim, spacedim >::get_grid_names ( )
static

Return a list of implemented grids.

Definition at line 96 of file parsed_grid_generator.cc.

§ get_smoothing()

template<int dim, int spacedim>
Triangulation< dim, spacedim >::MeshSmoothing ParsedGridGenerator< dim, spacedim >::get_smoothing ( )
private

Mesh smoothing.

Parse the type of MeshSmoothing for the generated Triangulation.

Definition at line 981 of file parsed_grid_generator.cc.

§ parse_manifold_descriptors()

template<int dim, int spacedim>
void ParsedGridGenerator< dim, spacedim >::parse_manifold_descriptors ( const std::string &  str_manifold_descriptors)
private

Take str_manifold_descriptors and fill manifold_descriptors with ids and manifolds.

The format of the string is the following:

  • id followed by '=' manifold descriptor string

Each couple of id and manifold descriptor string should be separated by ''

The manifold descriptor string can be taken among the following:

  • HyperBallBoundary : boundary of a hyper_ball :
  • CylinderBoundaryOnAxis : boundary of a cylinder, given radius and axis :
    • Optional double : radius
    • Optional int 1 : axis (0=x, 1=y, 2=z)
  • GeneralCylinderBoundary : boundary of a cylinder, given radius, a point on the axis and a direction :
  • ConeBoundary : boundary of a cone, given radii, and two points on the faces :
    • Optional double 1 : radius 1
    • Optional double 2 : radius 2
    • Optional Point<spacedim> 1: point on first face
    • Optional Point<spacedim> 2: point on second face
  • TorusBoundary : boundary of a torus :
    • Optional double 1 : radius 1
    • Optional double 2 : radius 2
  • ArclengthProjectionLineManifold:file.iges/step : interface to CAD file:
    • Optional double 1 : scale to apply to input CAD file
  • ArclengthProjectionLineManifold:file.iges/step : interface to CAD file:
    • Optional double 1 : scale to apply to input CAD file
  • DirectionalProjectionBoundary:file.iges/step : interface to CAD file:
    • Optional double 1 : scale to apply to input CAD file
    • Optional Point<spacedim> 1: direction of projection
  • NormalProjectionBoundary:file.iges/step : interface to CAD file:
    • Optional double 1 : scale to apply to input CAD file
  • NormalToMeshProjectionBoundary:file.iges/step : interface to CAD file:
    • Optional double 1 : scale to apply to input CAD file

Definition at line 911 of file parsed_grid_generator.cc.

§ serial()

template<int dim, int spacedim>
Triangulation< dim, spacedim > * ParsedGridGenerator< dim, spacedim >::serial ( )

Return a pointer to a newly created serial Triangulation.

It will throw an exception if called before any parsing has occured. It is the user's responsability to destroy the created grid once it is no longer needed.

Definition at line 368 of file parsed_grid_generator.cc.

§ write()

template<int dim, int spacedim>
void ParsedGridGenerator< dim, spacedim >::write ( const Triangulation< dim, spacedim > &  tria,
const std::string &  filename = "" 
) const

Write the given Triangulation to the output file specified in Output file name, or in the optional file name.

If no Output file name is given and filename is the empty string, this function does nothing. If an output file name is provided (either in the input file, or as an argument to this function), then this function will call the appropriate GridOut method according to the extension of the file name.

Definition at line 928 of file parsed_grid_generator.cc.

Friends And Related Function Documentation

§ PGGHelper

template<int dim, int spacedim = dim>
friend struct PGGHelper
friend

Helper function to create grids.

Definition at line 520 of file parsed_grid_generator.h.

Member Data Documentation

§ colorize

template<int dim, int spacedim = dim>
bool ParsedGridGenerator< dim, spacedim >::colorize
private

For all the internally generated meshes that support it, turn on colorizing.

Definition at line 461 of file parsed_grid_generator.h.

§ copy_boundary_to_manifold_ids

template<int dim, int spacedim = dim>
bool ParsedGridGenerator< dim, spacedim >::copy_boundary_to_manifold_ids
private

Copy boundary ids to manifold ids.

If set to true, boundary ids will be copied over manifold ids on the newly created triangulation.

Definition at line 482 of file parsed_grid_generator.h.

§ copy_material_to_manifold_ids

template<int dim, int spacedim = dim>
bool ParsedGridGenerator< dim, spacedim >::copy_material_to_manifold_ids
private

Copy material ids to manifold ids.

If set to true, material ids will be copied over manifold ids on the newly created triangulation.

Definition at line 489 of file parsed_grid_generator.h.

§ create_default_manifolds

template<int dim, int spacedim = dim>
bool ParsedGridGenerator< dim, spacedim >::create_default_manifolds
private

Create default manifold descriptors.

If set to true, boundary ids will be copied over manifold ids on the newly created triangulation (independently on the value of the variable copy_boundary_to_manifold_ids, and for each triangulation where we know how to create and associate their manifolds, we create them and associate them to the newly created triangulation.

This option produces different associations depending on the colorize parameter. The created manifolds will be compatible with the triangulation and the colorize parameter used.

Definition at line 475 of file parsed_grid_generator.h.

§ default_manifold_descriptors

template<int dim, int spacedim = dim>
std::string ParsedGridGenerator< dim, spacedim >::default_manifold_descriptors
private

Default Manifold descriptors.

This is filled when creating the grid, and is later translated into actual manifolds. See the documentation of the method parse_manifold_descriptors() for an explanation of the format to be used in the parameter file.

Definition at line 415 of file parsed_grid_generator.h.

§ double_option_one

template<int dim, int spacedim = dim>
double ParsedGridGenerator< dim, spacedim >::double_option_one
private

Optional double argument.

First option.

Definition at line 425 of file parsed_grid_generator.h.

§ double_option_three

template<int dim, int spacedim = dim>
double ParsedGridGenerator< dim, spacedim >::double_option_three
private

Optional double argument.

Third option.

Definition at line 435 of file parsed_grid_generator.h.

§ double_option_two

template<int dim, int spacedim = dim>
double ParsedGridGenerator< dim, spacedim >::double_option_two
private

Optional double argument.

Second option.

Definition at line 430 of file parsed_grid_generator.h.

§ grid_name

template<int dim, int spacedim = dim>
std::string ParsedGridGenerator< dim, spacedim >::grid_name
private

The grid to generate.

Use the name "file" to read from a file.

Definition at line 399 of file parsed_grid_generator.h.

§ input_grid_file_name

template<int dim, int spacedim = dim>
std::string ParsedGridGenerator< dim, spacedim >::input_grid_file_name
private

Input grid file name.

Definition at line 499 of file parsed_grid_generator.h.

§ manifold_descriptors

template<int dim, int spacedim = dim>
std::map<types::manifold_id, shared_ptr<Manifold<dim,spacedim> > > ParsedGridGenerator< dim, spacedim >::manifold_descriptors
private

A map of Manifold associated to the given manifold_ids.



Definition at line 420 of file parsed_grid_generator.h.

§ mesh_smoothing

template<int dim, int spacedim = dim>
std::string ParsedGridGenerator< dim, spacedim >::mesh_smoothing
private

Mesh smoothing to apply to the newly created Triangulation.

This variable is only used if the method serial() is called. For the method parallel(), mesh smoothing is not yet supported by deal.II.

Definition at line 394 of file parsed_grid_generator.h.

§ optional_manifold_descriptors

template<int dim, int spacedim = dim>
std::string ParsedGridGenerator< dim, spacedim >::optional_manifold_descriptors
private

Optional Manifold descriptors.

These are the ones defined by the parameter option "Manifold descriptors". See the documentation of the method parse_manifold_descriptors() for an explanation of the format to be used in the parameter file.

Definition at line 407 of file parsed_grid_generator.h.

§ output_grid_file_name

template<int dim, int spacedim = dim>
std::string ParsedGridGenerator< dim, spacedim >::output_grid_file_name
private

Output grid file name.

Definition at line 504 of file parsed_grid_generator.h.

§ point_option_one

template<int dim, int spacedim = dim>
Point<spacedim> ParsedGridGenerator< dim, spacedim >::point_option_one
private

Optional Point argument.

First Option.

Definition at line 440 of file parsed_grid_generator.h.

§ point_option_two

template<int dim, int spacedim = dim>
Point<spacedim> ParsedGridGenerator< dim, spacedim >::point_option_two
private

Optional Point argument.

Second Option.

Definition at line 445 of file parsed_grid_generator.h.

§ str_colorize

template<int dim, int spacedim = dim>
std::string ParsedGridGenerator< dim, spacedim >::str_colorize
private

Definition at line 509 of file parsed_grid_generator.h.

§ str_double_1

template<int dim, int spacedim = dim>
std::string ParsedGridGenerator< dim, spacedim >::str_double_1
private

Definition at line 510 of file parsed_grid_generator.h.

§ str_double_2

template<int dim, int spacedim = dim>
std::string ParsedGridGenerator< dim, spacedim >::str_double_2
private

Definition at line 511 of file parsed_grid_generator.h.

§ str_double_3

template<int dim, int spacedim = dim>
std::string ParsedGridGenerator< dim, spacedim >::str_double_3
private

Definition at line 512 of file parsed_grid_generator.h.

§ str_point_1

template<int dim, int spacedim = dim>
std::string ParsedGridGenerator< dim, spacedim >::str_point_1
private

Definition at line 507 of file parsed_grid_generator.h.

§ str_point_2

template<int dim, int spacedim = dim>
std::string ParsedGridGenerator< dim, spacedim >::str_point_2
private

Definition at line 508 of file parsed_grid_generator.h.

§ str_un_int_1

template<int dim, int spacedim = dim>
std::string ParsedGridGenerator< dim, spacedim >::str_un_int_1
private

Definition at line 513 of file parsed_grid_generator.h.

§ str_un_int_2

template<int dim, int spacedim = dim>
std::string ParsedGridGenerator< dim, spacedim >::str_un_int_2
private

Definition at line 514 of file parsed_grid_generator.h.

§ str_vec_int

template<int dim, int spacedim = dim>
std::string ParsedGridGenerator< dim, spacedim >::str_vec_int
private

Definition at line 515 of file parsed_grid_generator.h.

§ un_int_option_one

template<int dim, int spacedim = dim>
unsigned int ParsedGridGenerator< dim, spacedim >::un_int_option_one
private

Optional int argument.

First Option.

Definition at line 450 of file parsed_grid_generator.h.

§ un_int_option_two

template<int dim, int spacedim = dim>
unsigned int ParsedGridGenerator< dim, spacedim >::un_int_option_two
private

Optional int argument.

First Option.

Definition at line 455 of file parsed_grid_generator.h.

§ un_int_vec_option_one

template<int dim, int spacedim = dim>
std::vector<unsigned int> ParsedGridGenerator< dim, spacedim >::un_int_vec_option_one
private

Optional vector of integers.

Definition at line 494 of file parsed_grid_generator.h.


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