deal.II version 9.7.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
surface_mesh.h
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2022 - 2025 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#ifndef dealii_cgal_surface_mesh_h
16#define dealii_cgal_surface_mesh_h
17
18#include <deal.II/base/config.h>
19
20#include <deal.II/fe/mapping.h>
21
22#include <deal.II/grid/tria.h>
23
24
25#ifdef DEAL_II_WITH_CGAL
27
28# include <CGAL/version.h>
29# if CGAL_VERSION_MAJOR >= 6
30# include <CGAL/Installation/internal/disable_deprecation_warnings_and_errors.h>
31# endif
32# include <CGAL/Polygon_mesh_processing/stitch_borders.h>
33# include <CGAL/Surface_mesh.h>
34
35
37
38namespace CGALWrappers
39{
69 template <typename CGALPointType, int dim, int spacedim>
70 void
72 const typename ::Triangulation<dim, spacedim>::cell_iterator &cell,
73 const ::Mapping<dim, spacedim> &mapping,
74 CGAL::Surface_mesh<CGALPointType> &mesh);
75
90 template <typename CGALPointType, int dim, int spacedim>
91 void
93 const ::Triangulation<dim, spacedim> &triangulation,
94 CGAL::Surface_mesh<CGALPointType> &mesh);
95} // namespace CGALWrappers
96
97
98
100
101#else
102
103// Make sure the scripts that create the C++20 module input files have
104// something to latch on if the preprocessor #ifdef above would
105// otherwise lead to an empty content of the file.
108
109#endif
110#endif
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:40
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:41
MappingQ< dim, spacedim > StaticMappingQ1< dim, spacedim >::mapping
Definition mapping_q1.h:104
void dealii_tria_to_cgal_surface_mesh(const ::Triangulation< dim, spacedim > &triangulation, CGAL::Surface_mesh< CGALPointType > &mesh)
void dealii_cell_to_cgal_surface_mesh(const typename ::Triangulation< dim, spacedim >::cell_iterator &cell, const ::Mapping< dim, spacedim > &mapping, CGAL::Surface_mesh< CGALPointType > &mesh)