Reference documentation for deal.II version 9.1.0-pre
utilities.h
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2018 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 
33 # include <deal.II/base/parameter_handler.h>
34 
35 # include <deal.II/grid/tria.h>
36 
37 DEAL_II_NAMESPACE_OPEN
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 
101 DEAL_II_NAMESPACE_CLOSE
102 
103 #endif
104 #endif
void create_triangulation_from_boundary_curve(const TopoDS_Edge &boundary, Triangulation< 2, spacedim > &tria, const AdditionalParameters &prm=AdditionalParameters())
Definition: utilities.cc:56
void add_parameters(ParameterHandler &prm)
Definition: utilities.cc:41
std::string output_base_name
Definition: utilities.h:80
Definition: utilities.h:44
AdditionalParameters(const double characteristic_length=1.0, const std::string &output_base_name="")
Definition: utilities.cc:31