Reference documentation for deal.II version 9.6.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\}}\)
Loading...
Searching...
No Matches
utilities.h
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2018 - 2023 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Part of the source code is dual licensed under Apache-2.0 WITH
9// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10// governing the source code and code contributions can be found in
11// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12//
13// ------------------------------------------------------------------------
14
15
16#ifndef dealii_gmsh_parameters_h
17#define dealii_gmsh_parameters_h
18
19#include <deal.II/base/config.h>
20
21#ifdef DEAL_II_WITH_GMSH
22
23# ifdef DEAL_II_WITH_OPENCASCADE
24# include <TopoDS_CompSolid.hxx>
25# include <TopoDS_Compound.hxx>
26# include <TopoDS_Edge.hxx>
27# include <TopoDS_Face.hxx>
28# include <TopoDS_Shape.hxx>
29# include <TopoDS_Vertex.hxx>
30# endif
31
32# include <deal.II/grid/tria.h>
33
35
36# ifndef DOXYGEN
38# endif
39
43namespace Gmsh
44{
49 {
50 public:
55 const std::string &output_base_name = "");
56
60 void
62
70
80 std::string output_base_name = {};
81 };
82
83# ifdef DEAL_II_WITH_OPENCASCADE
90 template <int spacedim>
91 void
93 const TopoDS_Edge &boundary,
95 const AdditionalParameters &prm = AdditionalParameters());
96# endif
97} // namespace Gmsh
98
100
101#endif
102#endif
void add_parameters(ParameterHandler &prm)
Definition utilities.cc:42
std::string output_base_name
Definition utilities.h:80
AdditionalParameters(const double characteristic_length=1.0, const std::string &output_base_name="")
Definition utilities.cc:32
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:503
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:504
void create_triangulation_from_boundary_curve(const TopoDS_Edge &boundary, Triangulation< 2, spacedim > &tria, const AdditionalParameters &prm=AdditionalParameters())
Definition utilities.cc:57