Reference documentation for deal.II version 9.2.0
\(\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\}}\)
utilities.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2018 - 2020 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.md at
12 // the top level directory of deal.II.
13 //
14 // ---------------------------------------------------------------------
15 
16 
17 #ifndef dealii_gmsh_parameters_h
18 #define dealii_gmsh_parameters_h
19 
20 #include <deal.II/base/config.h>
21 
22 #ifdef DEAL_II_WITH_GMSH
23 
24 # ifdef DEAL_II_WITH_OPENCASCADE
25 # include <TopoDS_CompSolid.hxx>
26 # include <TopoDS_Compound.hxx>
27 # include <TopoDS_Edge.hxx>
28 # include <TopoDS_Face.hxx>
29 # include <TopoDS_Shape.hxx>
30 # include <TopoDS_Vertex.hxx>
31 # endif
32 
34 
35 # include <deal.II/grid/tria.h>
36 
38 
44 namespace Gmsh
45 {
52  {
53  public:
58  const std::string &output_base_name = "");
59 
63  void
65 
72  double characteristic_length = 1.0;
73 
80  std::string output_base_name = "";
81  };
82 
83 # ifdef DEAL_II_WITH_OPENCASCADE
84 
92  template <int spacedim>
93  void
95  const TopoDS_Edge & boundary,
98 # endif
99 } // namespace Gmsh
100 
102 
103 #endif
104 #endif
Gmsh
Definition: utilities.h:44
Gmsh::AdditionalParameters::output_base_name
std::string output_base_name
Definition: utilities.h:80
Triangulation
Definition: tria.h:1109
tria.h
Gmsh::AdditionalParameters
Definition: utilities.h:51
Gmsh::create_triangulation_from_boundary_curve
void create_triangulation_from_boundary_curve(const TopoDS_Edge &boundary, Triangulation< 2, spacedim > &tria, const AdditionalParameters &prm=AdditionalParameters())
Definition: utilities.cc:56
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
Gmsh::AdditionalParameters::add_parameters
void add_parameters(ParameterHandler &prm)
Definition: utilities.cc:41
parameter_handler.h
Gmsh::AdditionalParameters::AdditionalParameters
AdditionalParameters(const double characteristic_length=1.0, const std::string &output_base_name="")
Definition: utilities.cc:31
Gmsh::AdditionalParameters::characteristic_length
double characteristic_length
Definition: utilities.h:72
ParameterHandler
Definition: parameter_handler.h:845
config.h
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359