Reference documentation for deal.II version 9.4.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
42namespace Gmsh
43{
48 {
49 public:
54 const std::string &output_base_name = "");
55
59 void
61
69
76 std::string output_base_name = "";
77 };
78
79# ifdef DEAL_II_WITH_OPENCASCADE
86 template <int spacedim>
87 void
89 const TopoDS_Edge & boundary,
92# endif
93} // namespace Gmsh
94
96
97#endif
98#endif
void add_parameters(ParameterHandler &prm)
Definition: utilities.cc:41
std::string output_base_name
Definition: utilities.h:76
AdditionalParameters(const double characteristic_length=1.0, const std::string &output_base_name="")
Definition: utilities.cc:31
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:442
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:443
Definition: utilities.h:43
void create_triangulation_from_boundary_curve(const TopoDS_Edge &boundary, Triangulation< 2, spacedim > &tria, const AdditionalParameters &prm=AdditionalParameters())
Definition: utilities.cc:56
const ::Triangulation< dim, spacedim > & tria