Reference documentation for deal.II version 9.1.1
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
deal.II
gmsh
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
{
51
class
AdditionalParameters
52
{
53
public
:
57
AdditionalParameters
(
const
double
characteristic_length
= 1.0,
58
const
std::string &
output_base_name
=
""
);
59
63
void
64
add_parameters
(
ParameterHandler
&prm);
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
94
create_triangulation_from_boundary_curve
(
95
const
TopoDS_Edge & boundary,
96
Triangulation<2, spacedim>
&tria,
97
const
AdditionalParameters
&prm =
AdditionalParameters
());
98
# endif
99
}
// namespace Gmsh
100
101
DEAL_II_NAMESPACE_CLOSE
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:
dof_handler.h:50
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
Gmsh::AdditionalParameters::add_parameters
void add_parameters(ParameterHandler &prm)
Definition:
utilities.cc:41
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:844
Generated by
1.8.16